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