Page 1 of 2
NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 12:15 pm
by gfesj69
I am try a Nagios XI 2012R2.7, I had download the VMWare CentOS and i am running in a VMWare machine.
I have a problem that NagiosQL do not generate all hosts and services config files, there are few, that still "Sync Missed". I am waited mote than a day and the hosts still "Sync Missed".
I check it and all is set as active.
Some one know haw can we fix it?
Thks
Gerald
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 12:23 pm
by tmcdonald
Are you actually using NagiosQL to configure these? Or is this the Core Configuration Manager? A screenshot would be helpful.
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 12:56 pm
by gfesj69
I am using a Core Configuration Manager, sory!
I had imported this file from a .cfg that i wrote and delete the original file from /etc/hosts.
Here are the screen
Thank you for you help!
Best Regards!
Gerald
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 12:58 pm
by tmcdonald
You need to click the Apply Configuration button for changes to take effect.
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 1:05 pm
by gfesj69
I did it, but it still Not Sync!
Here are the results
Some one have any clue how can we fix it?
Thanks
Gerald
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 3:51 pm
by slansing
Can you try running through CCM > Tools > Write Config Tool "Click the buttons from top to bottom." After that, try an apply configuration again.
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 4:26 pm
by gfesj69
HI! Thank you for the hint!
I did the action but I receive a error.
I have checked the permisions at the /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services.
The owner is apache nagios. I realy do not know what happens!
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 4:33 pm
by tmcdonald
Please run the following and post the output:
Code: Select all
ls -ld /usr/local/nagios/etc/hosts/
ls -ld /usr/local/nagios/etc/services
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 4:42 pm
by gfesj69
here it is
Re: NagiosXI - NagiosQL do not generate config files!
Posted: Thu Jan 23, 2014 5:37 pm
by lmiltchev
The permissions on hosts and services directories look find. Run the following commands and see if this is going to fix your issue:
Code: Select all
cd /usr/local/nagiosxi/scripts
./reset_config_perms