Hello,
I use zabbix to catch my SNMP traps and it's working well. Now I'm trying to add some triggers to these traps. My trigger looks like this:
{SERVER:snmptraps.regexp(^.*BSMainDoorOpen*.*Clear $)}=0 | {SERVER:snmptraps.regexp(^.*BSMainDoorOpen*.*Occur rence$)}=1
I'm trying to catch traps:
"tBSMainDoorOpen: kTrapLogNextIndex:22 kCommonAlarmStatus:Occurrence" and get the trigger TRUE and
"tBSMainDoorOpen: kTrapLogNextIndex:21 kCommonAlarmStatus:Clear" and get the trigger FALSE.
The problem is that if only this traps occur everythings work fine but if the trigger is TRUE and I get some other trap the trigger changes status to FALSE. Long story short: every trap except "tBSMainDoorOpen: kTrapLogNextIndex:21 kCommonAlarmStatus:Clear" changes status from FALSE to TRUE. I can't understand why. Can anyone help me out?
I use zabbix to catch my SNMP traps and it's working well. Now I'm trying to add some triggers to these traps. My trigger looks like this:
{SERVER:snmptraps.regexp(^.*BSMainDoorOpen*.*Clear $)}=0 | {SERVER:snmptraps.regexp(^.*BSMainDoorOpen*.*Occur rence$)}=1
I'm trying to catch traps:
"tBSMainDoorOpen: kTrapLogNextIndex:22 kCommonAlarmStatus:Occurrence" and get the trigger TRUE and
"tBSMainDoorOpen: kTrapLogNextIndex:21 kCommonAlarmStatus:Clear" and get the trigger FALSE.
The problem is that if only this traps occur everythings work fine but if the trigger is TRUE and I get some other trap the trigger changes status to FALSE. Long story short: every trap except "tBSMainDoorOpen: kTrapLogNextIndex:21 kCommonAlarmStatus:Clear" changes status from FALSE to TRUE. I can't understand why. Can anyone help me out?