Configuring system settings : Using high availability (HA) : About logging, alert email and SNMP in HA : Getting HA information using SNMP
Getting HA information using SNMP
You can use an SNMP manager to get information about how FortiMail HA is operating. The FortiMail MIB (fortimail.mib) and the FortiMail trap MIB (fortimail.trap.mib) include the HA fields listed below.
 
Table 21: FortiMail MIB fields
MIB Field
Description
 
fortimail.mib
fmlHAEventId
Provides the ID of the most recent HA event.
fmlHAUnitIp
Provides the IP address of the port1 interface of the FortiMail unit on which an HA event occurred.
fmlHAEventReason
Provides the description of the reason for the HA event.
fmlHAMode
Provides the HA configured mode of operation that you configured the FortiMail unit to operate in; one of operation master (primary unit) or slave (secondary unit).
fmlHAEffectiveMode
Provides the effective HA mode of operation (applies to active‑passive HA only), either as the primary unit or as the secondary unit. The effective HA mode of operation matches the configured mode of operation unless a failure has occurred.
 
fortimail.trap.mib
fmlTrapHAEvent
Provides the FortiMail HA trap that is sent when an HA event occurs. This trap includes the contents of the fmlSysSerial, fmlHAEventId, fmlHAUnitIp, and fmlHAEventReason MIB fields.