towerops/priv/mibs/ict/ICT-PDU-MIB
Graham McIntire b4f8b40b7f
Include MIB files in Docker image instead of using PVC
- Remove PVC volume mount from k8s/deployment.yaml
- Delete k8s/mib-pvc.yaml (no longer needed)
- Update .gitignore to commit MIB files to git
- Add mix import_mibs task to copy MIBs from LibreNMS
- Add all MIB files from priv/mibs/ to git

This fixes the multi-attach volume error in Kubernetes where new pods
couldn't start because the RWO (ReadWriteOnce) PVC was attached to the
old pod. MIBs are now part of the Docker image and can be used by all
pods simultaneously.
2026-01-19 14:01:03 -06:00

350 lines
8.4 KiB
Text

-- MIB file for ICT Distribution Panel Series
--
-- Date Version
-- =============================
-- 4/17/25 1.04
--
ICT-PDU-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, IpAddress FROM RFC1155-SMI
DisplayString FROM RFC1213-MIB
OBJECT-TYPE FROM RFC-1212
TRAP-TYPE FROM RFC-1215;
ictPower OBJECT IDENTIFIER ::= { enterprises 39145 }
distPanel OBJECT IDENTIFIER ::= { ictPower 10 }
deviceModel OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Model Number"
::= { distPanel 1 }
deviceName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Site Name"
::= { distPanel 2 }
deviceHardware OBJECT-TYPE
SYNTAX INTEGER (0..127)
ACCESS read-only
STATUS mandatory
DESCRIPTION "Hardware Version"
::= { distPanel 3 }
deviceFirmware OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Firmware Version"
::= { distPanel 4 }
deviceMacAddress OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "MAC Address"
::= { distPanel 5 }
systemVoltage OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "System Voltage (Volts)"
::= { distPanel 6 }
systemCurrent OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "System Current (Amps)"
::= { distPanel 7 }
outputTable OBJECT-TYPE
SYNTAX SEQUENCE OF OutputEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "Output Table"
::= { distPanel 8 }
outputEntry OBJECT-TYPE
SYNTAX OutputEntry
ACCESS not-accessible
STATUS mandatory
INDEX { outputNumber }
::= { outputTable 1 }
OutputEntry ::=
SEQUENCE {
outputNumber Integer32,
outputName DisplayString,
outputCurrent DisplayString,
outputFuseStatus INTEGER,
outputEnable INTEGER,
outputCurrentX100 Integer32
}
outputNumber OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Output Number"
::= { outputEntry 1 }
outputName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Output Label"
::= { outputEntry 2 }
outputCurrent OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Output Current (Amps)"
::= { outputEntry 3 }
outputFuseStatus OBJECT-TYPE
SYNTAX INTEGER { ok(1), open(2) }
ACCESS read-only
STATUS mandatory
DESCRIPTION "Output Fuse Status ('1' indicates Fuse is OK, and '2' indicates Fuse is OPEN)"
::= { outputEntry 4 }
outputEnable OBJECT-TYPE
SYNTAX INTEGER { enabled(1), disabled(2) }
ACCESS read-write
STATUS mandatory
DESCRIPTION "Output Relay Enable ('1' indicates the Output is ENABLED, and '2' indicates the Output is DISABLED)"
::= { outputEntry 5 }
outputCurrentX100 OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Output Current (Amps X 100)"
::= { outputEntry 6 }
alarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF AlarmEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "Alarm Input Table"
::= { distPanel 9 }
alarmEntry OBJECT-TYPE
SYNTAX AlarmEntry
ACCESS not-accessible
STATUS mandatory
INDEX { alarmNumber }
::= { alarmTable 1 }
AlarmEntry ::=
SEQUENCE {
alarmNumber Integer32,
alarmName DisplayString,
alarmStatus INTEGER
}
alarmNumber OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Alarm Input Number"
::= { alarmEntry 1 }
alarmName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Alarm Input Name"
::= { alarmEntry 2 }
alarmStatus OBJECT-TYPE
SYNTAX INTEGER { inactive(1), ready(2), alarm(3) }
ACCESS read-only
STATUS mandatory
DESCRIPTION "Alarm Input Status ('1' indicates Alarm is INACTIVE,'2' indicates Alarm is READY, and '3' indicates Alarm is in an ALARM condition)"
::= { alarmEntry 3 }
busTable OBJECT-TYPE
SYNTAX SEQUENCE OF BusEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "Bus Table"
::= { distPanel 10 }
busEntry OBJECT-TYPE
SYNTAX BusEntry
ACCESS not-accessible
STATUS mandatory
INDEX { busNumber }
::= { busTable 1 }
BusEntry ::=
SEQUENCE {
busNumber Integer32,
busName DisplayString,
busVoltage DisplayString,
busCurrent DisplayString,
busVoltageX100 Integer32,
busCurrentX100 Integer32
}
busNumber OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Bus Number"
::= { busEntry 1 }
busName OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Bus Name"
::= { busEntry 2 }
busVoltage OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Bus Voltage (Volts)"
::= { busEntry 3 }
busCurrent OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION "Total Bus Current (Amps)"
::= { busEntry 4 }
busVoltageX100 OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Bus Voltage (Volts X 100)"
::= { busEntry 5 }
busCurrentX100 OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS mandatory
DESCRIPTION "Total Bus Current (Amps X 100)"
::= { busEntry 6 }
--
-- Trap definitions:
--
sysUndervoltageAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Undervoltage Alarm is triggered"
::= 101
sysOvervoltageAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Overvoltage Alarm is triggered"
::= 102
sysOvercurrentAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Overcurrent Alarm is triggered"
::= 103
fuseAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Fuse Alarm is triggered"
::= 104
undercurrentAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Undercurrent Alarm is triggered"
::= 105
overcurrentAlarmTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Overcurrent Alarm is triggered"
::= 106
loadshedTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when Load-Shedding is activated on an Output"
::= 107
alarmInputTrap TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { alarmNumber }
DESCRIPTION "Trap generated when an Alarm Input is activated"
::= 108
sysUndervoltageAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Undervoltage Alarm is cleared"
::= 111
sysOvervoltageAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Overvoltage Alarm is cleared"
::= 112
sysOvercurrentAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { busNumber }
DESCRIPTION "Trap generated when a System/Bus Overcurrent Alarm is cleared"
::= 113
fuseAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Fuse Alarm is cleared"
::= 114
undercurrentAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Undercurrent Alarm is cleared"
::= 115
overcurrentAlarmClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output Overcurrent Alarm is cleared"
::= 116
loadshedClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Output has recovered from a Load-Shedding condition"
::= 117
alarmInputClear TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { alarmNumber }
DESCRIPTION "Trap generated when an Alarm Input is cleared"
::= 118
scheduledPowerCycle TRAP-TYPE
ENTERPRISE distPanel
VARIABLES { outputNumber }
DESCRIPTION "Trap generated when an Scheduled Output Power Cycle occurs"
::= 126
END