-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hardware::pdu::cyberpower::snmp::plugin] incorrect data output in "load" mode #5165
Comments
Hello :) Thanks for this feedback and the data to test it. I created the dev ticket according this request. |
Can you tell me if this could be the result expected ?
|
Yes, that seems to be true. |
You can test with the fix proposed here : #5187 |
Delivered with the October release. If the issue persists, feel free to re-open this Issue. |
Thank you. It works. |
I just don't understand why when new plugin releases come out there is no version information in them??
|
Hello :) So far the plugin versioning system, even if it exists, has not been maintained or used to my knowledge. This could be a suggestion to consider. |
Hello.
In the plugin "hardware::pdu::cyberpower::snmp::plugin" the "load" mode incorrectly displays information about the load in watts and there is not enough information about the voltage.
Here we see that the value is 2240W.
Judging by the fact that I see in the plugin code https://github.com/centreon/centreon-plugins/blob/develop/src/hardware/pdu/cyberpower/snmp/mode/load.pm#L233 the value from ePDU2PhaseStatusPower is multiplied by 10.
I think this is wrong, because OID .1.3.6.1.4.1.3808.1.1.6.4.4.1.7 (ePDU2PhaseStatusPower) according to the description in the MIB file returns the value in Watts.
And this seems to be true.
Description of the ePDU2PhaseStatusPower parameter in the CPS-MIB: "Indicates the load power, in watts, consumed on the Rack PDU phase being queried"
It turns out that multiplying the result of ePDU2PhaseStatusPower by 10 is an error that needs to be fixed, since the plugin is currently returning incorrect data.
And one more thing.
It would be nice if the plugin additionally polled the outgoing voltage in volts.
This value can be obtained from OID .1.3.6.1.4.1.3808.1.1.6.4.4.1.6 (ePDU2PhaseStatusVoltage)
From CPS-MIB: "Indicates the Voltage, in tenths of Volts, of the Rack PDU phase being queried."
This value is interesting to us, but it should have its own metric, for example *#phase.voltage.volts
Please note that the voltage is given in tenths of a volt.
MIB and snmpalk files are attached: CyberPower-ATS-PDU44005.zip
Thanks.
The text was updated successfully, but these errors were encountered: