View FAQ

[ Return To FAQ Index | Search The FAQs ]

FAQ Database : Nagios : Integration With Other Software

Title:How do I log host and service events to an external database?
FAQ ID:F0038
Submitted By:Ethan Galstad 
Last Updated:06/02/2009


User would like to have host and service events (alerts) logged to an external database for reporting purposes. Although Nagios does not support this directly, it can be done fairly easily through the use of event handlers.



Define global host and service event handlers to dump alerts into a external database. The global event handlers could call a script that inserts the desired event information into the database of your choosing.


Keywords:database events alerts logging