Page 1 of 1

check_http_content please help

Posted: Mon Jul 15, 2013 7:27 am
by reincarne
Hi,
I need help with one of the plugins, or a least an alternative solution.
I have a Nagios server, that is installed on a dedicated machine, lets say server IP is x.x.x.x .
I have an IIS server which is running a specific webpage. It is an HTTPS website, but its not the problem. I want to monitor this website
using the plugin "check_http_content" which I downloaded from Nagios exchange. Since I want to monitor this web page locally, the only way to browse it is only using these links:
http://localhost/
http://127.0.0.1/

But if I put one of the addresses mentioned above to the check, it browses the local web page of Nagios. Is there a way to run check_http_content localy on the IIS (let say the IP is y.y.y.y) ? Maybe using nrpe?

If you didn't understand the problem, please let me know.
Thanks.

Re: check_http_content please help

Posted: Mon Jul 15, 2013 9:41 am
by abrist
If you cannot access the web page on the IIS box remotely, then you will need to use an agent and a windows plugins script to check it. This can be done with nsclient in nrpe mode and a powershell script.