Search found 9 matches

by ctwhyexit123
Mon Oct 23, 2017 5:12 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

Unfortunately no.
I'm going to do a run through of all settings again and will post back if I see something different.

Thanks!
by ctwhyexit123
Fri Oct 20, 2017 3:39 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

The -f flag was used on the CLI as a test to get the 200 response. I used it once on the config file but didn't see a change in response. All the other checks pass (Disk/CPU/Users/Memory/Process) except this check. I don't know if we have the local-service template but I used it as a check to see if...
by ctwhyexit123
Thu Oct 19, 2017 4:06 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

Thank you for these detailed instructions. Wouldn't check_http -H www.domain.com traverse the internet from the Nagios host rather than go to the remote host and then go to the internet from that host. There are no firewalls in between so the network is wide open for Nagios traffic. [root@nagioshost...
by ctwhyexit123
Thu Oct 19, 2017 7:06 am
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

Thank you.
I changed it to match as per your code below but it doesn't work. The dashboard still says Service check timed out after 60.01 seconds

I restarted the services after making the change.
by ctwhyexit123
Tue Oct 17, 2017 1:34 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

This is how it looks,

# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
by ctwhyexit123
Tue Oct 17, 2017 11:10 am
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

I did a nagios restart. This works on the CLI manually. Not on the dashboard. [root@hostname libexec]# ./check_http -H domain,com HTTP OK: HTTP/1.1 301 Moved Permanently - 378 bytes in 0.232 second response time |time=0.231502s;;;0.000000 size=378B;;;0 The -f follow also works and gives me a 200 OK ...
by ctwhyexit123
Tue Oct 17, 2017 7:30 am
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

Thank you for your response. This is my check_http version [root@hostname nagios]# /usr/local/nagios/libexec/check_http -V check_http v2.2.0.git (nagios-plugins 2.2.0) I have something similar but changed from generic-service to local-service as you had put define service{ use local-service host_nam...
by ctwhyexit123
Wed Oct 11, 2017 5:31 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

Re: check_http socket timeout

Thank you for your response. I don't think I can PM (as per Nagios site policy) as I just joined. Can you PM me your e-mail.
by ctwhyexit123
Wed Oct 11, 2017 3:17 pm
Forum: Open Source Nagios Projects
Topic: check_http socket timeout
Replies: 20
Views: 15219

check_http socket timeout

We are seeing a very odd problem on our Nagios environment. We have check_http setup to monitor 7 sites on 7 different servers and it works fine giving an OK status. We have two more setup to do the same on two different servers and it doesn't work. This is our line on the Nagios Server, define serv...