12.3 The Message Filter

Even if you define on a systemwide basis that Nagios may bring attention to errors not just through the Web interface and log files but also via e-mail and/or SMS, filter parameters in the host and service definition may in individual cases cancel out these basic decisions. In all cases the final word is had by the filters defined for the relevant contact. Which parameters play a role on each of these three levels (systemwide, host/service, contact), is described in Figure 12-2.

If a filter stops a notification, the filter chain ends "in a vacuum," so to speak—filter options further down in the hierarchy remain unaccounted for—and Nagios does not generate any message.

Figure 12-2. The filter sequence in the Nagios notification ...

Get Nagios, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.