NagiosXI - NagiosQL do not generate config files!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

NagiosXI - NagiosQL do not generate config files!

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosXI - NagiosQL do not generate config files!

Post by tmcdonald »

Are you actually using NagiosQL to configure these? Or is this the Core Configuration Manager? A screenshot would be helpful.
Former Nagios employee
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: NagiosXI - NagiosQL do not generate config files!

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosXI - NagiosQL do not generate config files!

Post by tmcdonald »

You need to click the Apply Configuration button for changes to take effect.
Former Nagios employee
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: NagiosXI - NagiosQL do not generate config files!

Post 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
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI - NagiosQL do not generate config files!

Post 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.
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: NagiosXI - NagiosQL do not generate config files!

Post 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!
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosXI - NagiosQL do not generate config files!

Post 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
Former Nagios employee
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: NagiosXI - NagiosQL do not generate config files!

Post by gfesj69 »

here it is
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI - NagiosQL do not generate config files!

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked