nrds.cfg being overwritten
Posted: Thu Oct 12, 2017 10:59 am
I have a template defined on my Nagios XI monitoring servers that our monitored servers are able to pull and this functionality works great and I am able to import the monitoring via the Unconfigured Objects in the GUI.
My question is that the servers we are monitoring are owned by an application team that would like to append the nrds.cfg file with custom monitoring on a per server basis....so no two servers may have the monitoring they would be adding on to nrds.cfg. When they add on monitoring to nrds.cfg, it is being overwritten and based on the time stamp in which it is changing, I think it is occurring when cron kicks off the job to report in to the Nagios xi monitoring server.
What is the best way for them to do what they are seeking to do ? Should they change to as I would think this would keep the nrds.cfg file from being overwritten ?
Alternatively, should they setup a separate nrds.cfg file called something like nrds_myapp.cfg and populate it and call this configuration via a separate cron entry ? If so, what would that cron entry need to look like ?
Thanks for any assistance.
Kerry
My question is that the servers we are monitoring are owned by an application team that would like to append the nrds.cfg file with custom monitoring on a per server basis....so no two servers may have the monitoring they would be adding on to nrds.cfg. When they add on monitoring to nrds.cfg, it is being overwritten and based on the time stamp in which it is changing, I think it is occurring when cron kicks off the job to report in to the Nagios xi monitoring server.
What is the best way for them to do what they are seeking to do ? Should they change
Code: Select all
UPDATE_CONFIG="1"Code: Select all
UPDATE_CONFIG="0"Alternatively, should they setup a separate nrds.cfg file called something like nrds_myapp.cfg and populate it and call this configuration via a separate cron entry ? If so, what would that cron entry need to look like ?
Thanks for any assistance.
Kerry