Page 1 of 1
Config Manager problem
Posted: Mon Apr 01, 2013 4:29 pm
by cwireless
Hi. I will explain my problem.
I deleted a .cfg from services folder. Then I restarted my services nagios. When I see in Config Manager, the .cfg deleted is still working.
I dont know , If I must to restart something more.
PD: I need to delete .cfg from putty-commands , because is a wrong archive.
Regards.
Re: Config Manager problem
Posted: Mon Apr 01, 2013 4:35 pm
by abrist
In XI, config files are written out from the database. So if the service is still defined in the CCM in XI, deleting the cfg will be temporary as it will be regenerated when the nagios process is restarted.
Re: Config Manager problem
Posted: Mon Apr 01, 2013 9:25 pm
by cwireless
I will do it. I will let You to Know.
Re: Config Manager problem
Posted: Tue Apr 02, 2013 8:40 am
by cwireless
HI. I deleted .cfg and restarted services nagios.
I was waiting for a change inCCM in XI and it does not work.
I am deleting the wrong file.
Code: Select all
/usr/local/nagios/etc/services
cwp-jfr-dwr .cfg
cwp-jfr-dwr.cfg
Code: Select all
rm "cwp-jfr-dwr .cfg"
service nagios stop
killall -9 nagios
service ndo2db stop
service ndo2db start
service nagios start
Re: Config Manager problem
Posted: Tue Apr 02, 2013 9:28 am
by slansing
What Abrist is suggesting is that you check your core config manager in the Xi interface and delete the service's first from there, if they no longer exist then you can delete them from the command line.
Re: Config Manager problem
Posted: Tue Apr 02, 2013 10:01 am
by cwireless
I found the problem.
This happens when You did a duplicate service from CCM, and You made a bad edit in Config Name*
Regards.
Re: Config Manager problem
Posted: Tue Apr 02, 2013 10:14 am
by lmiltchev
Great. I am locking this post as it is resolved.