Random Project

Works great

I made a few changes since I have a Load Balancer for my 7 webservers and wanted to apply the links to multiple URLs. I added checks but changed service this way:

define service{
host_name web2,web3,web4,web5,web6
service_description blog.website.com
check_command check_nrpe!check_website_response_blog

This was it will check the local web server and then on the local web server I added this:

command[check_website_response_blog]=/usr/lib64/nagios/plugins/check_website_response.sh -u http://blog.website.com/?web2 -w 200 -c 200

Now when a web site goes down it tells me what server its on and that I use “/?web2” to force to use a server instead of letting load balancer decide. Very good tool.

Thank you.