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

H.8 Restart

When you start Nagios, it rechecks the configuration each time for errors and dependencies. Depending on the specific environment, this can be very quick, or it may last a long time, during which Nagios will not operate. In Nagios 3.0 there is an option to disconnect this test from the restart and instead save the result in a separate temporary file. When Nagios starts, it will read this file, and the otherwise usual processing of objects is left out at this point. Whether this is worthwhile or not is revealed by nagios -s:

nagios@linux:~$ /usr/local/nagios/bin/nagios -s /etc/nagios/nagios.cfg OBJECT CONFIG PROCESSING TIMES (* = Potential for precache savings with -u option) ---------------------------------- Read: 0.019277 sec Resolve: ...

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