Unable to refresh to new configuration

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vincentlaw2010
Posts: 1
Joined: Fri Jul 23, 2010 2:00 am

Unable to refresh to new configuration

Post by vincentlaw2010 »

Nagios 3.2.1 installed on OpenSUSE 11.2

1. had nagios set up and GUI running.

2. testing by monitoring a few https host which created from /usr/local/nagios/etc/objects/https.cfg ..... and added parameter cfg_file=/usr/local/nagios/etc/objects/https.cfg into nagios.cfg. Work till here so far so good!

3. Problem starts HERE. trying to split the few host which defined in the https.cfg into afew different files,
eg. httpsCN.cfg, httpsSG.cfg, httpsUS.cfg and etc

Excluded the parameter cfg_file=/usr/local/nagios/etc/objects/https.cfg from nagios.cfg and included new parameter:
cfg_file=/usr/local/nagios/etc/objects/httpsCN.cfg
cfg_file=/usr/local/nagios/etc/objects/httpsSG.cfg
cfg_file=/usr/local/nagios/etc/objects/httpsUS.cfg

After that the nagios GUI @localhost/nagios wont refresh to new host. Instead it keep showing the old https.cfg even though that file isnt pointed in nagios.cfg and the physical file of https.cfg is deleted.
Tried "service nagios reload, restart, stop, start". Tried restart Apache2, clear cache, restart computer. and it still persist with the old host and not the new 1.

Double checked that the cfg_file=/usr/local/nagios/etc/objects/httpsUS.cfg and etc parameter is correctly written.

Please kindly help. Any tips on what i should do?
Locked