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

16.5 Configuration Changes through the Web Interfaces: the Restart Problem

The CGI program cmd.cgi (16.2.3 Interface for external commands: cmd.cgi, page 343) enables a series of changes to be made to the current configuration through the Web interface.[174] In this way notifications or active checks can be switched on and off, for example.

Nagios does not save such changes in the accompanying configuration file, but notes the the current status in a separately defined file, with the parameter state_retention_file in nagios.cfg (see A.1 The Main Configuration File nagios.cfg). But what happens if you restart Nagios after many changes using the Web interface?

Whether Nagios retains the interactive changes made after a restart or forgets them is dependent ...

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