Getting critical notification:
HTTP CRITICAL: HTTP/1.1 500 Internal Server Error - 864 bytes in 0.005 second response time
How to resolve it. ?
I've manually check it. it seems to be ok.
HTTP OK: HTTP/1.1 200 OK - 348 bytes in 0.002 second response time |time=0.001759s;5.000000;15.000000;0.000000 size=348B;;;0
check_http warning
Re: check_http warning
I have rotate the logs,restart httpd,restart nagios server and service, restart xinetd, stop iptables. All the possible solutions come into my mind had implemented but the error still same.
Kindly help me....
Kindly help me....
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_http warning
Can you share both your nagios command definition for this service, and the manual command you were running that came through fine? Thanks.
Re: check_http warning
Here's the command i put manually:
command# /usr/lib64/nagios/plugins/check_http -H HOSTNAME
[output]
HTTP OK: HTTP/1.1 200 OK - 348 bytes in 0.002 second response time |time=0.001660s;;;0.000000 size=348B;;;0
Here's the command definition:
# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ -t 20
}
I'm using this command definition without timeout "-t 20" but no effect take place.
command# /usr/lib64/nagios/plugins/check_http -H HOSTNAME
[output]
HTTP OK: HTTP/1.1 200 OK - 348 bytes in 0.002 second response time |time=0.001660s;;;0.000000 size=348B;;;0
Here's the command definition:
# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ -t 20
}
I'm using this command definition without timeout "-t 20" but no effect take place.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: check_http warning
Your test and command use two different arguments.
Your manual test uses -H
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
Append a port to include it in the header (eg: example.com:5000)
Your command uses -I
-I, --IP-address=ADDRESS
IP address or name (use numeric address if possible to bypass DNS lookup).
Also, you've given us the command, but not the service definition so we don't know what is in your $ARG1$ field
Your manual test uses -H
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
Append a port to include it in the header (eg: example.com:5000)
Your command uses -I
-I, --IP-address=ADDRESS
IP address or name (use numeric address if possible to bypass DNS lookup).
Also, you've given us the command, but not the service definition so we don't know what is in your $ARG1$ field
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: check_http warning
Wow that's the great, it seems to be a minor changes but the issue is resolved.
But we were using it with "-I" since the server was first configured.
Thanks for your cooperation.
But we were using it with "-I" since the server was first configured.
Thanks for your cooperation.