Ad Widget

Collapse

values in alert message not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bill.unger
    Member
    • Jun 2007
    • 79

    #1

    values in alert message not working

    Probably a simple question, but I have this defined in the message body of an Action (fired from a trigger):

    {{ HOSTNAME}:{TRIGGER.KEY}.last(0)}

    Unfortunately, the message of the email contains the above literal literal string. Am I missing something?

    tia,
    Bill
  • trikke
    Senior Member
    • Aug 2007
    • 140

    #2
    Hi Bill,

    works for me, but maybe the "blank" in front of the HOSTNAME is not alowed???
    What Version are u on? I think not all keywords are allowed for versions before 1.4.x ( though documented)

    Greets
    Patrick

    Comment

    • bill.unger
      Member
      • Jun 2007
      • 79

      #3
      Originally posted by trikke
      Version are u on? I
      Patrick
      I am running v1.4.4

      Comment

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

        #4
        Originally posted by bill.unger
        Probably a simple question, but I have this defined in the message body of an Action (fired from a trigger):

        {{ HOSTNAME}:{TRIGGER.KEY}.last(0)}

        Unfortunately, the message of the email contains the above literal literal string. Am I missing something?

        tia,
        Bill
        You may try to get rid of the spaces to make it work.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • bill.unger
          Member
          • Jun 2007
          • 79

          #5
          Originally posted by Alexei
          You may try to get rid of the spaces to make it work.
          I am using the triggers to monitor the windows event log and unfortunately, I can't get the triggers to fire again and test my changes... <sigh> I have created a scenario that forces errors into the event log, but the trigger won't fire... any thoughts?

          Is it me or is Zabbix monitoring and triggering of the EventLog a little picky?

          tia,
          B

          Comment

          Working...