packages: nagios-ocpd/ocpd.pl - document -l option

glen glen at pld-linux.org
Tue Jun 26 11:05:06 CEST 2012


Author: glen                         Date: Tue Jun 26 09:05:06 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- document -l option

---- Files affected:
packages/nagios-ocpd:
   ocpd.pl (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/nagios-ocpd/ocpd.pl
diff -u packages/nagios-ocpd/ocpd.pl:1.3 packages/nagios-ocpd/ocpd.pl:1.4
--- packages/nagios-ocpd/ocpd.pl:1.3	Tue Jun 26 10:57:04 2012
+++ packages/nagios-ocpd/ocpd.pl	Tue Jun 26 11:05:01 2012
@@ -215,7 +215,7 @@
   print "Usage:\n";
   print "  $PROGNAME -f <fifo>[,<fifo2>[,<fifoN>...]] -H <nsca_host> [ -n <nsca_bin> ]\n";
   print "  [ -p <nsca_port> ] [ -t <nsca_timeout> ] [ -c <nsca_config> ]\n";
-  print "  [ -r <reaper_delay> ] [ -m <max_queue> ]\n\n";
+  print "  [ -r <reaper_delay> ] [ -l <file>] [ -m <max_queue> ]\n\n";
 
   print "Options:\n";
   print "  -f <fifo>\tComma-separated list of fifo files to read from\n";
@@ -229,6 +229,8 @@
   print "  -r <seconds>\tHow long to wait between each nsca flushes\n";
   print "\t\t0 = as data arrive. Default: 1 second\n";
   print "\t\tWARNING: Setting this to 0 can be very resource-consuming!\n\n";
+
+  print "  -l <file>\tLog commands that would be written to nsca to <file>\n\n";
 
   print "  -m <slots>\tMax queue size if reaper_delay is greater than 0\n";
   print "\t\tA flush will be forced if the queue reach this size\n\n";
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/nagios-ocpd/ocpd.pl?r1=1.3&r2=1.4



More information about the pld-cvs-commit mailing list