"Connection Time Out" on http responce check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pamps101
Posts: 3
Joined: Wed Jan 18, 2012 2:02 am

"Connection Time Out" on http responce check

Post by pamps101 »

can anyone help me on my setup on Nagios Xi.

i can successfully browse the website and viewable but the Status Information i get is "Connection time out" see below commands i used.

Command Name: check_http_response_host
Command line: $USER1$/check_http -H $ARG1$ --onredirect=follow -t $ARG2$ -p $ARG3$ -u $ARG4$ -e $ARG5$

my argument specified:
arg 1= http://www.sunpowercorp.com.au
arg2 =15
arg3 = 80
arg4= http://www.sunpowercorp.com.au or http://www.sunpowercorp.com.au/
arg5 = 301,200,302

regards,
-Pamps
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "Connection Time Out" on http responce check

Post by scottwilkerson »

When I run the following from the command line it works fine

Code: Select all

./check_http -H www.sunpowercorp.com.au --onredirect=follow -t 15 -p 80 -u http://www.sunpowercorp.com.au -e 301,200,302
so, I would suggest changing $ARG1$ to just www.sunpowercorp.com.au
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pamps101
Posts: 3
Joined: Wed Jan 18, 2012 2:02 am

Re: "Connection Time Out" on http responce check

Post by pamps101 »

i already did changing it to www.sunpowercorp.com.au or only sunpowercorp.com.au but STILL it won't work for me...

can anyone help me?

thanks,
-Pamps
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: "Connection Time Out" on http responce check

Post by lmiltchev »

Are you having troubles with running the command from the command line or with running it in the web interface?

I was able to run it successfully from the command line - see the image below:
check_http.png
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
pamps101
Posts: 3
Joined: Wed Jan 18, 2012 2:02 am

Re: "Connection Time Out" on http responce check

Post by pamps101 »

Hi lmiltchev,

thanks for you reply, i appreciate is a lot.

i'm configuring it via web interface... i've also attached the screenshot here on my reply.

what do you think the issue i'm encountering?

thanks,
-Pamps
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "Connection Time Out" on http responce check

Post by scottwilkerson »

I have confirmed that these exact settings work perfectly on my machine.

This leads me to believe that your Nagios XI server cannot reach www.sunpowercorp.com.au or that your DNS serviers are incorrectly resolving the address.

From the command line of the Nagios XI server can you run the following and report back:

Code: Select all

dig www.sunpowercorp.com.au
Also:

Code: Select all

cd /tmp
wget http://www.sunpowercorp.com.au
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked