Sending passive checks from Java applications with no code c


If your Java application uses log4j, you can start sending passive checks to Nagios without any code changes.

The following link provides for a custom log4j appender that implements the NSCA protocol in native Java. All you need to do is use one of the log4j example property files to set up your host / service names and voila!, nagios will start receiving passive checks!!!