mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Update nios.yaml
I tried to pull them all in using {{ index }}, but it didn't actually work.....
This adds the DHCP, DNS and NTP service statuses.
* Dynamic service discovery
* typo
* Create nios_status.snmprec
* Create nios_status.json
* Array
* Typo, more
Co-authored-by: PipoCanaja <[email protected]>
41 lines
1.7 KiB
YAML
41 lines
1.7 KiB
YAML
mib: IB-PLATFORMONE-MIB
|
|
modules:
|
|
sensors:
|
|
pre-cache:
|
|
data:
|
|
-
|
|
oid:
|
|
- ibServiceName
|
|
snmp_flags: ['-OQUsb']
|
|
|
|
state:
|
|
data:
|
|
-
|
|
oid: ibGridStatus
|
|
num_oid: '.1.3.6.1.4.1.7779.3.1.1.2.1.12.{{ $index }}'
|
|
index: 'ibGridStatus.{{ $index }}'
|
|
descr: Grid Status
|
|
states:
|
|
- { value: 1, generic: 0, graph: 1, descr: ID Grid Master }
|
|
- { value: 2, generic: 0, graph: 1, descr: ID Grid Member}
|
|
-
|
|
oid: ibHaStatus
|
|
num_oid: '.1.3.6.1.4.1.7779.3.1.1.2.1.13.{{ $index }}'
|
|
index: 'ibHaStatus.{{ $index }}'
|
|
descr: HA Status
|
|
states:
|
|
- { value: 1, generic: 0, graph: 1, descr: Active }
|
|
- { value: 2, generic: 0, graph: 1, descr: Passive }
|
|
-
|
|
oid: ibServiceStatus
|
|
num_oid: '.1.3.6.1.4.1.7779.3.1.1.2.1.9.1.2.{{ $index }}'
|
|
index: 'ibServiceStatus.{{ $index }}'
|
|
descr: '{{ $ibServiceName }} Status'
|
|
snmp_flags: ['-OQUsbe', '-Pu']
|
|
states:
|
|
- { value: 1, generic: 0, graph: 0, descr: Working }
|
|
- { value: 2, generic: 1, graph: 0, descr: Warning }
|
|
- { value: 3, generic: 2, graph: 0, descr: Failed }
|
|
- { value: 4, generic: 2, graph: 0, descr: Inactive }
|
|
- { value: 5, generic: 3, graph: 0, descr: Unknown }
|