NagiosAppender is a pure Java implementation of a Log4j appender that allows the developer/administrator to send log records to Nagios via the NCSA server (using the push model). It provides a simple solution for Nagios administrators whose only alternative is to implement a polling function against against the output of a standard Log4j appender. The log4j configuration file provides for user-specific mappings between Log4j levels and Nagios levels. The configuration file also allows the user to select whether to set the Nagios 'service' and 'host' programmatically via Log4j MDC, or via the config file. Later releases support XOR encryption.
|Tags||Logging Monitoring Systems Administration|
|Operating Systems||OS Independent|
Release Notes: This release fixes asynchronous sending, makes socket timeouts controllable via the log4j configuration, lets a configurable buffer cache messages for later delivery if the NSCA server is down (including calculated message delay), and separates the protocol into Nsca.java, which can be used independently from log4j.
Release Notes: Nsca.java allows clients to send messages directly to the NSCA server without any dependence on Log4j.
Release Notes: Documentation on how to setup a maintenance free configuration for monitoring a virtual backroom was added.
Release Notes: This release adds support for a configurable startup message. It adds support for embedding the canonical hostname into message layout. The sample log4j.properties file has been cleaned up to demonstrate functionality.
Release Notes: It is now possible to define inclusion and exclusion regex filters which are applied against the raw message body. These filters can be tailored to allow you to cherry pick exactly the messages you want forwarded and those you do not.