Nagios XI – Introduction to Event Handlers

This document describes how to use event handlers in Nagios XI to take predefined actions when the hosts or services you are monitoring change state. Event handlers are used to automate processes taken when there is a state change for a specific host or service. This is useful because it reduces the amount of manual work when something changes in your environment. This document also includes some tips for advanced configurations and scripts.

This document is intended for use by Nagios XI administrators who want to implement custom event handler scripts beyond the simple stopping and restarting of services. Basic functional knowledge of shell scripting and Nagios macros is recommended.