summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b699c20)
raw | patch | inline | side by side (parent: b699c20)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 24 Oct 2006 09:48:26 +0000 (09:48 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 24 Oct 2006 09:48:26 +0000 (09:48 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1522 f882894a-f735-0410-b71e-b25c423dba1c
plugins-root/Makefile.am | patch | blob | history | |
plugins-root/check_icmp.c | patch | blob | history |
index 5a2af85b2bb3c5f1e079c14677c2cbbe4a5d1a73..8d33b4884dd2b5ef0fcf27f498d08535abd016fd 100644 (file)
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
##############################################################################
# the actual targets
check_dhcp_LDADD = $(NETLIBS)
-check_icmp_LDADD = $(SOCKETLIBS)
+check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
pst3_LDADD = -lkvm
check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS)
-check_icmp_DEPENDENCIES = check_icmp.c
+check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS)
index 306113b51869b355755e7c294e12eeb2c95c610e..c4f6739ec2afd408326287ee48a7969843a1291e 100644 (file)
*
*****************************************************************************/
-/* progname may be check_ldaps */
-//char *progname = "check_ldap";
+/* progname may change */
+/* char *progname = "check_icmp"; */
+char *progname;
const char *revision = "$Revision$";
const char *copyright = "2005-2006";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
extern char **environ;
/** global variables **/
-static char *progname;
static struct rta_host **table, *cursor, *list;
static threshold crit = {80, 500000}, warn = {40, 200000};
static int mode, protocols, sockets, debug = 0, timeout = 10;