This commit is contained in:
Quentin Garnier 2014-10-06 16:29:53 +02:00
parent d1d9438ac6
commit 2d8a0bbc4a
4 changed files with 9 additions and 13 deletions

View File

@ -309,7 +309,6 @@ sub check_disk {
}
}
1;
__END__

View File

@ -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);

View File

@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
use strict;
use warnings;
use Data::Dumper;
sub new {
my ($class, %options) = @_;

View File

@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
use strict;
use warnings;
use Data::Dumper;
sub new {
my ($class, %options) = @_;