I want to utlilize the SNMP Custom Advanced Sensor to monitor the HA status of Fortigate units. The OID's are 1.3.6.1.4.1.12356.101.13.2.1.1.12.1 and 1.3.6.1.4.1.12356.101.13.2.1.1.12.2. The first one is the status of the primary and the second one is the status of the secondary. I can create the sensor and return values but I do not see how to alarm on the expected change: value from 1 to 0, 0 being HA not synchronized.

How do I alarm when Integer is 0?

NORMAL STATE (Walk) 8/13/2021 7:36:11 AM (1604 ms) : 1.3.6.1.4.1.12356.101.13.2.1.1.12.1 = "1" [ASN_INTEGER] 8/13/2021 7:36:11 AM (1714 ms) : 1.3.6.1.4.1.12356.101.13.2.1.1.12.2 = "1" [ASN_INTEGER]

ABNORMAL STATE (Walk) 8/13/2021 7:36:11 AM (1604 ms) : 1.3.6.1.4.1.12356.101.13.2.1.1.12.1 = "1" [ASN_INTEGER] 8/13/2021 7:36:11 AM (1714 ms) : 1.3.6.1.4.1.12356.101.13.2.1.1.12.2 = "0" [ASN_INTEGER]


Article Comments

Hello Drew,

Thank you for your message.

To trigger an alert when the values change, you can use limits in the corresponding channel. In this case, you can configure the option "Lower Warning Limit" or "Lower Error Limit" to 1 and then configure the notification trigger accordingly.

If you have questions, let me know.

Regards.


Aug, 2021 - Permalink