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

7.11 Nagios Monitors Itself

If necessary, Nagios can even monitor itself: the included plugin, check_nagios, tests, on the one hand, whether Nagios processes are running and, on the other hand, the age of the log file nagios.log in the Nagios var directory, for example, /var/nagios/nagios.log.

Despite this, the question needs to be asked: if Nagios itself is not running, then the system simply cannot perform the plugin, which in turn cannot deliver an error message. The solution to this problem consists in having two Nagios servers, each of which addresses the locally installed plugin on the opposite server, with the help of NRPE (see Chapter 10 from page 213).

If you have just one Nagios server you can also run check_nagios alone via cron and have ...

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