R: [Nagios-devel] Disable host checking ?
Posted: Wed Mar 23, 2005 8:40 am
My doubts are regarding to other actions which can be performed via CGI
- enable/disable notifications
- enable/disable event handler for this service
- ... and so on !
Probably you have answered me in the last mail ... all the changes are made
internally and in the status.sav file.
Moreover you conferm me that Nagios does not modify the configuration files.
Is all correct and enought to understand how nagios work (for this
argument!) in your opinion ?
Thanks
Marco
-}-----Messaggio originale-----
-}Da: Marc Powell [mailto:[email protected]]
-}Inviato: mercoledi 23 marzo 2005 17.26
-}A: Marco Borsani; [email protected]
-}Oggetto: RE: [Nagios-devel] Disable host checking ?
-}
-}
-}
-}
-}> -----Original Message-----
-}> From: [email protected] [mailto:nagios-devel-
-}> [email protected]] On Behalf Of Marco Borsani
-}> Sent: Wednesday, March 23, 2005 10:15 AM
-}> To: [email protected]
-}> Subject: [Nagios-devel] Disable host checking ?
-}>
-}> Hi all
-}>
-}> I know that setting to "0" the checks_enabled variable into hosts.cfg
-}file
-}> I
-}> will stop the host checking.
-}>
-}> If I perform via CGI the same action (pressing "Disable checks of this
-}> host") WHERE nagios will "write" this setting ?
-}
-}It's changed only in its internal, memory based, representation of the
-}objects. If you have host and service retention enabled then these
-}changes are written to the status.sav file and reloaded when nagios is
-}restarted. If you do not retain status then the change will be lost when
-}nagios is restarted.
-}
-}> I saw that nothing changed into hosts.cfg file.
-}
-}Nagios will never modify any configuration file.
-}
-}> I have same doubts for other actions performed via CGI.
-}
-}If you expand on them perhaps we can address them.
-}
-}--
-}Marc
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
- enable/disable notifications
- enable/disable event handler for this service
- ... and so on !
Probably you have answered me in the last mail ... all the changes are made
internally and in the status.sav file.
Moreover you conferm me that Nagios does not modify the configuration files.
Is all correct and enought to understand how nagios work (for this
argument!) in your opinion ?
Thanks
Marco
-}-----Messaggio originale-----
-}Da: Marc Powell [mailto:[email protected]]
-}Inviato: mercoledi 23 marzo 2005 17.26
-}A: Marco Borsani; [email protected]
-}Oggetto: RE: [Nagios-devel] Disable host checking ?
-}
-}
-}
-}
-}> -----Original Message-----
-}> From: [email protected] [mailto:nagios-devel-
-}> [email protected]] On Behalf Of Marco Borsani
-}> Sent: Wednesday, March 23, 2005 10:15 AM
-}> To: [email protected]
-}> Subject: [Nagios-devel] Disable host checking ?
-}>
-}> Hi all
-}>
-}> I know that setting to "0" the checks_enabled variable into hosts.cfg
-}file
-}> I
-}> will stop the host checking.
-}>
-}> If I perform via CGI the same action (pressing "Disable checks of this
-}> host") WHERE nagios will "write" this setting ?
-}
-}It's changed only in its internal, memory based, representation of the
-}objects. If you have host and service retention enabled then these
-}changes are written to the status.sav file and reloaded when nagios is
-}restarted. If you do not retain status then the change will be lost when
-}nagios is restarted.
-}
-}> I saw that nothing changed into hosts.cfg file.
-}
-}Nagios will never modify any configuration file.
-}
-}> I have same doubts for other actions performed via CGI.
-}
-}If you expand on them perhaps we can address them.
-}
-}--
-}Marc
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]