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: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

website: memberdirect.ca

 

-------------------------------------------------------------------------
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/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to