Hello everybody
I'm new in the Forum and Zabbix software configuration, I've understood almost everything. I'm sending this trap from a monitored host to zabbix server. Considering a Trap like this:
I've setup a Trigger like this:
Name: Connection Down for <VARIABLE CONTENT>
Expression: {plantest:snmptrap["3003"].prev()}=3003
If the expression match, I would like to display a trigger title with the string "Connection-down for the SITE: TESTPLANT HOST ID 4" (according to this trap i'm sending).
Is there a way to setup a variable like this inside the TITLE FIELD of a TRIGGER?
My goal would be to have a single trigger that can 'trap and display' wich testplant host id has gone down
Thanks a lot for any help or suggestions
giordano
I'm new in the Forum and Zabbix software configuration, I've understood almost everything. I'm sending this trap from a monitored host to zabbix server. Considering a Trap like this:
Code:
snmptrap -v 1 -c public <zabbix_srv_ip> '.1.3.6.1.4.1.2789.2500' "" 6 3003 "" .1.3.6.1.4.1.2789.2500.3003.1 s "206961956" .1.3.6.1.4.1.2789.2500.3003.2 s "76&TESTPLANT&MSC" .1.3.6.1.4.1.2789.2500.3003.3 s "Critical" .1.3.6.1.4.1.2789.2500.3003.4 s "BLOCKED_CONNECTION_DOWN" .1.3.6.1.4.1.2789.2500.3003.5 s "Communications Alarm" .1.3.6.1.4.1.2789.2500.3003.6 s "Connection Establishment Error" .1.3.6.1.4.1.2789.2500.3003.7 s "Blocked due to connection down" .1.3.6.1.4.1.2789.2500.3003.8 s "Connection-down for the SITE: TESTPLANT HOST ID 4" .1.3.6.1.4.1.2789.2500.3003.9 s "3003"
Name: Connection Down for <VARIABLE CONTENT>
Expression: {plantest:snmptrap["3003"].prev()}=3003
If the expression match, I would like to display a trigger title with the string "Connection-down for the SITE: TESTPLANT HOST ID 4" (according to this trap i'm sending).
Is there a way to setup a variable like this inside the TITLE FIELD of a TRIGGER?
My goal would be to have a single trigger that can 'trap and display' wich testplant host id has gone down
Thanks a lot for any help or suggestions
giordano