Hi Jar,
Probably the first piece of feedback I can give is exposing the
ConnectionException in the send_nsca(LoggingEvent) method:
Socket s = null;
try
{
while( true )
{ try
{
s = new Socket( getHost(), (new Integer
(getPort())).intValue() );
break;
}
catch( java.net.ConnectException e )
{
return;
}
}
This is a classic error handler situation? Or worst case a LogLog-
like message. (great for new people using the appender when they dumb
like me and have something local preventing the connection).
I'll have more feedback once we've configured Nagios locally and can
feed events to it.
cheers,
Paul Smith
On 07/07/2005, at 4:16 AM, Jar Lyons wrote:
Below is a link that developers and administrators might find
useful for
sending alerts from Java applications directly to Nagios.
http://sourceforge.net/projects/nagiosappender/
--
Jar Lyons
Software Engineer
Mobliss Inc. [ http://www.mobliss.com ]
206-332-1749
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]