Ad Widget

Collapse

Simple question about Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cbidwell
    Senior Member
    • Aug 2006
    • 127

    #1

    Simple question about Actions

    Hi all,

    I want to configure zabbix so that when it sends out an email notifying of status, that it doesn't say:

    OFF, it actually will say UP or DOWN instead of OFF or ON. How can I do this?

    I thought it would be {TRIGGER.VALUE} but that's just a 1 or 0.

    Thanks guys.
    Last edited by cbidwell; 20-02-2008, 00:35.
  • cbidwell
    Senior Member
    • Aug 2006
    • 127

    #2
    Is this even possible? Does anyone know how to do this?

    It's kind of weird displaying status messages as a double negative:

    Status: OFF Apache or something. A first glance would make it seem that apache is DOWN.

    I want it do display: Apache is DOWN on {HOSTNAME}

    Comment

    • tokind
      Member
      • May 2007
      • 47

      #3
      I use the trigger name to supply the status message. I have a trigger like a Simple ICMPping on a router. The trigger is named "Connection Timeout POP7".

      The Action is configured to look at
      Host group = "routers" and
      Trigger description like "Connection".

      The Subject line is {TRIGGER.NAME}
      The Message is {DATE}-{TIME}:{TRIGGER.NAME}

      The message I get on my cell phone is "Connection Timeout POP7"
      and the body of the message gives me the date and time the message was generated (in case of delivery delays).

      This works well for me, but I am trying to figure out why I get two messages with each event.

      I suggest that you create your actions based on a trigger name which describes the nature of the event. So when your trigger called "Apache is down" detects that the apache trigger is ON (0)...
      Last edited by tokind; 10-03-2008, 23:25.

      Comment

      • cbidwell
        Senior Member
        • Aug 2006
        • 127

        #4
        This was an easy one for me. I had the same problem. I was getting notifications as the admin and as a user.

        Comment

        Working...