summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-08-31 08:19:01 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-08-31 08:19:01 +0000
commit2b422c372ee109303984ca8bac6f5ea3d5976dc0 (patch)
tree6e2d247d164efc18a6bedb5b0c162c3471bab6f6 /lib/Nagios/Plugin
parenta70a6ff5acf2a2b252328427293801ce0ff42888 (diff)
downloadmonitoring-plugin-perl-2b422c372ee109303984ca8bac6f5ea3d5976dc0.tar.gz
Consistent version numbers across all modules. Inherited from Nagios::Plugin::Base
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1471 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/Nagios/Plugin')
-rw-r--r--lib/Nagios/Plugin/Base.pm3
-rw-r--r--lib/Nagios/Plugin/Getopt.pm3
-rw-r--r--lib/Nagios/Plugin/Performance.pm4
-rw-r--r--lib/Nagios/Plugin/Range.pm4
-rw-r--r--lib/Nagios/Plugin/Threshold.pm3
5 files changed, 8 insertions, 9 deletions
diff --git a/lib/Nagios/Plugin/Base.pm b/lib/Nagios/Plugin/Base.pm
index d1678a5..c2e9902 100644
--- a/lib/Nagios/Plugin/Base.pm
+++ b/lib/Nagios/Plugin/Base.pm
@@ -5,8 +5,7 @@ package Nagios::Plugin::Base;
5use strict; 5use strict;
6use warnings; 6use warnings;
7 7
8use Nagios::Plugin; 8our $VERSION = "0.13";
9our ($VERSION) = $Nagios::Plugin::VERSION;
10 9
11use Exporter; 10use Exporter;
12our @ISA = qw(Exporter); 11our @ISA = qw(Exporter);
diff --git a/lib/Nagios/Plugin/Getopt.pm b/lib/Nagios/Plugin/Getopt.pm
index dedf92c..d291b2f 100644
--- a/lib/Nagios/Plugin/Getopt.pm
+++ b/lib/Nagios/Plugin/Getopt.pm
@@ -13,8 +13,9 @@ use Carp;
13use Params::Validate qw(:all); 13use Params::Validate qw(:all);
14use base qw(Class::Accessor); 14use base qw(Class::Accessor);
15 15
16use Nagios::Plugin::Base;
16use vars qw($VERSION); 17use vars qw($VERSION);
17$VERSION = '0.02'; 18$VERSION = $Nagios::Plugin::Base::VERSION;
18 19
19# Standard defaults 20# Standard defaults
20my %DEFAULT = ( 21my %DEFAULT = (
diff --git a/lib/Nagios/Plugin/Performance.pm b/lib/Nagios/Plugin/Performance.pm
index 2af22bd..83c92fb 100644
--- a/lib/Nagios/Plugin/Performance.pm
+++ b/lib/Nagios/Plugin/Performance.pm
@@ -7,8 +7,8 @@ use warnings;
7 7
8use Carp; 8use Carp;
9use Nagios::Plugin::Threshold; 9use Nagios::Plugin::Threshold;
10use Nagios::Plugin; 10use Nagios::Plugin::Base;
11our ($VERSION) = $Nagios::Plugin::VERSION; 11our ($VERSION) = $Nagios::Plugin::Base::VERSION;
12 12
13use Class::Struct; 13use Class::Struct;
14struct "Nagios::Plugin::Performance" => { 14struct "Nagios::Plugin::Performance" => {
diff --git a/lib/Nagios/Plugin/Range.pm b/lib/Nagios/Plugin/Range.pm
index c0c47e4..b17cc96 100644
--- a/lib/Nagios/Plugin/Range.pm
+++ b/lib/Nagios/Plugin/Range.pm
@@ -6,8 +6,8 @@ use strict;
6use warnings; 6use warnings;
7use Carp; 7use Carp;
8 8
9use Nagios::Plugin; 9use Nagios::Plugin::Base;
10our ($VERSION) = $Nagios::Plugin::VERSION; 10our ($VERSION) = $Nagios::Plugin::Base::VERSION;
11 11
12use overload 12use overload
13 '""' => sub { shift->stringify }; 13 '""' => sub { shift->stringify };
diff --git a/lib/Nagios/Plugin/Threshold.pm b/lib/Nagios/Plugin/Threshold.pm
index 494383f..f3410e8 100644
--- a/lib/Nagios/Plugin/Threshold.pm
+++ b/lib/Nagios/Plugin/Threshold.pm
@@ -7,8 +7,7 @@ use warnings;
7 7
8use Nagios::Plugin::Range; 8use Nagios::Plugin::Range;
9use Nagios::Plugin::Base; 9use Nagios::Plugin::Base;
10use Nagios::Plugin; 10our ($VERSION) = $Nagios::Plugin::Base::VERSION;
11our ($VERSION) = $Nagios::Plugin::VERSION;
12 11
13use Class::Struct; 12use Class::Struct;
14struct "Nagios::Plugin::Threshold" => { 13struct "Nagios::Plugin::Threshold" => {