summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Nagios/Plugin')
-rw-r--r--lib/Nagios/Plugin/Getopt.pm4
-rw-r--r--lib/Nagios/Plugin/Performance.pm4
-rw-r--r--lib/Nagios/Plugin/Threshold.pm2
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
299Nagios::Plugin::Getopt - OO perl module providing standardised argument 299Nagios::Plugin::Getopt - OO perl module providing standardised argument processing for Nagios plugins
300processing 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
106Returns an array of Nagios::Plugin::Performance objects based on the string entered. 106Returns an array of Nagios::Plugin::Performance objects based on the string entered.
107If there is an error parsing the string, an empty array is returned. 107If 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
113These all return scalars. min and max are not well supported yet. 117These 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
84Given a value, will see if the value breeches the critical or the warning range. Returns the status code. 84Given 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
88Ton Voon, E<lt>ton.voon@altinity.comE<gt> 90Ton Voon, E<lt>ton.voon@altinity.comE<gt>