I need to run a health-check against a large number of hosts, ideally any host in a template.
The health-check is from a specific system to a remote client using HTTP and verifying that a given URL produces a "healthy" response.
So the check in question ideally would be something like
(template -- serviceA-healthcheck)
web
http variables:
Host: servicethingy.mycompany.us
Http URL:
http://{HOST.IP}/path/to/healthcheck.php
expected result:
HTTP code: 200
Output string: OK
The thing I can't figure out is -- how to put that webapp into a "webserver" template (that checks for things like is php-fpm running or free disk space) but have the check run by a zabbix server or proxy.
Thanks for any advice!
The health-check is from a specific system to a remote client using HTTP and verifying that a given URL produces a "healthy" response.
So the check in question ideally would be something like
(template -- serviceA-healthcheck)
web
http variables:
Host: servicethingy.mycompany.us
Http URL:
http://{HOST.IP}/path/to/healthcheck.php
expected result:
HTTP code: 200
Output string: OK
The thing I can't figure out is -- how to put that webapp into a "webserver" template (that checks for things like is php-fpm running or free disk space) but have the check run by a zabbix server or proxy.
Thanks for any advice!
Comment