summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
AgeCommit message (Collapse)AuthorFilesLines
2003-08-07markup for translationKarl DeBisschop1-140/+125
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@654 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-30Corrections to get code to compile on systems without IPv6 supportJeremy T. Bouse1-0/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@574 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-29Changed usage output to show -4 and -6 are mutually exclusive. You can onlyJeremy T. Bouse1-1/+1
use one or the other but not both. The last one used will win out. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@570 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-29check_ping is now coded with -4 & -6 options to call PING or PING6 commandJeremy T. Bouse1-4/+17
netutils modified to verify hosts based on address_family setting when used with -4 or -6 options. is_inet_addr() will not be tested if -6 is used and is_inet6_addr() will not be tested if -4 is used. Also the is_hostname() will use the address_family value to resolve hostnames only if IPv6 support is available otherwise defaults to AF_INET. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@569 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-07Modified check_ping to handle IPv6 as well as IPv4 ICMP checks using theJeremy T. Bouse1-3/+17
PING6_COMMAND determined during the configure script execution. As USE_IPV6 may be defined and PING6_COMMAND is not defined if there is not IPv6 TCP stack available when configure is run I condition it off PING6_COMMAND existing to remove build errors for being undefined. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@500 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11Remove getopt_long checksTon Voon1-14/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@396 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-03accept comma-delimted list of hosts for checking if a multihomed host is aliveKarl DeBisschop1-21/+38
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@362 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-02add logic to check multiple serversKarl DeBisschop1-45/+60
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@361 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13convert PROGANE from a define to a const charKarl DeBisschop1-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-13remove call_getopt and asprintfKarl DeBisschop1-4/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-09remove call_getoptKarl DeBisschop1-1/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@181 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-09define and use usage3 where second part of message is a an int/charKarl DeBisschop1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-08remove unused variablesKarl DeBisschop1-6/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@173 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-18remove broken call_getopt stuffKarl DeBisschop1-108/+96
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@136 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-19more POSIX return value comparison related code fixesSubhendu Ghosh1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@55 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-19fixes for using POSIX return codesSubhendu Ghosh1-6/+24
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@54 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-08 patch for Suse 8.0 loss outputSubhendu Ghosh1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-23corrected program name and added rtt patch for RH7.2+betaSubhendu Ghosh1-8/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@17 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28Initial revisionEthan Galstad1-0/+492
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c