Jeremy T. Bouse
97634d8fc6
Corrections to get code to compile on systems without IPv6 support
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@574 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-30 18:52:38 +00:00
Jeremy T. Bouse
58f124b803
Changed usage output to show -4 and -6 are mutually exclusive. You can only
...
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-29 19:22:26 +00:00
Jeremy T. Bouse
825a7322b1
check_ping is now coded with -4 & -6 options to call PING or PING6 command
...
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-06-29 19:17:27 +00:00
Jeremy T. Bouse
6882b54364
Modified check_ping to handle IPv6 as well as IPv4 ICMP checks using the
...
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-05-07 18:01:32 +00:00
Ton Voon
7283211f00
Remove getopt_long checks
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@396 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 22:22:12 +00:00
Karl DeBisschop
9ab752c789
accept comma-delimted list of hosts for checking if a multihomed host is alive
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@362 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-03 03:49:40 +00:00
Karl DeBisschop
2789d11698
add logic to check multiple servers
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@361 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-02 06:01:18 +00:00
Karl DeBisschop
0c3386274e
convert PROGANE from a define to a const char
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13 12:15:16 +00:00
Karl DeBisschop
9e009c4b11
remove call_getopt and asprintf
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-13 11:50:54 +00:00
Karl DeBisschop
6fa04c4a49
remove call_getopt
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@181 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-09 04:22:22 +00:00
Karl DeBisschop
731426203c
define and use usage3 where second part of message is a an int/char
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-09 03:39:35 +00:00
Karl DeBisschop
34ba941736
remove unused variables
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@173 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-08 07:18:49 +00:00
Karl DeBisschop
1fb42320aa
remove broken call_getopt stuff
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@136 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-18 03:45:02 +00:00
Subhendu Ghosh
f4c6f7f093
more POSIX return value comparison related code fixes
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@55 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-19 05:11:52 +00:00
Subhendu Ghosh
d36016a7ad
fixes for using POSIX return codes
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@54 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-19 03:09:10 +00:00
Subhendu Ghosh
94a0d099c2
patch for Suse 8.0 loss output
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-08 15:35:37 +00:00
Subhendu Ghosh
288f40a0bb
corrected program name and added rtt patch for RH7.2+beta
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@17 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-23 12:50:51 +00:00
Ethan Galstad
44a321cb8a
Initial revision
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28 06:42:51 +00:00