Ad Widget

Collapse

Putting in Current and Previous values in Alert Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lifezard
    Junior Member
    • May 2006
    • 5

    #1

    Putting in Current and Previous values in Alert Messages

    Hi all,

    I am wondering if anyone has the same problem. I am trying to put in the Current and Previous values of the monitored variable (or item as it is called in Zabbix) into the alert email messages.

    Obviously, I should put in the format {hostname:key.func(param)}
    for eg. the current value => {hostname:item.last(0)}
    while the previous value => {hostname:item.prev(0)}

    However it means I need to add in these lines for every individual machines, is it not, since hostname is different for different hosts. It will be very tedious if you have half a hundred machines and each a dozen items to .. is there a better way to speed up the process?

    I am using 1.1betav8 .. any feedbacks is appreciated

    lifezard
Working...