diff options
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; |