+ fix device power calculation (#3116)

Closes https://github.com/centreon/centreon-plugins/issues/3115
This commit is contained in:
Simon Bomm 2021-09-17 09:48:02 +02:00 committed by GitHub
parent f9f974c546
commit 4aa83eafca
1 changed files with 1 additions and 1 deletions

View File

@ -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},
};
}