From 5a39b27ed1acf48e6505391da7f04a0ff6326962 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Sat, 11 Jan 2020 10:28:38 +0100 Subject: [PATCH] fix remote humidity #1776 --- centreon/common/xppc/snmp/mode/environment.pm | 2 +- hardware/ups/hp/snmp/mode/environment.pm | 2 +- hardware/ups/powerware/snmp/mode/environment.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon/common/xppc/snmp/mode/environment.pm b/centreon/common/xppc/snmp/mode/environment.pm index 549c3f902..ec41ff317 100644 --- a/centreon/common/xppc/snmp/mode/environment.pm +++ b/centreon/common/xppc/snmp/mode/environment.pm @@ -61,7 +61,7 @@ sub set_counters { } }, { label => 'remote-humidity', nlabel => 'environment.remote.humidity.percentage', set => { - key_values => [ { name => 'internal_humidity' } ], + key_values => [ { name => 'remote_humidity' } ], output_template => 'remote humidity: %.2f %%', perfdatas => [ { value => 'remote_humidity_absolute', template => '%.2f', diff --git a/hardware/ups/hp/snmp/mode/environment.pm b/hardware/ups/hp/snmp/mode/environment.pm index 549c3f902..ec41ff317 100644 --- a/hardware/ups/hp/snmp/mode/environment.pm +++ b/hardware/ups/hp/snmp/mode/environment.pm @@ -61,7 +61,7 @@ sub set_counters { } }, { label => 'remote-humidity', nlabel => 'environment.remote.humidity.percentage', set => { - key_values => [ { name => 'internal_humidity' } ], + key_values => [ { name => 'remote_humidity' } ], output_template => 'remote humidity: %.2f %%', perfdatas => [ { value => 'remote_humidity_absolute', template => '%.2f', diff --git a/hardware/ups/powerware/snmp/mode/environment.pm b/hardware/ups/powerware/snmp/mode/environment.pm index 1858726da..5d71ec134 100644 --- a/hardware/ups/powerware/snmp/mode/environment.pm +++ b/hardware/ups/powerware/snmp/mode/environment.pm @@ -61,7 +61,7 @@ sub set_counters { } }, { label => 'remote-humidity', nlabel => 'environment.remote.humidity.percentage', set => { - key_values => [ { name => 'internal_humidity' } ], + key_values => [ { name => 'remote_humidity' } ], output_template => 'remote humidity: %.2f %%', perfdatas => [ { label => 'remote_humidity', value => 'remote_humidity_absolute', template => '%.2f',