The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Nagios::ConcreteTypes - bundle of real log message types

DESCRIPTION

This package has all of the 'concrete' message types - these correspond to the types of Nagios messages that are parsed.

MESSAGES

HOST ALERT

Logged when a host is seen to go 'up' or 'down'

CURRENT HOST STATE

The boring version of the Host Alert that displays the 'current' state - found at the beginning of nagios log files.

HOST NOTIFICATION

Some message went out to a notify target about a host alert

SERVICE ALERT

Logged when a service has a warning logged against it etc

CURRENT SERVICE STATE

Another boring 'current status' version of a notify, of the service state.

SERVICE NOTIFICATION

Just like the Host Notification, this represents a message that was sent to a notifcation target.

SCHEDULE FORCED SVC CHECK

MESSAGES RELATING TO DOWNTIME SCHEDULING

Many of these are parsed by first getting rid of the 'EXTERNAL_CMD' part from the log message and then re-parsing.

SCHEDULE SVC DOWNTIME

Someone scheduled downtime for a service.

SVC DOWNTIME ALERT

A downtime period for a service has started/finished

HOST DOWNTIME ALERT

A downtime period for a host has started/finished

MESSAGES RELATING TO FLAPPING

HOST FLAPPING ALERT

MESSAGES THAT ARE SPECIALLY CONSTRUCTED

These messages don't fit the regular format, and have exceptions - so these classes are manually created.

MooseX::Nagios::SignalDeath

When you see a logged message about Nagios dying, create one of these.

BORING MESSAGES

These messages are all considered disinteresting (they use the Nagios::IgnorableMessage role)

LOG VERSION

Displaying the log version format ... actually probably we need to raise an exception if the version is different, so FIXME ;-)

LOG ROTATION

I guess when the log file is turned over this is logged?!

MooseX::Nagios::IgnorableLogMessage

This is specially constructed, like the MooseX::Nagios::SignalDeath message. It's currently only used for 'auto save'-type messages