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

Re: NagiosXI - NagiosQL do not generate config files!

Post by gfesj69 »

I did execute the command, and try to write config files, but it not work.

Do you have any other idea, what happen?
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NagiosXI - NagiosQL do not generate config files!

Post by abrist »

What is the output of:

Code: Select all

ls -la /usr/local/nagios/etc/hosts/ | cut -d " " -f1 | uniq -c
ls -la /usr/local/nagios/etc/services/ | cut -d " " -f1 | uniq -c
We are looking for permissions resembling:

Code: Select all

<# of occurrences> -rw-rw-r--
Lets check the group one more time:

Code: Select all

grep nag /etc/group
And the account expiration:

Code: Select all

chage -l nagios
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.
Locked