Link to home
Start Free TrialLog in
Avatar of kiba34
kiba34

asked on

nagios monitoing web site

Hi all

I want to monitor the up time for a web site that has been giving us problems. I'm using nagios 3.oa3.

I have created a service check called webcheck and included a check_http

My question is how can I check the site in question http://mysite.com/sitea/sitebĀ ? Is the define service set up like

define service {
use generic-service
host_name myhost
service_description My WWW
check_command check_http!http://www.host.domain/!"My Site"

But how can I setup the check_command for http?

define command {
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ -u $ARG1$ -s $ARG2$
}

When I set this config up nagios UI reports this warning HTTP WARNING: HTTP/1.1 400 Bad Request

[ Edited Tue May 01 2007, 09:38AM ]
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lotusleaf6
lotusleaf6

Hi there,
Just a quick suggestion, check out http://www.groundworkopensource.com/community/forums/index.php
I find most of my nagios issues here. Versions aside the basics are generally the same. If you decide to check out this site have a look at the opensource version of their product, might be of use to yourself at some point... Thanks