I am trying to generate an alarm when a PDU Variable Comparison Rule, within a snmptd profile, is matched using the Regex operator.
When the trap is received, the alarm is not generated even if I’m expecting the variable condition is met.
Release: UIM 8.x or later
snmptd any version
The regex does not match the variable.
Ensure you enclose the regex between “/” and “/”
Example:
- Alarm comes in with variable “New alarm”
Bad Regex:
New.*
Good Regex:
/New.*/
Regex tested and debugger (online free tool): https://regex101.com/