Search found 6 matches
- Fri Dec 14, 2012 10:28 am
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Re: Puzzling problem with check_http
Finally got it working in the same host block as all the other checks, here's the old and new check_http configurations - # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } # 'check_http_new' command definition define c...
- Thu Dec 13, 2012 12:50 pm
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Re: Puzzling problem with check_http
Thanks for your input, I'll try some of the other check_http options & see what I can come up with
- Thu Dec 13, 2012 12:20 pm
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Re: Puzzling problem with check_http
Not an ideal solution but I've cracked it In the host.cfg I created another 'define host' block with the website's IP and a different host_name / alias. This now works but I see it as a different host under Services in the web interface where I wanted all service on the same host to be in the same b...
- Thu Dec 13, 2012 11:53 am
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Re: Puzzling problem with check_http
Correct me if I'm wrong, but I don't think that'll work since there are a number of sites listening on the same IP (also, check_http already allows you to define an IP address)
- Thu Dec 13, 2012 10:42 am
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Re: Puzzling problem with check_http
No additional parameters - check_http!www.mysite.com I should add that as I've changed the website IP, that now differs from the IP set as the host address at the top of the relevant host.cfg file, though as the given hostname resolves correctly I can't see that making any difference, hope that make...
- Wed Dec 12, 2012 7:21 pm
- Forum: Open Source Nagios Projects
- Topic: Puzzling problem with check_http
- Replies: 9
- Views: 7867
Puzzling problem with check_http
Hi all, For a while I've been checking a website with check_http, today I moved the site to a different IP, changed the DNS etc. and everything still works as it should, except that Nagios is showing CRITICAL / Connection refused on the web interface, though when I run check_http manually it checks ...