Hello.
Please improve the capabilities of the hardware::ups::cyberpower::snmp::plugin
1) Add a new "input-lines" mode similar to how it is implemented in the "hardware::ats::apc::snmp::plugin"
Information about the state of sources A/B inputs can be obtained from the OID table: .1.3.6.1.4.1.3808.1.1.6.9.4 (ePDU2SourceStatusTable)
From these OIDs we can obtain information about the current state of the ATS inputs:
Name/OID: ePDU2SourceStatusSelectedSource.1; Value (Integer): sourceA (1)
Name/OID: ePDU2SourceStatusSourceAVolStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusSourceBVolStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusSourceAFreqStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusSourceBFreqStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusPowerSupplySourceAStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusPowerSupplySourceBStatus.1; Value (Integer): normal (1)
Name/OID: ePDU2SourceStatusRedundancyState.1; Value (Integer): atsFullyRedundant (2)
From these OIDs we can create a perfdata for the Voltage and Frequency parameters:
Name/OID: ePDU2SourceStatusSourceAVoltage.1; Value (Integer): 218
Name/OID: ePDU2SourceStatusSourceBVoltage.1; Value (Integer): 222
Name/OID: ePDU2SourceStatusSourceAFrequency.1; Value (Integer): 500
Name/OID: ePDU2SourceStatusSourceBFrequency.1; Value (Integer): 500
2) Add a new "time" mode similar to how it is implemented in the "hardware::ats::apc::snmp::plugin"
OID:.1.3.6.1.4.1.3808.2.1.5.1.0 (mconfigClockDate.0); Example value: 2024/09/02
OID:.1.3.6.1.4.1.3808.2.1.5.2.0 (mconfigClockTime.0); Example value: 18:08:57
The received time should be compared with the NTP source.
3) Add a new mode for checking the NMC operating time ("uptime")
This mode can be simply copied from the plugin "hardware::pdu::apc::snmp::plugin"
4) Add a new environment sensor check mode ("environment" mode):
OID space environmentSensor2 (1.3.6.1.4.1.3808.1.1.8) is suitable for obtaining information about temperature (C) and humidity (%)
MIB and snmpalk files are attached: https://github.com/user-attachments/files/16846878/CyberPower-ATS-PDU44005.zip
Thank you
