Ad Widget

Collapse

Function output value in "action email" question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcanning
    Junior Member
    • Mar 2006
    • 6

    #1

    Function output value in "action email" question

    I have a situation where I check for available free space on a linux file system (ex. vfs.fs.size[/,pfree]) which has a trigger that checks to see if it falls below a 60 percentage threshold (ex. {linux_serv:vfs.fs.size[/,pfree].last(0)}<60} ). I then have an action setup to email me once this trigger is executed. So far so good. What I would like to do is email the value of the item (ex. vfs.fs.size[/,pfree]) so that I know how much free space I have left below 60%.

    I have tried using the {TRIGGER.KEY} macro in the text of the message but it only gives me the function used not the value of the function.

    I am using Zabbix 1.1beta8.

    Any help would be greatly appreciated!!
  • jcanning
    Junior Member
    • Mar 2006
    • 6

    #2
    I found the answer. The macro to use is {{HOSTNAME}:{TRIGGER.KEY}.last(0)} .

    Cheers!

    Comment

    Working...