Hello there,
My Zabbix monitors IPBX via SNMP traps.
I have a trigger which alerts in case of loss of a card present in the IPBX.
These cards have particular positions but the trap does not differentiate these positions. This has the consequence that a return to normal trap can close the trigger even if they are different cards on the same host.
To solve this problem I added a preprocessing to the item corresponding to the trigger via a regex and add {ITEM.VALUE} as a tag in the trigger. This associated with another return to normal trigger also containing this tag makes it possible to close the problem trigger and the return to normal trigger manually since they have the same tag.
Now I would like to make these triggers close automatically because there is a lot of card loss event.
To put it simply, I would like an upcoming trap with a specific tag to be able to auto close an event with the same tag. Is it possible?
I tried different things like this but it didn't work:
{cs-adm-iq.enedis-grdf.fr:snmptrap[.* 2042 .*].str({ITEM.VALUE},15m)}={cs-adm-iq.enedis-grdf.fr:snmptrap[.* 2019 .*].str({ITEM.VALUE},15m)}
Hope to be clear enough, sorry if not
Thank you in advance for your help
My Zabbix monitors IPBX via SNMP traps.
I have a trigger which alerts in case of loss of a card present in the IPBX.
These cards have particular positions but the trap does not differentiate these positions. This has the consequence that a return to normal trap can close the trigger even if they are different cards on the same host.
To solve this problem I added a preprocessing to the item corresponding to the trigger via a regex and add {ITEM.VALUE} as a tag in the trigger. This associated with another return to normal trigger also containing this tag makes it possible to close the problem trigger and the return to normal trigger manually since they have the same tag.
Now I would like to make these triggers close automatically because there is a lot of card loss event.
To put it simply, I would like an upcoming trap with a specific tag to be able to auto close an event with the same tag. Is it possible?
I tried different things like this but it didn't work:
{cs-adm-iq.enedis-grdf.fr:snmptrap[.* 2042 .*].str({ITEM.VALUE},15m)}={cs-adm-iq.enedis-grdf.fr:snmptrap[.* 2019 .*].str({ITEM.VALUE},15m)}
Hope to be clear enough, sorry if not
Thank you in advance for your help
Comment