summaryrefslogtreecommitdiffstats
path: root/lib/Nagios/Plugin.pm
diff options
context:
space:
mode:
authorGavin Carr <gonzai@users.sourceforge.net>2006-09-26 01:10:23 +0000
committerGavin Carr <gonzai@users.sourceforge.net>2006-09-26 01:10:23 +0000
commite548a22a92b3aa345f4a952fddb39cc693c35a70 (patch)
tree606e3872d3070a90b5fa9881303eddb59efc8bbd /lib/Nagios/Plugin.pm
parentd8f912e8f5abb1476366cfea6e0fb368a9669ec4 (diff)
downloadmonitoring-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.pm6
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
12package Nagios::Plugin; 12package Nagios::Plugin;
13 13
14use Nagios::Plugin::Base; 14use Nagios::Plugin::Functions;
15use Nagios::Plugin::Performance; 15use Nagios::Plugin::Performance;
16use Nagios::Plugin::Threshold; 16use Nagios::Plugin::Threshold;
17 17
@@ -24,7 +24,7 @@ use Exporter;
24our @ISA = qw(Exporter Nagios::__::Plugin); 24our @ISA = qw(Exporter Nagios::__::Plugin);
25our @EXPORT_OK = qw(%ERRORS); 25our @EXPORT_OK = qw(%ERRORS);
26 26
27our $VERSION = $Nagios::Plugin::Base::VERSION; 27our $VERSION = $Nagios::Plugin::Functions::VERSION;
28 28
29sub add_perfdata { 29sub 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
42sub die { 42sub 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
471; 471;