Skip to content

Commit

Permalink
IBM AMM sensors to yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Dec 5, 2024
1 parent 3487028 commit 410268a
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 193 deletions.
142 changes: 142 additions & 0 deletions includes/definitions/discovery/ibm-amm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
modules:
sensors:
temperature:
data:
-
oid: BLADE-MIB::mmTemp
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.1.1.2.{{ $index }}'
index: 'mmTemp'
descr: Management module temperature
-
oid: BLADE-MIB::frontPanelTemp
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.1.5.1.{{ $index }}'
index: 'frontPanelTemp'
descr: Front panel temperature
fanspeed:
data:
-
oid: BLADE-MIB:blower1speedRPM
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.20.{{ $index }}'
index: 'blower1speedRPM'
descr: Blower 1
-
oid: BLADE-MIB:blower2speedRPM
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.21.{{ $index }}'
index: 'blower2speedRPM'
descr: Blower 2
-
oid: BLADE-MIB:blower3speedRPM
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.22.{{ $index }}'
index: 'blower3speedRPM'
descr: Blower 3
-
oid: BLADE-MIB:blower4speedRPM
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.23.{{ $index }}'
index: 'blower4speedRPM'
descr: Blower 4
state:
data:
-
oid: BLADE-MIB::blower1State
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.10.{{ $index }}'
index: 'blower1State'
descr: Blower 1
state_name: ibm-amm_BlowerState
states:
- { value: 0, generic: 3, graph: 0, descr: 'unknown' }
- { value: 1, generic: 0, graph: 1, descr: 'good' }
- { value: 2, generic: 1, graph: 1, descr: 'warning' }
- { value: 3, generic: 2, graph: 1, descr: 'bad' }
-
oid: BLADE-MIB::blower2State
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.11.{{ $index }}'
index: 'blower2State'
descr: Blower 2
state_name: ibm-amm_BlowerState
states:
- { value: 0, generic: 3, graph: 0, descr: 'unknown' }
- { value: 1, generic: 0, graph: 1, descr: 'good' }
- { value: 2, generic: 1, graph: 1, descr: 'warning' }
- { value: 3, generic: 2, graph: 1, descr: 'bad' }
-
oid: BLADE-MIB::blower3State
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.12.{{ $index }}'
index: 'blower3State'
descr: Blower 3
state_name: ibm-amm_BlowerState
states:
- { value: 0, generic: 3, graph: 0, descr: 'unknown' }
- { value: 1, generic: 0, graph: 1, descr: 'good' }
- { value: 2, generic: 1, graph: 1, descr: 'warning' }
- { value: 3, generic: 2, graph: 1, descr: 'bad' }
-
oid: BLADE-MIB::blower4State
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.13.{{ $index }}'
index: 'blower4State'
descr: Blower 4
state_name: ibm-amm_BlowerState
states:
- { value: 0, generic: 3, graph: 0, descr: 'unknown' }
- { value: 1, generic: 0, graph: 1, descr: 'good' }
- { value: 2, generic: 1, graph: 1, descr: 'warning' }
- { value: 3, generic: 2, graph: 1, descr: 'bad' }
-
oid: BLADE-MIB::blower1ControllerState
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.30.{{ $index }}'
index: 'blower1ControllerState'
descr: Blower Controller 1
state_name: ibm-amm_BlowerControllerState
states:
- { value: 0, generic: 0, graph: 1, descr: 'operational' }
- { value: 1, generic: 1, graph: 1, descr: 'flashing' }
- { value: 2, generic: -1, graph: 1, descr: 'notPresent' }
- { value: 3, generic: 2, graph: 1, descr: 'communicationError' }
- { value: 255, generic: 3, graph: 0, descr: 'unknown' }
-
oid: BLADE-MIB::blower2ControllerState
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.31.{{ $index }}'
index: 'blower2ControllerState'
descr: Blower Controller 2
state_name: ibm-amm_BlowerControllerState
states:
- { value: 0, generic: 0, graph: 1, descr: 'operational' }
- { value: 1, generic: 1, graph: 1, descr: 'flashing' }
- { value: 2, generic: -1, graph: 1, descr: 'notPresent' }
- { value: 3, generic: 2, graph: 1, descr: 'communicationError' }
- { value: 255, generic: 3, graph: 0, descr: 'unknown' }
-
oid: BLADE-MIB::blower3ControllerState
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.32.{{ $index }}'
index: 'blower3ControllerState'
descr: Blower Controller 3
state_name: ibm-amm_BlowerControllerState
states:
- { value: 0, generic: 0, graph: 1, descr: 'operational' }
- { value: 1, generic: 1, graph: 1, descr: 'flashing' }
- { value: 2, generic: -1, graph: 1, descr: 'notPresent' }
- { value: 3, generic: 2, graph: 1, descr: 'communicationError' }
- { value: 255, generic: 3, graph: 0, descr: 'unknown' }
-
oid: BLADE-MIB::blower4ControllerState
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.3.33.{{ $index }}'
index: 'blower4ControllerState'
descr: Blower Controller 4
state_name: ibm-amm_BlowerControllerState
states:
- { value: 0, generic: 0, graph: 1, descr: 'operational' }
- { value: 1, generic: 1, graph: 1, descr: 'flashing' }
- { value: 2, generic: -1, graph: 1, descr: 'notPresent' }
- { value: 3, generic: 2, graph: 1, descr: 'communicationError' }
- { value: 255, generic: 3, graph: 0, descr: 'unknown' }
-
oid: BLADE-MIB::powerModuleState
num_oid: '.1.3.6.1.4.1.2.3.51.2.2.4.1.1.3.{{ $index }}'
index: 'powerModuleState.{{ $index }}'
descr: 'Power Module {{ $index }}'
state_name: ibm-amm_PowerModuleState
states:
- { value: 0, generic: 3, graph: 0, descr: 'unknown' }
- { value: 1, generic: 0, graph: 1, descr: 'good' }
- { value: 2, generic: 1, graph: 1, descr: 'warning' }
- { value: 3, generic: -1, graph: 1, descr: 'notAvailable' }
- { value: 4, generic: 2, graph: 1, descr: 'critical' }
29 changes: 0 additions & 29 deletions includes/discovery/sensors/fanspeed/ibm-amm.inc.php

This file was deleted.

119 changes: 0 additions & 119 deletions includes/discovery/sensors/state/ibm-amm.inc.php

This file was deleted.

45 changes: 0 additions & 45 deletions includes/discovery/sensors/temperature/ibm-amm.inc.php

This file was deleted.

0 comments on commit 410268a

Please sign in to comment.