Update of /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios/Plugin
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10810/lib/Nagios/Plugin
Modified Files:
Getopt.pm Performance.pm Threshold.pm
Log Message:
adding example script and test for it, and fixing POD according to warnings
from POD::Checker
Index: Performance.pm
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios/Plugin/Performance.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Performance.pm 31 Aug 2006 08:19:01 -0000 1.5
+++ Performance.pm 7 Sep 2006 00:53:51 -0000 1.6
@@ -106,8 +106,12 @@
Returns an array of Nagios::Plugin::Performance objects based on the string
entered.
If there is an error parsing the string, an empty array is returned.
+=back
+
=head1 OBJECT METHODS
+=over 4
+
=item label, value, uom, min, max
These all return scalars. min and max are not well supported yet.
Index: Threshold.pm
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios/Plugin/Threshold.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Threshold.pm 31 Aug 2006 08:19:01 -0000 1.4
+++ Threshold.pm 7 Sep 2006 00:53:51 -0000 1.5
@@ -83,6 +83,8 @@
Given a value, will see if the value breeches the critical or the warning
range. Returns the status code.
+=back
+
=head1 AUTHOR
Ton Voon, E<lt>ton.voon@xxxxxxxxxxxxx<gt>
Index: Getopt.pm
===================================================================
RCS file: /cvsroot/nagiosplug/Nagios-Plugin/lib/Nagios/Plugin/Getopt.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Getopt.pm 31 Aug 2006 08:34:24 -0000 1.3
+++ Getopt.pm 7 Sep 2006 00:53:51 -0000 1.4
@@ -296,9 +296,7 @@
=head1 NAME
-Nagios::Plugin::Getopt - OO perl module providing standardised argument
-processing for Nagios plugins
-
+Nagios::Plugin::Getopt - OO perl module providing standardised argument
processing for Nagios plugins
=head1 VERSION
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|