Use Monitoring::Plugin instead of Nagios::Plugin
This commit is contained in:
parent
79a7afb37e
commit
02ab36ddab
1 changed files with 2 additions and 2 deletions
4
check_du
4
check_du
|
@ -52,11 +52,11 @@ print help message and exit
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Nagios::Plugin 0.15;
|
use Monitoring::Plugin 0.15;
|
||||||
use Getopt::Long qw(:config no_ignore_case bundling);
|
use Getopt::Long qw(:config no_ignore_case bundling);
|
||||||
use Pod::Usage;
|
use Pod::Usage;
|
||||||
|
|
||||||
my $np = Nagios::Plugin->new( shortname => "CHECK_DU" );
|
my $np = Monitoring::Plugin->new( shortname => "CHECK_DU" );
|
||||||
my $warn_threshold = '0:';
|
my $warn_threshold = '0:';
|
||||||
my $crit_threshold = '0:';
|
my $crit_threshold = '0:';
|
||||||
my $what = '';
|
my $what = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue