Hi,
I'm playing around with external scripts to monitor my HP-Hardware, i'm using
check_ilo2_health and check_hpasm to get the integrated "hpasm" output.
Everything is working fine, but i get always an email if the value of th item change, this is a litte disturbing
so I thought, I only want to get an alert if the value wrong for the second or third time.
This is my trigger:
{SRV:chhpasm[{HOST.CONN}].str(OK - System)}
I tried something like this:
{SRV:chhpasm[{HOST.CONN}].str(OK - System).num(#3)}
{SRV:chhpasm[{HOST.CONN}].str(OK - System,#3)}
{SRV:chhpasm[{HOST.CONN}].str(OK - System).max(#3)}
but nothing changed...(zabbix doesn't accept triggers like that .. syntax error)
whats the best way to modify the trigger that it only becomes true when the value is wrong for the third time?
thx,
Hawky
I'm playing around with external scripts to monitor my HP-Hardware, i'm using
check_ilo2_health and check_hpasm to get the integrated "hpasm" output.
Everything is working fine, but i get always an email if the value of th item change, this is a litte disturbing
so I thought, I only want to get an alert if the value wrong for the second or third time.This is my trigger:
{SRV:chhpasm[{HOST.CONN}].str(OK - System)}
I tried something like this:
{SRV:chhpasm[{HOST.CONN}].str(OK - System).num(#3)}
{SRV:chhpasm[{HOST.CONN}].str(OK - System,#3)}
{SRV:chhpasm[{HOST.CONN}].str(OK - System).max(#3)}
but nothing changed...(zabbix doesn't accept triggers like that .. syntax error)
whats the best way to modify the trigger that it only becomes true when the value is wrong for the third time?
thx,
Hawky
Comment