Value
| Syntax | Description |
|---|---|
value {text} | Matches the event value |
value {/regex/} | Matches the event value with regex |
- Possible values can be found in the Status Attributes section in the web help text
- Regular expressions are supported
Examples
-
Alert only on Ping down state
* * ping4 PING.icmpState value down = email [email protected] -
Use regex to alert on multiple BGP Peer states
* * * BGP4-MIB.bgpPeerState value /connect|opensent|openconfirm/ = email Admin -
Alert only on Ping down state after 5 minutes
wait 5m * * ping4 PING.icmpState value down = email [email protected]