Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for cirpack soft switch #9914

Merged
merged 2 commits into from Mar 8, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Binary file not shown.
Binary file not shown.
@@ -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'
@@ -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' }
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.