PDA

View Full Version : ping


ben
29-07-2005, 15:57
Hello again :) ,

I ping a server with a "simple check". Now I want to make a trigger, which send an email if the server is down. Which expression I shall use?

Best regards
BEN

Rudolf
29-07-2005, 17:23
{your-server:your-key.last(0)}>your-value
and then in the action you select Send message to...
the mail address you define in the user setup

but... there's a good documentation about all that (http://www.zabbix.com/manual/v1.1/index.php)

Nate Bell
29-07-2005, 18:34
I tried using ping to detect when a host was down, but the item just went into a state of UNKNOWN, so the trigger never got tripped. I don't think I tried a simple check ping, but be aware you may run into the same problem. I ended up using icmpping which returns 1 if it can reach the host, and 0 if it can't. So your trigger to catch a downed host would be:
{Hostname:icmpping.last(0)}=0

Nate