I've been using Zabbix mostly with the built-in templates, but I've now started to create a custom template for my Cisco routers (using SNMP), I've created all the Items I want to monitor and now need to create triggers. I can create triggers the same way as the other templates, but those triggers doesn't really send you friendly messages. So I created 2 Triggers:
if1 on {HOSTNAME} is Down | {Cisco_t:ifAdminStatus1.last(0)}#1
if1 on {HOSTNAME} is Up | {Cisco_t:ifAdminStatus1.last(0)}=1
Is there a way that I can replace "if1" with a Macro that will return the "if1" name as I record in the DB (using a key called ifDescr.1)
Is there also a way to maybe create only 2 rules (like above) but have the trigger monitor "ifAdminStatus1" through "ifAdminStatus12" without recreating additional triggers for every other Key.
if1 on {HOSTNAME} is Down | {Cisco_t:ifAdminStatus1.last(0)}#1
if1 on {HOSTNAME} is Up | {Cisco_t:ifAdminStatus1.last(0)}=1
Is there a way that I can replace "if1" with a Macro that will return the "if1" name as I record in the DB (using a key called ifDescr.1)
Is there also a way to maybe create only 2 rules (like above) but have the trigger monitor "ifAdminStatus1" through "ifAdminStatus12" without recreating additional triggers for every other Key.
Comment