PDA

View Full Version : Call a URL from an action


Monkey
26-03-2010, 18:36
I have a few informational triggers that I want to perform an action on. I want these actions to call a simple web page - and pass in some information as URL parameters if I need to.

Right now I have:
{HOSTNAME}:wget http://example.org/script.php?IP={IPADDRESS}

This doesn't seem to be working. My thought is because of the {HOSTNAME} - since I am not running an agent on the machines triggering this alert. I really want the Zabbix server to call the URL listed. Can someone point me in the right direction?

richlv
07-04-2010, 19:00
if you want zabbix server to run the command, just use custom alert script (administration -> media types)