check_http behaviour question.

George McKinney GMcKinney at cucbc.com
Mon Aug 13 23:58:56 CEST 2007


I've written a Java application that our operations team wants to
monitor via Nagios ( version 1.2 of Nagios ).

 

Because my app is non-http, I used thecom.sun.net.httpserver.HttpServer
class ( a lightweight http server ) to provide the information that ops
wants.

 

when ops uses wget to call the appropriate url , it returns immediately,
with the expected output.

when ops uses check_http, it hangs until it gets a SocketTimeout.

 

I have seen a bug report re HttpServer that suggests that it doesn't
immediately close the connection when it is told to ( as I am telling it
to ), so that may be the problem, but wonder if there might be something
about Nagios that is causing this. 

 

Thanks,

--

George McKinney

Senior Software Developer/Analyst

MemberDirect(r) Product Development

phone: 604 737 5900

email: gmckinney at memberdirect.ca <mailto:gmckiney at memberdirect.ca> 

website: memberdirect.ca

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070813/182d353b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list