Ad Widget

Collapse

using "{host:key.func(param)}" to display arbitrary value in trigger email?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stephen Wood
    Member
    • Feb 2012
    • 43

    #1

    using "{host:key.func(param)}" to display arbitrary value in trigger email?

    In the email from a trigger alarm, I'd really like to include an arbitrary string that's pulled from each machine. It's acquired using the item "system.run[echo $VARIABLE]" on each machine.

    According to the zabbix man, this should be able to be accomplished using:

    {host:key.func(param)}

    But how do you use this? I tried various things like:

    {{HOSTNAME}:{"system.run[echo $VARIABLE"}.last(0)}

    Inside the body of an action, but can't get it to display. Any idea how I can get any email from this trigger to display this value? Can it only be integrated into the actual trigger?
    Last edited by Stephen Wood; 31-08-2012, 01:45.
Working...