There are a few questions first:
- what exactly you want to monitor?
- you need the current status of the HA?
- you need some sort of history for the status of HA?
The OID you received cannot be queried. As their name says, they are trap definitions. These could/should contain various varbinds that bring additional meaning to the SNMP message being sent. This usually comes from the MIB definition from the device vendor.
Basically you receive the SNMP Trap from the device and you have to interpret their meaning. This only gives you the current status of the HA and you cannot time report that would tell you how long the HA run. I generally teste these scenarios using trapgen, a snmp trap simulator in which you can define the required traps to test your scenarios.
There should be additional SNMP tables in the MIBs that you can query to tell you the current status of the HA. Those you can query and should be able to create a reporton/alert based the values you get back from the device.
------------------------------
Cătălin Fărcășanu
Senior Consultant
SolvIT Networks
------------------------------
Original Message:
Sent: Feb 01, 2023 04:36 PM
From: Miller Echagarreta
Subject: Monitoring OID of HA Status of FortiWeb with snmptd or snmpget
Hi Everyone.
I need monitoring the HA status of a Fortiweb device. The device is a model...
The administrator sent me this OID's...
fwTrapHAStatusChange Oid: 1.3.6.1.4.1.12356.107.10.0.6
fwTrapHAMemberJoin Oid: 1.3.6.1.4.1.12356.107.10.0.7
fwTrapHAMemberLeave Oid: 1.3.6.1.4.1.12356.107.10.0.8
I am thinking monitoring with snmptd or snmpget probe.
With snmptd the idea is that the administrator sent an status via traps snmp of ha status which according oid is fwTrapHAStatusChange Oid: 1.3.6.1.4.1.12356.107.10.0.6, but according to the administrator a test cannot be sent
With snmpget i see that the device not reporting the ha status whit the OID...
what am I doing wrong ?
Any suggestions?
What probe do you suggest to use?