add support for cirpack soft switch (#9914)

* add support for cirpack soft switch

* remove unused lines
This commit is contained in:
Vitali Kari
2019-03-08 02:57:06 +01:00
committed by Tony Murray
parent 7bbf30bbe9
commit 06bba5a2b2
7 changed files with 9453 additions and 0 deletions

View 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'

View 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' }