Ad Widget

Collapse

Different trigger names based on status?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #1

    Different trigger names based on status?

    This would be a great feature for the next releases :

    When the trigger is in "false" state the trigger name is e.g. like this : Server {Hostname} is reachable.

    When the trigger is in "true" state the trigger name is e.g. : Server {HOSTNAME} is unreachable.

    So the recovery message is automatically right and can be the same like the normal message.

    regards welkin
  • ManuelS
    Junior Member
    • Apr 2009
    • 1

    #2
    is this already implemented?

    would be great to have something like this...

    --
    Regards,

    Manuel

    Comment

    • arli
      Member
      • Jan 2008
      • 71

      #3
      Just create value mapping:
      0 > unreachable
      1 > reachable
      ... and link this to icmpping item (under Show value property)

      Now you can just use "Host" for host up/down trigger name and this for action message:
      {HOSTNAME}/{TRIGGER.NAME} is {{HOSTNAME}:{TRIGGER.KEY}.last(0)}

      Notifications will be like:

      server.example.com/Host is reachable
      server.example.com/Host is unreachable

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Nice workaround!
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...