Ad Widget

Collapse

Creating Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johanpre44
    Member
    • Apr 2006
    • 40

    #1

    Creating Triggers

    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.
  • johanpre44
    Member
    • Apr 2006
    • 40

    #2
    Just noticed that it will not help having 2 triggers just for a friendly message, because one of the triggers is always in a true state, and I don't think that that will be very helpfull (true messages on triggers implies that there are problems). Is there still another way to have more friendly trigger messages with using Macros?

    Comment

    Working...