mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add support for cirpack soft switch (#9914)
* add support for cirpack soft switch * remove unused lines
This commit is contained in:
17
includes/definitions/cirpack.yaml
Normal file
17
includes/definitions/cirpack.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
os: cirpack
|
||||
text: 'cirpack'
|
||||
type: server
|
||||
icon: cirpack
|
||||
group: cirpack
|
||||
mib_dir:
|
||||
- cirpack
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
snmpget:
|
||||
oid: .1.3.6.1.4.1.9193.1.0
|
||||
value: '2.000000'
|
21
includes/definitions/discovery/cirpack.yaml
Normal file
21
includes/definitions/discovery/cirpack.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
mib: KMIB
|
||||
modules :
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: kDevTable
|
||||
value: kStatus
|
||||
num_oid: '.1.3.6.1.4.1.9193.3.1.7.{{ $index }}'
|
||||
index: 'kKey.{{ $index }}'
|
||||
descr: '{{ $kKey }}, {{ $kName }}, {{ $kDesc }}'
|
||||
state_name: Status
|
||||
states:
|
||||
- { value: 0, generic: 1, graph: 0, descr: 'unknown' }
|
||||
- { value: 1, generic: 1, graph: 0, descr: 'starting' }
|
||||
- { value: 2, generic: 0, graph: 0, descr: 'ok' }
|
||||
- { value: 3, generic: 1, graph: 0, descr: 'aborting' }
|
||||
- { value: 4, generic: 1, graph: 0, descr: 'misbehav' }
|
||||
- { value: 5, generic: 2, graph: 0, descr: 'down' }
|
||||
- { value: 6, generic: 0, graph: 0, descr: 'nopoll' }
|
||||
- { value: 7, generic: 1, graph: 0, descr: 'testing' }
|
Reference in New Issue
Block a user