Service configuration files
Posted: Wed Jun 10, 2015 4:24 pm
When adding a service on the Nagios Web Interface, a serviec configuration file is created in
/usr/local/nagios/etc/services directory. A comment in this file warns "DO NOT EDIT THIS FILE BY HAND" and says that "Nagios CCM will overwrite all manual settings during the next update if you would like to edit files manually". My questions are:
1) when adding a service on the Nagios Web GUI, besides a service configuration file is created in
/usr/local/nagios/etc/services directory, is this service configuration information also stored in the mySQL database or PostgreSQL database?
2) Where does Nagios CCM get the "original" (service) configuration settings to overwrite all the manual setting changes?
3) What causes Nagios CCM to run and overwrite all the manual setting changes? When I click "Save Configuration" or by some kind of mechanism within Nagios CCM?
Thank you in advance.
/usr/local/nagios/etc/services directory. A comment in this file warns "DO NOT EDIT THIS FILE BY HAND" and says that "Nagios CCM will overwrite all manual settings during the next update if you would like to edit files manually". My questions are:
1) when adding a service on the Nagios Web GUI, besides a service configuration file is created in
/usr/local/nagios/etc/services directory, is this service configuration information also stored in the mySQL database or PostgreSQL database?
2) Where does Nagios CCM get the "original" (service) configuration settings to overwrite all the manual setting changes?
3) What causes Nagios CCM to run and overwrite all the manual setting changes? When I click "Save Configuration" or by some kind of mechanism within Nagios CCM?
Thank you in advance.