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
"Connection Time Out" on http responce check
-
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
When I run the following from the command line it works fine
so, I would suggest changing $ARG1$ to just www.sunpowercorp.com.au
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
Re: "Connection Time Out" on http responce check
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
can anyone help me?
thanks,
-Pamps
Re: "Connection Time Out" on http responce check
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:
I was able to run it successfully from the command line - see the image below:
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!
Re: "Connection Time Out" on http responce check
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
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
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:
Also:
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.auCode: Select all
cd /tmp
wget http://www.sunpowercorp.com.au