website monitor wizard failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jrandall
Posts: 1
Joined: Fri Apr 22, 2011 11:41 am

website monitor wizard failure

Post by jrandall »

I use tomcat to provide web services for an application. I specified a non-standard port number (29772) since I have multiple instances of this application running on the same server. I used the monitoring wizard in Nagios XI to set up a monitor for the web page content of this instance of the application . The web page content portion of the monitor works fine. However, there is another portion of the monitor that appears to perform a check of the host on the default http port. Since I don't run IIS, apache or any other complete web server on the box, this check fails.

I do not see any way from either the wizard or from the Core config manager to change the default http port.

I was able to fake out this host check by changing the IP address of the host in the host statu detail page. Changing the IP address of the host did not affect the web content monitor. This is not a viable long term solution.

How do I re-direct the default http port to my alternate port? If that can't be done, how do I remove this host check but keep the web content monitor?

Thanks,
John
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: website monitor wizard failure

Post by rdedon »

One of our team has been working with Tomcat recently and I will see if he has any insight into this.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: website monitor wizard failure

Post by tonyyarusso »

The host check is probably using check_xi_host_http, which in turn uses the check_http plugin. If 29772 returns an HTTP response, then add the -p switch as an argument, as noted in check_http's help output. If not, change the check command for that host in the Core Config Manager to a generic TCP check against 29772, or whatever else you want to do.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: website monitor wizard failure

Post by niebais »

tonyyarusso wrote:The host check is probably using check_xi_host_http, which in turn uses the check_http plugin. If 29772 returns an HTTP response, then add the -p switch as an argument, as noted in check_http's help output. If not, change the check command for that host in the Core Config Manager to a generic TCP check against 29772, or whatever else you want to do.
I usually modify my options to look like this:

check_http -H hostname -u /index.html -f follow -w 25 -c 30. If it's an ip just change it to check_http -I ipaddress. Sometimes you have to modify the options after the XI wizard sets it up.
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: website monitor wizard failure

Post by admin »

Thanks for the tip!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
Locked