Refs #5844
This commit is contained in:
parent
d1d9438ac6
commit
2d8a0bbc4a
|
@ -309,7 +309,6 @@ sub check_disk {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
|
|
@ -52,7 +52,6 @@ my %map_states_system = (
|
|||
2 => 'Failed',
|
||||
);
|
||||
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
||||
|
@ -73,7 +72,7 @@ sub run {
|
|||
# $options{snmp} = snmp object
|
||||
$self->{snmp} = $options{snmp};
|
||||
|
||||
my $oid_synoSystemsystemStatus = '.1.3.6.1.4.1.6574.1.1.0'; # in Celsius
|
||||
my $oid_synoSystemsystemStatus = '.1.3.6.1.4.1.6574.1.1.0';
|
||||
|
||||
my $result = $self->{snmp}->get_leef(oids => [$oid_synoSystemsystemStatus],
|
||||
nothing_quit => 1);
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Data::Dumper;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Data::Dumper;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
Loading…
Reference in New Issue