Hello,
I have a pair of Juniper SRX5800 firewalls that I want to generate alert messages on JUNIPER-CHASSIS-CLUSTER-MIB:jnxJsChassisClusterSwitchover SNMP Trap messages.
The main issue that I am seeing is that I am receiving eight messages on the initial failover and sixteen messages when I fail the devices back.
When looking in Trap Viewer, I can see that the firewall is generating duplicate messages(This may be a bug with Juniper which I will follow up with them on that issue). However, I would like to set a filter and a threshold to minimize the number of email messages being sent out.
I have, unsuccessfully, tried to filter on a particular line in the trap details as well as setting a threshold to reduce the number of emails generated.
The alert never fires when I have either a Trap Details Pattern OR a Trigger Threshold set, or when both are set at the same time.
Here are the details of the particular trap that I am interested in:
Trap Type: JUNIPER-CHASSIS-CLUSTER-MIB:jnxJsChassisClusterSwitchover
Trap Details:
jnxJsChClusterSwitchoverInfoRedundancyGroup=0
jnxJsChClusterSwitchoverInfoClusterId=3
jnxJsChClusterSwitchoverInfoNodeId=1
jnxJsChClusterSwitchoverInfoPreviousState=secondary
jnxJsChClusterSwitchoverInfoCurrentState=primary
jnxJsChClusterSwitchoverInfoReason=Manual failover
snmpTrapOID=JUNIPER-CHASSIS-CLUSTER-MIB:jnxJsChassisClusterSwitchover
sysUpTime=18 minutes 53.89 seconds
experimental.1057.1.0=10.xxx.xxx.xxx
snmpTrapEnterprise=JUNIPER-CHASSIS-CLUSTER-MIB:jnxJsChassisClusterMIB
Also note that when I view the trap details in the Trap Viewer, I see the line in details for jnxJsChClusterSwitchoverInfoCurrentState=primary without any spaces.
However, when the message arrives in my inbox, the message details have been changed to read: jnxJsChClusterSwitchoverInfoCurrentState:= secondary
Please note the addition of a colon and space inserted between the MIB instance and the value.
I have tried the following Trap Details patterns without the alarm alerts being sent:
*jnxJsChClusterSwitchoverInfoCurrentState=primary*
*jnxJsChClusterSwitchoverInfoCurrentState:= primary*
as well as the regular expression:
*jnxJsChClusterSwitchoverInfoCurrentState*=*primary*
Does anyone have suggestions on a better filter, or an explanation on why the ones that I am using are not working?
Also, why aren't my threshold settings firing the alerts even though I can see the alerts in my trap viewer?
Let me know if you need any additional information. Thanks.
Orion Platform 2013.1.0, SAM 5.5.0, NCM 7.1.1, NPM 10.5, NTA 3.11.0, UDT 2.5.1, IVIM 1.6.