diff options
author | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-26 01:10:23 +0000 |
---|---|---|
committer | Gavin Carr <gonzai@users.sourceforge.net> | 2006-09-26 01:10:23 +0000 |
commit | e548a22a92b3aa345f4a952fddb39cc693c35a70 (patch) | |
tree | 606e3872d3070a90b5fa9881303eddb59efc8bbd /lib/Nagios/Plugin.pm | |
parent | d8f912e8f5abb1476366cfea6e0fb368a9669ec4 (diff) | |
download | monitoring-plugin-perl-e548a22a92b3aa345f4a952fddb39cc693c35a70.tar.gz |
Rename NP::Base to NP::Functions; add check_messages() to NP::Functions.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1482 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/Nagios/Plugin.pm')
-rw-r--r-- | lib/Nagios/Plugin.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Nagios/Plugin.pm b/lib/Nagios/Plugin.pm index 41bff91..5ff6709 100644 --- a/lib/Nagios/Plugin.pm +++ b/lib/Nagios/Plugin.pm | |||
@@ -11,7 +11,7 @@ struct "Nagios::__::Plugin" => { | |||
11 | 11 | ||
12 | package Nagios::Plugin; | 12 | package Nagios::Plugin; |
13 | 13 | ||
14 | use Nagios::Plugin::Base; | 14 | use Nagios::Plugin::Functions; |
15 | use Nagios::Plugin::Performance; | 15 | use Nagios::Plugin::Performance; |
16 | use Nagios::Plugin::Threshold; | 16 | use Nagios::Plugin::Threshold; |
17 | 17 | ||
@@ -24,7 +24,7 @@ use Exporter; | |||
24 | our @ISA = qw(Exporter Nagios::__::Plugin); | 24 | our @ISA = qw(Exporter Nagios::__::Plugin); |
25 | our @EXPORT_OK = qw(%ERRORS); | 25 | our @EXPORT_OK = qw(%ERRORS); |
26 | 26 | ||
27 | our $VERSION = $Nagios::Plugin::Base::VERSION; | 27 | our $VERSION = $Nagios::Plugin::Functions::VERSION; |
28 | 28 | ||
29 | sub add_perfdata { | 29 | sub add_perfdata { |
30 | my ($self, %args) = @_; | 30 | my ($self, %args) = @_; |
@@ -41,7 +41,7 @@ sub set_thresholds { shift; Nagios::Plugin::Threshold->set_thresholds(@_); } | |||
41 | 41 | ||
42 | sub die { | 42 | sub die { |
43 | my $self = shift; | 43 | my $self = shift; |
44 | Nagios::Plugin::Base::die(@_, { plugin => $self }); | 44 | Nagios::Plugin::Functions::die(@_, { plugin => $self }); |
45 | } | 45 | } |
46 | 46 | ||
47 | 1; | 47 | 1; |