From 4aa83eafcaac84788e2635549b6d67c6045b2c6f Mon Sep 17 00:00:00 2001 From: Simon Bomm Date: Fri, 17 Sep 2021 09:48:02 +0200 Subject: [PATCH] + fix device power calculation (#3116) Closes https://github.com/centreon/centreon-plugins/issues/3115 --- centreon-plugins/hardware/pdu/apc/snmp/mode/load.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/hardware/pdu/apc/snmp/mode/load.pm b/centreon-plugins/hardware/pdu/apc/snmp/mode/load.pm index afb0cf07d..b2f399c5d 100644 --- a/centreon-plugins/hardware/pdu/apc/snmp/mode/load.pm +++ b/centreon-plugins/hardware/pdu/apc/snmp/mode/load.pm @@ -203,7 +203,7 @@ sub check_rpdu { $snmp_result = $options{snmp}->get_leef(oids => [$oid_rPDUIdentName, $oid_rPDUIdentDevicePowerWatts]); $self->{device}->{0} = { display => $snmp_result->{$oid_rPDUIdentName}, - power => $snmp_result->{$oid_rPDUIdentDevicePowerWatts} * 10, + power => $snmp_result->{$oid_rPDUIdentDevicePowerWatts}, }; }