diff options
Diffstat (limited to 'lib/Nagios/Plugin')
-rw-r--r-- | lib/Nagios/Plugin/Getopt.pm | 4 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Performance.pm | 4 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Threshold.pm | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm index 1903e8c..d38dced 100644 --- a/lib/Nagios/Plugin/Getopt.pm +++ b/lib/Nagios/Plugin/Getopt.pm | |||
@@ -296,9 +296,7 @@ __END__ | |||
296 | 296 | ||
297 | =head1 NAME | 297 | =head1 NAME |
298 | 298 | ||
299 | Nagios::Plugin::Getopt - OO perl module providing standardised argument | 299 | Nagios::Plugin::Getopt - OO perl module providing standardised argument processing for Nagios plugins |
300 | processing for Nagios plugins | ||
301 | |||
302 | 300 | ||
303 | =head1 VERSION | 301 | =head1 VERSION |
304 | 302 | ||
diff --git a/lib/Nagios/Plugin/Performance.pm b/lib/Nagios/Plugin/Performance.pm index 83c92fb..9e99f54 100644 --- a/lib/Nagios/Plugin/Performance.pm +++ b/lib/Nagios/Plugin/Performance.pm | |||
@@ -106,8 +106,12 @@ Once the performance string has been parsed, you can query the label, value, uom | |||
106 | Returns an array of Nagios::Plugin::Performance objects based on the string entered. | 106 | Returns an array of Nagios::Plugin::Performance objects based on the string entered. |
107 | If there is an error parsing the string, an empty array is returned. | 107 | If there is an error parsing the string, an empty array is returned. |
108 | 108 | ||
109 | =back | ||
110 | |||
109 | =head1 OBJECT METHODS | 111 | =head1 OBJECT METHODS |
110 | 112 | ||
113 | =over 4 | ||
114 | |||
111 | =item label, value, uom, min, max | 115 | =item label, value, uom, min, max |
112 | 116 | ||
113 | These all return scalars. min and max are not well supported yet. | 117 | These all return scalars. min and max are not well supported yet. |
diff --git a/lib/Nagios/Plugin/Threshold.pm b/lib/Nagios/Plugin/Threshold.pm index f3410e8..9e7b938 100644 --- a/lib/Nagios/Plugin/Threshold.pm +++ b/lib/Nagios/Plugin/Threshold.pm | |||
@@ -83,6 +83,8 @@ Returns the warning or critical range as a Nagios::Plugin::Range object. | |||
83 | 83 | ||
84 | Given a value, will see if the value breeches the critical or the warning range. Returns the status code. | 84 | Given a value, will see if the value breeches the critical or the warning range. Returns the status code. |
85 | 85 | ||
86 | =back | ||
87 | |||
86 | =head1 AUTHOR | 88 | =head1 AUTHOR |
87 | 89 | ||
88 | Ton Voon, E<lt>ton.voon@altinity.comE<gt> | 90 | Ton Voon, E<lt>ton.voon@altinity.comE<gt> |