[Nagiosplug-checkins] Nagios-Plugin/t/npg03 plugins.ini, NONE, 1.1 README, 1.1, 1.2 plugins.cfg, 1.1, NONE

Gavin Carr gonzai at users.sourceforge.net
Wed Mar 21 01:52:55 CET 2007


Update of /cvsroot/nagiosplug/Nagios-Plugin/t/npg03
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv11948/t/npg03

Modified Files:
	README 
Added Files:
	plugins.ini 
Removed Files:
	plugins.cfg 
Log Message:
Finished initial --extra-opts support; added Getopt spec-to-help and multiline help support.

Index: README
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/t/npg03/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README	8 Feb 2007 05:18:05 -0000	1.1
+++ README	21 Mar 2007 00:52:52 -0000	1.2
@@ -1,13 +1,15 @@
-Nagios-Plugin-Getopt-03.t automatically tests all cases defined in the 'input' directory
-and expects the output to match the corresponding file in the 'expected' directory. To
-define a new test case, just create a new file in the 'input' directory containing the
-input command line, and a corresponding file in the 'expected' directory containing
-what you think the expanded command line should be. Note that this expansion is normalised
-as follows:
+Nagios-Plugin-Getopt-03.t automatically tests all cases defined in 
+the 'input' directory and expects the output to match the 
+corresponding file in the 'expected' directory. To define a new test 
+case, just create a new file in the 'input' directory containing the 
+input command line, and a corresponding file in the 'expected' 
+directory containing what you think the expanded command line should 
+be. Note that this expansion is normalised as follows:
 
 - command line arguments are reported in alphabetical order
 - extraneous white space is removed
 
-Also, if you use a completely new argument than those defined in Nagios-Plugin-Getopt-03.t
-you will need to define it there as well.
+Also, if you use a completely new argument than those currently 
+defined in Nagios-Plugin-Getopt-03.t you will need to define it 
+there as well.
 

--- plugins.cfg DELETED ---

--- NEW FILE: plugins.ini ---
[check_mysql]
username=tonvoon
password=secret

[more_options]
username=altinity
warning=10
critical=15

[check_disk]
p=/tmp

[check_2_disks]
p=/tmp
p=/var

[check_2_disks_reprise]
p=/var
p=/tmp

[check_disk2]
path=/var
path=/home
units=GB

[funny_stuff]
username="Ton Voon"
p=
expect=" space in front"






More information about the Commits mailing list