* NSM for Linux.
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sm_inter.h"
#include "system.h"
#include "log.h"
extern int run_mode;
#define MODE_NODAEMON 1 /* No-daemon/foreground mode. */
#define MODE_LOG_STDERR 2 /* in foreground mode, log to stderr */
-/*#define MODE_NOTIFY_ONLY 4*/ /* Send SM_NOTIFY to everyone monitored on
+#define MODE_NOTIFY_ONLY 4 /* Send SM_NOTIFY to everyone monitored on
a single interface/alias */
/* LH - notify_only mode would be for notifying hosts on an IP alias
* that just came back up, for ex, when failing over a HA service to
* another host.... */
+#define STATIC_HOSTNAME 8 /* Always use the hostname set by -n */
/*
* Program name and version pointers -- See statd.c for the reasoning
* as to why they're global.
*/
extern char *name_p; /* program basename */
-extern char *version_p; /* program version */
+extern const char *version_p; /* program version */
+
+extern int re_notify; /* time to re-read notify list */