summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/Makefile.am4
-rw-r--r--plugins-root/check_icmp.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index 5a2af85..8d33b48 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -67,8 +67,8 @@ install-exec-local: $(noinst_PROGRAMS)
67############################################################################## 67##############################################################################
68# the actual targets 68# the actual targets
69check_dhcp_LDADD = $(NETLIBS) 69check_dhcp_LDADD = $(NETLIBS)
70check_icmp_LDADD = $(SOCKETLIBS) 70check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
71pst3_LDADD = -lkvm 71pst3_LDADD = -lkvm
72 72
73check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS) 73check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS)
74check_icmp_DEPENDENCIES = check_icmp.c 74check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS)
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 306113b..c4f6739 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -42,8 +42,9 @@
42* 42*
43*****************************************************************************/ 43*****************************************************************************/
44 44
45/* progname may be check_ldaps */ 45/* progname may change */
46//char *progname = "check_ldap"; 46/* char *progname = "check_icmp"; */
47char *progname;
47const char *revision = "$Revision$"; 48const char *revision = "$Revision$";
48const char *copyright = "2005-2006"; 49const char *copyright = "2005-2006";
49const char *email = "nagiosplug-devel@lists.sourceforge.net"; 50const char *email = "nagiosplug-devel@lists.sourceforge.net";
@@ -195,7 +196,6 @@ extern char *optarg;
195extern char **environ; 196extern char **environ;
196 197
197/** global variables **/ 198/** global variables **/
198static char *progname;
199static struct rta_host **table, *cursor, *list; 199static struct rta_host **table, *cursor, *list;
200static threshold crit = {80, 500000}, warn = {40, 200000}; 200static threshold crit = {80, 500000}, warn = {40, 200000};
201static int mode, protocols, sockets, debug = 0, timeout = 10; 201static int mode, protocols, sockets, debug = 0, timeout = 10;