[Nagiosplug-checkins] CVS: nagiosplug/plugins check_ping.c,1.16,1.17 check_tcp.c,1.24,1.25

Jeremy T. Bouse undrgrid at users.sourceforge.net
Sun Jun 29 12:23:07 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv11189/plugins

Modified Files:
	check_ping.c check_tcp.c 
Log Message:
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.


Index: check_ping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ping.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** check_ping.c	29 Jun 2003 19:17:27 -0000	1.16
--- check_ping.c	29 Jun 2003 19:22:26 -0000	1.17
***************
*** 20,24 ****
  #define OPTIONS "\
  -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
!        [-p packets] [-t timeout] [-L] [-4] [-6]\n"
  
  #define LONGOPTIONS "\
--- 20,24 ----
  #define OPTIONS "\
  -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
!        [-p packets] [-t timeout] [-L] [-4|-6]\n"
  
  #define LONGOPTIONS "\

Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** check_tcp.c	29 Jun 2003 06:36:55 -0000	1.24
--- check_tcp.c	29 Jun 2003 19:22:26 -0000	1.25
***************
*** 30,34 ****
  -H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n\
  	[-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n\
! 	[-t to_sec] [-r refuse_state] [-v] [-4] [-6]\n";
  
  const char *options = "\
--- 30,34 ----
  -H host -p port [-w warn_time] [-c crit_time] [-s send_string]\n\
  	[-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]\n\
! 	[-t to_sec] [-r refuse_state] [-v] [-4|-6]\n";
  
  const char *options = "\





More information about the Commits mailing list