12.6 Accounting for Dependencies between Hosts and Services

If you test services with local plugins (see Chapter 7) via NRPE (see Chapter 10), all these tests will come to nothing the moment the Plugin Executor fails. With service dependencies you can prevent Nagios from flooding the appropriate administrator with messages on the dependent services. Instead of this, the system informs him specifically of the NRPE failure.

Aa with such service dependencies, Nagios also has host dependencies, which suppress messages, depending on individual hosts. Both variations can also be used to specifically "switch off" tests.

12.6.1 The standard case: service dependencies

Let us take as an example the host linux01, illustrated in Figure 12-4, on which locally ...

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.