Skip to main content
Needs Votes

[hardware::pdu::cyberpower::snmp::plugin] new modes

Related products:Infra Monitoring - MonitoringInfra Monitoring - Connectors
  • September 3, 2024
  • 5 replies
  • 49 views

Aleksey
Forum|alt.badge.img+6

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

5 replies

Aleksey
Forum|alt.badge.img+6
  • Author
  • Steward **
  • September 5, 2024

I don't understand how to change the topic title here. Actually, we are talking about the plugin "hardware::pdu::cyberpower::snmp::plugin"


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024

Same question as in https://thewatch.centreon.com/ideation/show?id=3762&title=hardware-ups-cyberpower-snmp-plugin-new-and-changed-modes, for 2) can you please describe the intent of this mode? Is it to check that UPS time is correct by comparing with the poller time?


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024
NewDiscussion ongoing

Aleksey
Forum|alt.badge.img+6
  • Author
  • Steward **
  • September 6, 2024

... for 2) can you please describe the intent of this mode? Is it to check that UPS time is correct by comparing with the poller time?

yes. similar to how it is implemented in "time" mode  in "hardware::ats::apc::snmp::plugin"


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024
Discussion ongoingNeeds Votes