Hi,
I have several websites I need to monitor configured as hosts. Each host has http and http_perf simple checks which work great. The hostname is the URL of the site. e.g. www.google.com
I have written a simple script which outputs the http status code which the server returns. I need this script to be executed from the Zabbix server itself, because there are no agents running on the websites I'm monitoring.
How can I pass the hostname to the UserParameter (e.g. /path/script.sh {HOSTNAME}), and how can I tell Zabbix to execute the script on the Zabbix server itself instead of trying to run it on the host?
Thanks!
John
I have several websites I need to monitor configured as hosts. Each host has http and http_perf simple checks which work great. The hostname is the URL of the site. e.g. www.google.com
I have written a simple script which outputs the http status code which the server returns. I need this script to be executed from the Zabbix server itself, because there are no agents running on the websites I'm monitoring.
How can I pass the hostname to the UserParameter (e.g. /path/script.sh {HOSTNAME}), and how can I tell Zabbix to execute the script on the Zabbix server itself instead of trying to run it on the host?
Thanks!
John
Comment