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. 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 ...