Created
July 19, 2018 22:30
-
-
Save dev9null/af91658c230a37d6ebb601a8c1d214ed to your computer and use it in GitHub Desktop.
Updated panos.yaml for LibreNMS (includes/definitions/discovery/panos.yaml) to recognize all PANW HA device states
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mib: PAN-COMMON-MIB | |
modules: | |
sensors: | |
state: | |
data: | |
- | |
oid: panSysHAMode | |
num_oid: .1.3.6.1.4.1.25461.2.1.2.1.13. | |
index: 'panSysHAMode.{{ $index }}' | |
descr: High Availability Mode | |
states: | |
- { value: 1, generic: 0, graph: 1, descr: active-passive } | |
- { value: 2, generic: 0, graph: 1, descr: active-active } | |
- | |
oid: panSysHAState | |
num_oid: .1.3.6.1.4.1.25461.2.1.2.1.11. | |
index: 'panSysHAState.{{ $index }}' | |
descr: High Availability Local Status | |
states: | |
- { value: 0, generic: 2, graph: 1, descr: unknown } | |
- { value: 1, generic: 2, graph: 1, descr: suspended } | |
- { value: 2, generic: 2, graph: 1, descr: non-functional } | |
- { value: 3, generic: 1, graph: 1, descr: initial } | |
- { value: 4, generic: 3, graph: 1, descr: passive } | |
- { value: 5, generic: 0, graph: 1, descr: active } | |
- { value: 10, generic: 2, graph: 1, descr: tentative } | |
- { value: 11, generic: 3, graph: 1, descr: active-secondary } | |
- { value: 12, generic: 0, graph: 1, descr: active-primary } | |
- | |
oid: panSysHAPeerState | |
num_oid: .1.3.6.1.4.1.25461.2.1.2.1.12. | |
index: 'panSysHAPeerState.{{ $index }}' | |
descr: High Availability Peer Status | |
states: | |
- { value: 0, generic: 2, graph: 1, descr: unknown } | |
- { value: 1, generic: 2, graph: 1, descr: suspended } | |
- { value: 2, generic: 2, graph: 1, descr: non-functional } | |
- { value: 3, generic: 1, graph: 1, descr: initial } | |
- { value: 4, generic: 3, graph: 1, descr: passive } | |
- { value: 5, generic: 0, graph: 1, descr: active } | |
- { value: 10, generic: 1, graph: 1, descr: tentative } | |
- { value: 11, generic: 3, graph: 1, descr: active-secondary } | |
- { value: 12, generic: 0, graph: 1, descr: active-primary } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment