check_http_content please help

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

check_http_content please help

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_http_content please help

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked