Hi all,
I'm using the 'nodata' function on TCP ping to determine if a server is up or down. Of course I don't want to receive mails or sms messages when a host is down for two seconds, since the problem is most likely to be a small network outage in that case. So this is the expression I use in a trigger:
A agent which doesn't ping for 300 seconds will be marked as "unreachable". Works like a charm, however... When the zabbix_server daemon (not the agent!) has been down for maintenance longer than 300 seconds, all triggers will start to issue alarms on startup and my phone is hit by over 50 text messages.
The nature of the "ping" command prevents me from using the "last(...)" function on it, so I really need to use the "nodata" function. Does anyone have any idea how to fix this? Maybe Zabbix needs some kind of no-trigger or no-actions mode for a minute or two after the daemon has started?
Thanks for your ideas!
I'm using the 'nodata' function on TCP ping to determine if a server is up or down. Of course I don't want to receive mails or sms messages when a host is down for two seconds, since the problem is most likely to be a small network outage in that case. So this is the expression I use in a trigger:
Code:
{Template_Linux:agent.ping.nodata(300)}=1
The nature of the "ping" command prevents me from using the "last(...)" function on it, so I really need to use the "nodata" function. Does anyone have any idea how to fix this? Maybe Zabbix needs some kind of no-trigger or no-actions mode for a minute or two after the daemon has started?
Thanks for your ideas!
Comment