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.
Config Manager problem
Re: Config Manager problem
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Config Manager problem
I will do it. I will let You to Know.
Re: Config Manager problem
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.
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-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Config Manager problem
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
I found the problem.
This happens when You did a duplicate service from CCM, and You made a bad edit in Config Name*
Regards.
This happens when You did a duplicate service from CCM, and You made a bad edit in Config Name*
Regards.
Re: Config Manager problem
Great. I am locking this post as it is resolved.
Be sure to check out our Knowledgebase for helpful articles and solutions!