Ad Widget

Collapse

Email message doesnt show hostname

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrRobbert
    Member
    • Nov 2006
    • 50

    #1

    Email message doesnt show hostname

    Hi Guys,

    Few days ago i started installing and configuring my zabbix server, now i have the following question.

    I configured an email action to inform me when a zabbix agent is down... the trigger works fine but th eemail message doesnt display me all the information i needed.

    I configured the action like this:

    Trigger value = "ON"
    Trigger severity = "High"


    Subject:
    {TRIGGER.Zabbix_agentd is not running on Unix_t }: {STATUS}

    Message:
    {TRIGGER. Zabbix_agentd is not running on Unix_t }: {STATUS}

    Zabbix_agentd is not running




    This is what the email message showed me:

    Subject:

    :ON


    Message:
    : ON

    Zabbix_agentd is not running




    Grz Robbert
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    It should be (literally):
    {TRIGGER.NAME} : {STATUS}

    {TRIGGER.NAME} will be replaced by the actual trigger that caused the action.

    This allows you to create a single action for multiple triggers.

    For example, I have a "default" action with a single condition: "Host group = Production_Servers". If any trigger from a production server changes it's state (goes from TRUE to FALSE or FALSE to TRUE), I'm notified with the following "generic" message:

    Subject: {HOSTNAME} {TRIGGER.NAME}: {STATUS}
    Message:
    {HOSTNAME} {TRIGGER.NAME}: {STATUS}
    {DATE} {TIME}

    Depending on the severity of the trigger, I may or may not be notified (depends on what severity you've checked when creating your media).

    Comment

    • MrRobbert
      Member
      • Nov 2006
      • 50

      #3
      oke cool, tnx dude

      Comment

      Working...