Search found 5 matches

by phroggelator
Wed Jan 14, 2015 9:51 pm
Forum: Open Source Nagios Projects
Topic: check_http issue
Replies: 1
Views: 2751

check_http issue

Background: We have several web servers behind a load balancer. I am trying to check each individual server to ensure the various apache vhosts they have are working correctly. The problem is that when I run: check_http -H <apache_vhost> -v I get the correct page back (as expected) - however this is...
by phroggelator
Mon May 12, 2014 8:35 pm
Forum: Open Source Nagios Projects
Topic: check_tcp strangeness
Replies: 8
Views: 3486

Re: check_tcp strangeness

My bad, I should have more explicit about it being 0x0 rather than just saying NUL. I pretty much figured it trying to strip silly chars would result in undesirable behaviour without a lot of effort, but it never hurts to ask. As to the protocol itself, having found the definiton document for it, it...
by phroggelator
Mon May 12, 2014 3:21 am
Forum: Open Source Nagios Projects
Topic: check_tcp strangeness
Replies: 8
Views: 3486

Re: check_tcp strangeness

After a bunch more testing it turns out that the the first three characters returned by the server (by protocol) is NUL.... This will of course break a few things. Thus the code is telling no lies when it says it cannot find the string. Is there any way to have the check_tcp strip unacceptable chara...
by phroggelator
Sun May 11, 2014 9:55 pm
Forum: Open Source Nagios Projects
Topic: check_tcp strangeness
Replies: 8
Views: 3486

Re: check_tcp strangeness

Hmmmm... well that makes it interesting. I'll try it with a 2.0.1 build and see wha happens. The response I get from the server is wrapped up in XML, though I cant see whay that might make a difference. FWIW I tried this from both the latest stable debian and RHEL servers with the same result. I'll ...
by phroggelator
Wed May 07, 2014 10:57 pm
Forum: Open Source Nagios Projects
Topic: check_tcp strangeness
Replies: 8
Views: 3486

check_tcp strangeness

Does the -e option work correctly? Looking at the code I cant see any special reason why it wouldn't, but I haven't written C code for many years. My problem is this. I have a service running on an unusual port that I need to check. When I connect to the service I get a particular response and I'd l...