Skip to content
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

Add powercom MIBs #1275

Merged
merged 6 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ LIEBERT_URL := https://www.vertiv.com/globalassets/documents/software/moni
READYNAS_URL := https://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt
READYDATAOS_URL := https://www.downloads.netgear.com/files/GDC/RD5200/READYDATA_MIB.zip
SOPHOS_XG_URL := https://docs.sophos.com/nsg/sophos-firewall/MIB/SOPHOS-XG-MIB.zip
POWERCOM_URL := https://www.upspowercom.com/pcm-img/Card-DA807/Upsmate_PCM.mib

CYBERPOWER_VERSION := 2.11
CYBERPOWER_URL := https://dl4jz3rbrsfum.cloudfront.net/software/CyberPower_MIB_v$(CYBERPOWER_VERSION).MIB.zip
Expand Down Expand Up @@ -154,7 +155,8 @@ mibs: \
$(MIBDIR)/LIEBERT_GP_PDU.MIB \
$(MIBDIR)/CyberPower.MIB \
$(MIBDIR)/EAP.MIB \
$(MIBDIR)/EAP-Client.MIB
$(MIBDIR)/EAP-Client.MIB \
$(MIBDIR)/powercom

$(MIBDIR)/apc-powernet-mib:
@echo ">> Downloading apc-powernet-mib"
Expand Down Expand Up @@ -393,3 +395,7 @@ $(MIBDIR)/readydataos:
@unzip -j -d $(MIBDIR) $(TMP) READYDATAOS-MIB.txt
@mv -v $(MIBDIR)/READYDATAOS-MIB.txt $(MIBDIR)/readydataos
@rm -v $(TMP)

$(MIBDIR)/powercom:
@echo ">> Downloading powercom"
@curl $(CURL_OPTS) -o $(MIBDIR)/powercom "$(POWERCOM_URL)"
66 changes: 66 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -771,3 +771,69 @@ modules:
hrSWInstalled:
walk:
- hrSWInstalled

#
# Powercom MIBs
#
# https://www.upspowercom.com/Card-DA807.jsp
#
powercom:
walk:
- 1.3.6.1.4.1.935.1.1.1.1.1.1 # upsBaseIdentModel
- 1.3.6.1.4.1.935.1.1.1.1.2.1 # upsSmartIdentFirmwareRevision
- 1.3.6.1.4.1.935.1.1.1.1.2.2 # upsSmartIdentDateOfManufacture
- 1.3.6.1.4.1.935.1.1.1.1.2.4 # upsSmartIdentAgentFirmwareRevision
- 1.3.6.1.4.1.935.1.1.1.2.1.1 # upsBaseBatteryStatus
- 1.3.6.1.4.1.935.1.1.1.2.1.2 # upsBaseBatteryTimeOnBattery
- 1.3.6.1.4.1.935.1.1.1.2.2.1 # upsSmartBatteryCapacity
- 1.3.6.1.4.1.935.1.1.1.2.2.2 # upsSmartBatteryVoltage
- 1.3.6.1.4.1.935.1.1.1.2.2.3 # upsSmartBatteryTemperature
- 1.3.6.1.4.1.935.1.1.1.2.2.6 # upsSmartBatteryFullChargeVoltage
- 1.3.6.1.4.1.935.1.1.1.3.2.1 # upsSmartInputLineVoltage
- 1.3.6.1.4.1.935.1.1.1.3.2.2 # upsSmartInputMaxLineVoltage
- 1.3.6.1.4.1.935.1.1.1.3.2.3 # upsSmartInputMinLineVoltage
- 1.3.6.1.4.1.935.1.1.1.3.2.4 # upsSmartInputFrequency
- 1.3.6.1.4.1.935.1.1.1.3.2.5 # upsSmartInputLineFailCause
- 1.3.6.1.4.1.935.1.1.1.4.1.1 # upsBaseOutputStatus
- 1.3.6.1.4.1.935.1.1.1.4.2.1 # upsSmartOutputVoltage
- 1.3.6.1.4.1.935.1.1.1.4.2.2 # upsSmartOutputFrequency
- 1.3.6.1.4.1.935.1.1.1.4.2.3 # upsSmartOutputLoad
- 1.3.6.1.4.1.935.1.1.1.4.2.7 # upsSmartOutputOverLoad
- 1.3.6.1.4.1.935.1.1.1.4.2.8 # upsSmartOutputOverVoltage
- 1.3.6.1.4.1.935.1.1.1.5.2.1 # upsSmartConfigRatedOutputVoltage
- 1.3.6.1.4.1.935.1.1.1.5.2.2 # upsSmartConfigHighTransferVolt
- 1.3.6.1.4.1.935.1.1.1.5.2.3 # upsSmartConfigLowTransferVolt
- 1.3.6.1.4.1.935.1.1.1.5.2.4 # upsSmartConfigAlarm
- 1.3.6.1.4.1.935.1.1.1.5.2.5 # upsSmartConfigAlarmTimer
- 1.3.6.1.4.1.935.1.1.1.5.2.6 # upsSmartConfigMinReturnCapacity
- 1.3.6.1.4.1.935.1.1.1.5.2.7 # upsSmartConfigSensitivity
- 1.3.6.1.4.1.935.1.1.1.5.2.8 # upsSmartConfigLowBatteryRunTime
- 1.3.6.1.4.1.935.1.1.1.5.2.9 # upsSmartConfigReturnDelay
- 1.3.6.1.4.1.935.1.1.1.5.2.10 # upsSmartConfigShutoffDelay
- 1.3.6.1.4.1.935.1.1.1.5.2.11 # upsSmartConfigUpsSleepTime
- 1.3.6.1.4.1.935.1.1.1.7.2.1 # upsSmartTestDiagnosticSchedule
- 1.3.6.1.4.1.935.1.1.1.7.2.3 # upsSmartTestDiagnosticsResults
- 1.3.6.1.4.1.935.1.1.1.8.5.1 # upsThreePhaseDCandRectifierStatusRecRotError
- 1.3.6.1.4.1.935.1.1.1.8.5.2 # upsThreePhaseDCandRectifierStatusLowBatteryShutdown
- 1.3.6.1.4.1.935.1.1.1.8.5.3 # upsThreePhaseDCandRectifierStatusLowBattery
- 1.3.6.1.4.1.935.1.1.1.8.5.5 # upsThreePhaseDCandRectifierStatusBatteryStatus
- 1.3.6.1.4.1.935.1.1.1.8.5.6 # upsThreePhaseDCandRectifierStatusChargeStatus
- 1.3.6.1.4.1.935.1.1.1.8.5.7 # upsThreePhaseDCandRectifierStatusRecOperating
- 1.3.6.1.4.1.935.1.1.1.8.6.1 # upsThreePhaseUPSStatusBypassFreqFail
- 1.3.6.1.4.1.935.1.1.1.8.6.2 # upsThreePhaseUPSStatusManualBypassBreaker
- 1.3.6.1.4.1.935.1.1.1.8.6.3 # upsThreePhaseUPSStatusACStatus
- 1.3.6.1.4.1.935.1.1.1.8.6.4 # upsThreePhaseUPSStaticSwitchMode
- 1.3.6.1.4.1.935.1.1.1.8.6.5 # upsThreePhaseUPSStatusInverterOperating
- 1.3.6.1.4.1.935.1.1.1.8.7.1 # upsThreePhaseFaultStatusEmergencyStop
- 1.3.6.1.4.1.935.1.1.1.8.7.2 # upsThreePhaseFaultStatusHighDCShutdown
- 1.3.6.1.4.1.935.1.1.1.8.7.3 # upsThreePhaseFaultStatusBypassBreaker
- 1.3.6.1.4.1.935.1.1.1.8.7.4 # upsThreePhaseFaultStatusOverLoad
- 1.3.6.1.4.1.935.1.1.1.8.7.5 # upsThreePhaseFaultStatusInverterOutputFail
- 1.3.6.1.4.1.935.1.1.1.8.7.6 # upsThreePhaseFaultStatusOverTemperature
- 1.3.6.1.4.1.935.1.1.1.8.7.7 # upsThreePhaseFaultStatusShortCircuit
- 1.3.6.1.4.1.935.1.1.1.9.1.1 # upsEnvTemperature
- 1.3.6.1.4.1.935.1.1.1.9.1.2 # upsEnvHumidity
- 1.3.6.1.4.1.935.1.1.1.9.2.1 # upsEnvOverTemperature
- 1.3.6.1.4.1.935.1.1.1.9.2.2 # upsEnvUnderTemperature
- 1.3.6.1.4.1.935.1.1.1.9.2.3 # upsEnvOverHumidity
- 1.3.6.1.4.1.935.1.1.1.9.2.4 # upsEnvUnderHumidity
Loading