O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Processing Events with the EventDB

Events are fundamentally different from the other, usual host and service states in Nagios. The check of a service in a critical state returns a CRITICAL until the state of the service changes, irrespective of the number of checks and the repeat interval. An event, on the other hand, occurs only once, for instance in the form of a syslog entry or an SNMP trap.

If the events of an uninterruptible power supply (UPS) are logged via syslog to a log file, the message that the UPS has switched to battery because the voltage supply has failed will appear there only once. If you now test regularly whether a corresponding entry occurred within the last half hour, simple log file checks will not announce a match ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required