-
Notifications
You must be signed in to change notification settings - Fork 298
Description
Hello,
In December 2019, our mutual friend Quentin (@garnier-quentin) kindly added the ability to automatically calculate the upper and lower thresholds for the incoming voltage of the APC UPS
#1764
Previously, this worked fine and we did not specify the thresholds - the plugin took them automatically from the NMC.
But recently we noticed that this does not work anymore, that is, the values upsAdvConfigHightransferVolt (.1.3.6.1.4.1.318.1.1.1.5.2.2.0) and upsAdvConfigLowTransferVolt (.1.3.6.1.4.1.318.1.1.1.5.2.3.0) are no longer processed correctly. The data from these OIDs does not get into the perfdata and does not affect the return code of the plugin in any way.
This looks like a significant regression and breakage of useful functionality of the plugin that worked before.
For example, we have disconnected the input voltage and we found that the "input-lines" mode incorrectly shows us the status of the input voltage (OK instead of CRITICAL)
# '/centreon_plugins.pl' '--plugin=hardware::ups::apc::snmp::plugin' '--mode=input-lines' \
'--critical-frequence' '49:51' '--filter-uom' 'null' '--hostname' 'UH-UP004' \
'--snmp-community' 'it' '--snmp-version' '2c' '--use-new-perfdata' --verbose --debug
OK: voltage: 0 V, frequence: 50 Hz, last input line fail cause is 'rateOfVoltageChange' |
'lines.input.voltage.volt'=0;;;; 'lines.input.frequence.hertz'=50;;49:51;;
.1.3.6.1.4.1.318.1.1.1.3.2.1.0 = 0
.1.3.6.1.4.1.318.1.1.1.3.2.4.0 = 50
.1.3.6.1.4.1.318.1.1.1.3.2.5.0 = 10
.1.3.6.1.4.1.318.1.1.1.3.3.1.0 = 0
.1.3.6.1.4.1.318.1.1.1.3.3.4.0 = 500
.1.3.6.1.4.1.318.1.1.1.5.2.2.0 = 253
.1.3.6.1.4.1.318.1.1.1.5.2.3.0 = 208
Please fix this problem.