The trap-threshold peer-heartbeat-lost interval-times command sets the alarm threshold on the number of times heartbeat packets of an AD SSO program are lost.
The undo trap-threshold peer-heartbeat-lost interval-times command restores the alarm threshold on the number of times heartbeat packets of an AD SSO program are lost.
trap-threshold peer-heartbeat-lost interval-times number
undo trap-threshold peer-heartbeat-lost interval-times
| Parameter | Description | Value |
|---|---|---|
| number | Specifies the alarm threshold on the number of times heartbeat packets from the AD SSO program are lost. |
The value is an integer ranging from 3 to 720. The default value is 3. |
After AD SSO programs are deployed and have services enabled, the programs send UDP heartbeat packets to the FW at an interval of 5 seconds.
If the number of times heartbeat packets from an AD SSO program are lost (not received by the FW) reaches the alarm threshold, the FW sends alarm information.
For example, in a scenario where the alarm threshold is 3 times, if heartbeat packets from the AD SSO program are lost for 3 consecutive times (that is, the FW fails to receive heartbeat packets sent at an interval of 5 seconds within 15 seconds), the FW sends alarm information.
For details on the alarm information sent by the FW, see UM_1.3.6.1.4.1.2011.6.122.79.1.2.5 hwUmADSSOAgentOffline.
The alarm function is disabled by default. You can run the snmp-agent trap enable feature-name um command to enable this function.