Ad Widget

Collapse

Value map in action email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skullone
    Member
    • Mar 2007
    • 46

    #1

    Value map in action email

    Is there a way to include the value map values in the action e-mail?
    Sending an e-mail with Web Server down: On
    Using the {Trigger.value} is not very logical... yes, the trap is on, because the web server is down.
    But when you send a page out at 3am, you dont want someone to read "On" and go back to bed.
    Can the action e-mail reference the value map somehow, so the webserver says DOWN, or the RAID status shows DEGRADED or FAILED. All depending on the value map entries?
  • skullone
    Member
    • Mar 2007
    • 46

    #2
    Anyone?

    Comment

    • michaeltje
      Member
      • Aug 2007
      • 44

      #3
      Im wondering if this is possible aswell, it would be great.

      Comment

      • dreas
        Member
        • Aug 2007
        • 89

        #4
        I posted a similar topic before http://www.zabbix.com/forum/showthread.php?t=7262 . I am not too sure if the proposed solution there is working though.

        Comment

        • skullone
          Member
          • Mar 2007
          • 46

          #5
          It partially worked, came up with something more complete:

          Subject: {TRIGGER.NAME}

          Body:{HOSTNAME}::{TRIGGER.KEY}::{{HOSTNAME}:{TRIGG ER.KEY}.last(0)}


          I wish the Trigger could contain the last value in the actual trigger name... ah well

          Comment

          Working...