2016-11-09 16:26:34 +01:00
|
|
|
# Discover if an httpd instance is running and has mod_status available on http://127.0.0.1/server-status
|
|
|
|
# Just return {#HTTPD_STATUS_AVAILABLE} => 'yes' if found
|
|
|
|
UserParameter=httpd.discovery,/var/lib/zabbix/bin/disco_httpd
|
|
|
|
|
|
|
|
# Stats to get
|
2016-11-09 17:15:49 +01:00
|
|
|
UserParameter=httpd[*],/var/lib/zabbix/bin/check_httpd --uri $1 --what $2
|