Files
JohnSPeachandPipoCanaja 2960fc10f5 Add sensors to Infoblox discovery (nios.yaml) (#11043)
* 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]>
2020-01-24 00:33:41 +01:00

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 }