From 576b5cab575c27e101ff7b7fae8f72c1bafaea87 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Fri, 13 Mar 2015 10:13:20 +1100 Subject: [PATCH] Fix bladecenter ibm mode --- .../server/ibm/bladecenter/snmp/mode/components/systemhealth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/hardware/server/ibm/bladecenter/snmp/mode/components/systemhealth.pm b/centreon-plugins/hardware/server/ibm/bladecenter/snmp/mode/components/systemhealth.pm index 15366ac4f..d405c7bc2 100644 --- a/centreon-plugins/hardware/server/ibm/bladecenter/snmp/mode/components/systemhealth.pm +++ b/centreon-plugins/hardware/server/ibm/bladecenter/snmp/mode/components/systemhealth.pm @@ -62,7 +62,7 @@ sub check { return if ($self->check_exclude(section => 'systemhealth')); my $value = $map_systemhealth_state{$self->{results}->{$oid_systemHealthStat}->{$oid_systemHealthStat . '.0'}}; - $self->{components}->{powermodule}->{total}++; + $self->{components}->{systemhealth}->{total}++; $self->{output}->output_add(long_msg => sprintf("System health state is %s", $value));