Skip to content

Commit

Permalink
ArubaCX: Add ISL State, Power and Temperature sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
mpikzink committed Nov 13, 2024
1 parent 9842808 commit 87474e3
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion includes/definitions/discovery/arubaos-cx.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mib: ENTITY-MIB:ENTITY-SENSOR-MIB
mib: ENTITY-MIB:ENTITY-SENSOR-MIB:ARUBAWIRED-VSX-MIB:ARUBAWIRED-TEMPSENSOR-MIB:ARUBAWIRED-POWERSUPPLY-MIB
modules:
os:
sysDescr_regex:
Expand All @@ -20,6 +20,24 @@ modules:
-
oid:
- entPhysicalName
temperature:
data:
-
oid: arubaWiredTempSensorTable
num_oid: '.1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.7.{{ $index }}'
descr: arubaWiredTempSensorName
divisor: 1000
value: arubaWiredTempSensorTemperature
low_limit: arubaWiredTempSensorMinTemp
high_limit: arubaWiredTempSensorMaxTemp
power:
data:
-
oid: arubaWiredPowerSupplyTable
num_oid: '.1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.7.{{ $index }}'
descr: 'Power Supply {{ $arubaWiredPSUName }}'
value: arubaWiredPSUInstantaneousPower
high_limit: arubaWiredPSUMaximumPower
state:
data:
-
Expand All @@ -35,3 +53,30 @@ modules:
states:
- { value: 1, descr: OK, graph: 1, generic: 0 }
- { value: 3, descr: Not OK, graph: 1, generic: 2 }
-
oid: arubaWiredPowerSupplyTable
num_oid: '.1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.11.{{ $index }}'
descr: 'Power Supply {{ $arubaWiredPSUName }}'
value: arubaWiredPSUStateEnum
states:
- { value: 1, descr: ok, graph: 1, generic: 0 }
- { value: 2, descr: Absent, graph: 1, generic: 2 }
- { value: 3, descr: Fault Input, graph: 1, generic: 2 }
- { value: 4, descr: Fault Output, graph: 1, generic: 2 }
- { value: 5, descr: Fault POE, graph: 1, generic: 2 }
- { value: 6, descr: Fault No Recovery, graph: 1, generic: 2 }
- { value: 7, descr: alert, graph: 1, generic: 2 }
- { value: 8, descr: unknown, graph: 1, generic: 2 }
- { value: 9, descr: unsuppored, graph: 1, generic: 2 }
- { value: 10, descr: warning, graph: 1, generic: 1 }
- { value: 11, descr: init, graph: 1, generic: 3 }
-
oid: arubaWiredVsxIslOperState
num_oid: '.1.3.6.1.4.1.47196.4.1.1.3.7.2.1.1.{{ $index }}'
descr: ISL
value: arubaWiredVsxIslOperState
states:
- { value: 1, descr: init, graph: 1, generic: 3 }
- { value: 2, descr: out Sync, graph: 1, generic: 2 }
- { value: 3, descr: in Sync, graph: 1, generic: 0 }

0 comments on commit 87474e3

Please sign in to comment.