Check Point: Added HA state support (#12382)

* Added HA state support

* Adding tests for Checkpoint 15600

* Removing trailing white-space in gaia.yaml

* Updating old gaia config files

* Updating the non-variant json of gaia

* Updating git repo directly from a librenms docker container

* Overwriting the original gaia snmprec file

* Once more, with database. Praying to the god of unit tests.

* Removed the new tests

* Trying to re-add 15600

* Re-trying with a fresh snmprec file

* Trying new snmp rec file for 15600

* Remove ospf data

* Update gaia.yaml

Added single quotes

* Update gaia.yaml

* Updating the test after the sensor name change

Co-authored-by: Patrik Jonsson <patrik.jonsson@gmail.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
lazyb0nes
2021-01-11 00:22:34 +01:00
committed by GitHub
parent 80ac2390c0
commit db73b8fade
5 changed files with 7661 additions and 0 deletions
+33
View File
@@ -44,6 +44,39 @@ modules:
- { value: 0, descr: 'false', graph: 1, generic: 0 }
- { value: 1, descr: 'true', graph: 1, generic: 2 }
- { value: 2, descr: 'reading error', graph: 1, generic: 3 }
-
oid: haStarted
num_oid: '.1.3.6.1.4.1.2620.1.5.5.0.{{ $index }}'
index: 'haStarted.{{ $index }}'
descr: 'Cluster mechanism started'
group: HA
value: haStarted
states:
- { value: 1, descr: yes, graph: 1, generic: 0 }
- { value: 0, descr: no, graph: 0, generic: 2 }
-
oid: haState
num_oid: '.1.3.6.1.4.1.2620.1.5.6.0.{{ $index }}'
index: 'haState.{{ $index }}'
descr: 'Cluster member state'
group: HA
value: haState
states:
- { value: 1, descr: active , graph: 3, generic: 0 }
- { value: 2, descr: standby, graph: 2, generic: 0 }
- { value: 3, descr: 'active attention', graph: 1, generic: 1 }
- { value: 0, descr: down, graph: 0, generic: 2 }
-
oid: haStatCode
num_oid: '.1.3.6.1.4.1.2620.1.5.101.{{ $index }}'
index: 'haStatCode.{{ $index }}'
descr: 'Cluster member status code'
group: HA
value: haStatCode
states:
- { value: 0, descr: Up , graph: 2, generic: 0 }
- { value: 1, descr: Attention, graph: 1, generic: 3 }
- { value: 2, descr: Down, graph: 0, generic: 1 }
temperature:
data:
-
+23
View File
@@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "",
"sysObjectID": ".1.3.6.1.4.1.2620.1.6.123.1.41",
"sysDescr": "Linux st1fw01 2.6.18-92cpx86_64 #1 SMP Mon Jan 19 12:13:55",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "gaia",
"type": "firewall",
"serial": null,
"icon": "checkpoint.png",
"location": null
}
]
},
"poller": "matches discovery"
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux A-10144014 3.10.20-al-5.0-pr2 #1 SMP Sun May 21 15:23:45 IDT 2017 armv7l",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "gaia",
"type": "firewall",
"serial": null,
"icon": "checkpoint.png",
"location": null
}
]
},
"poller": "matches discovery"
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff