diff options
-rw-r--r-- | Changes | 7 | ||||
-rw-r--r-- | META.yml | 8 | ||||
-rw-r--r-- | lib/Nagios/Plugin.pm | 3 | ||||
-rw-r--r-- | lib/Nagios/Plugin/Functions.pm | 3 |
4 files changed, 15 insertions, 6 deletions
@@ -1,8 +1,11 @@ | |||
1 | Revision history for Perl module Nagios::Plugin. | 1 | Revision history for Perl module Nagios::Plugin. |
2 | 2 | ||
3 | 0.13 ??? | 3 | 0.14 18th October 2006 |
4 | - Fixed version number due to CPAN upload | ||
5 | |||
6 | 0.13 18th October 2006 | ||
4 | - Lots of extra tests and fixes from Nathan Vonnahme | 7 | - Lots of extra tests and fixes from Nathan Vonnahme |
5 | - Nagios::Plugin::Getopt added by Gavin Carr | 8 | - Nagios::Plugin::Getopt, Functions and ExitResult added by Gavin Carr |
6 | 9 | ||
7 | 0.12 15th June 2006 | 10 | 0.12 15th June 2006 |
8 | - rrdlabel method available to get a performance label, | 11 | - rrdlabel method available to get a performance label, |
@@ -1,11 +1,15 @@ | |||
1 | # http://module-build.sourceforge.net/META-spec.html | 1 | # http://module-build.sourceforge.net/META-spec.html |
2 | #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# | 2 | #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# |
3 | name: Nagios-Plugin | 3 | name: Nagios-Plugin |
4 | version: 0.13 | 4 | version: 0.14 |
5 | version_from: lib/Nagios/Plugin/Base.pm | 5 | version_from: lib/Nagios/Plugin/Functions.pm |
6 | installdirs: site | 6 | installdirs: site |
7 | requires: | 7 | requires: |
8 | Carp: 0 | ||
9 | Class::Accessor: 0.22 | ||
10 | Class::Struct: 0 | ||
8 | Params::Validate: 0.24 | 11 | Params::Validate: 0.24 |
12 | Test::More: 0.62 | ||
9 | 13 | ||
10 | distribution_type: module | 14 | distribution_type: module |
11 | generated_by: ExtUtils::MakeMaker version 6.17 | 15 | generated_by: ExtUtils::MakeMaker version 6.17 |
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index 29b79b9..71d12ed 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm | |||
@@ -23,7 +23,8 @@ our @ISA = qw(Exporter Nagios::__::Plugin); | |||
23 | our @EXPORT = (@STATUS_CODES); | 23 | our @EXPORT = (@STATUS_CODES); |
24 | our @EXPORT_OK = qw(%ERRORS); | 24 | our @EXPORT_OK = qw(%ERRORS); |
25 | 25 | ||
26 | our $VERSION = $Nagios::Plugin::Functions::VERSION; | 26 | # Remember to update Nagios::Plugin::Functions as well! |
27 | our $VERSION = "0.14"; | ||
27 | 28 | ||
28 | sub add_perfdata { | 29 | sub add_perfdata { |
29 | my ($self, %args) = @_; | 30 | my ($self, %args) = @_; |
diff --git a/lib/Nagios/Plugin/Functions.pm b/lib/Nagios/Plugin/Functions.pm index 4e099c2..5772c97 100644 --- a/lib/Nagios/Plugin/Functions.pm +++ b/lib/Nagios/Plugin/Functions.pm | |||
@@ -10,7 +10,8 @@ use warnings; | |||
10 | use File::Basename; | 10 | use File::Basename; |
11 | use Params::Validate qw(validate :types); | 11 | use Params::Validate qw(validate :types); |
12 | 12 | ||
13 | our $VERSION = "0.13"; | 13 | # Remember to update Nagios::Plugins as well |
14 | our $VERSION = "0.14"; | ||
14 | 15 | ||
15 | our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); | 16 | our @STATUS_CODES = qw(OK WARNING CRITICAL UNKNOWN DEPENDENT); |
16 | 17 | ||