[Nagiosplug-checkins] CVS: nagiosplug/plugins check_by_ssh.c,1.19,1.20

Karl DeBisschop kdebisschop at users.sourceforge.net
Fri Apr 2 11:50:02 CEST 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26022/plugins

Modified Files:
	check_by_ssh.c 
Log Message:
add example invocation to help

Index: check_by_ssh.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_by_ssh.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** check_by_ssh.c	21 Feb 2004 05:37:34 -0000	1.19
--- check_by_ssh.c	2 Apr 2004 19:37:03 -0000	1.20
***************
*** 405,408 ****
--- 405,416 ----
  options)\n"));
  
+ 	printf (_("\n\
+ $ check_by_ssh -H localhost -n lh -s c1:c2:c3 \\\n\
+     -C uptime -C uptime -C uptime -O /tmp/foo\n\
+ $ cat /tmp/foo\n\
+ [1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c1;0; up 2 days...\n\
+ [1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c2;0; up 2 days...\n\
+ [1080933700] PROCESS_SERVICE_CHECK_RESULT;flint;c3;0; up 2 days...\n"));
+ 
  	printf (_(UT_SUPPORT));
  }





More information about the Commits mailing list