mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
newdevice: Added dry contact state support for AKCP devices
* feature: Add AKCP dry contact state support fix #7100 * Updated to use yaml
This commit is contained in:
parent
cdf8021843
commit
a84392cff6
@ -7,4 +7,5 @@ discovery:
|
||||
- sysDescr:
|
||||
- SensorProbe
|
||||
- sensorProbe4
|
||||
- sensorProbe8
|
||||
- securityProbe
|
||||
|
17
includes/definitions/discovery/akcp.yaml
Normal file
17
includes/definitions/discovery/akcp.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
mib: HHMSAGENT-MIB
|
||||
modules:
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: hhmsSensorArrayTable
|
||||
value: hhmsSensorArraySwitchStatus
|
||||
num_oid: .1.3.6.1.4.1.3854.1.2.2.1.18.1.3.
|
||||
descr: '{{ $hhmsSensorArraySwitchDescription }}'
|
||||
index: 'hhmsSensorArraySwitchStatus.{{ $index }}'
|
||||
skip_values: 1
|
||||
states:
|
||||
- { descr: noStatus, graph: 1, value: 1, generic: 3 }
|
||||
- { descr: normal, graph: 1, value: 2, generic: 0 }
|
||||
- { descr: critical, graph: 1, value: 4, generic: 2 }
|
||||
- { descr: sensorError, graph: 1, value: 7, generic: 3 }
|
1830
mibs/akcp/HHMSAGENT-MIB
Normal file
1830
mibs/akcp/HHMSAGENT-MIB
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user