Page 2 of 2

Re: NagiosXI - NagiosQL do not generate config files!

Posted: Thu Jan 23, 2014 6:53 pm
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?

Re: NagiosXI - NagiosQL do not generate config files!

Posted: Fri Jan 24, 2014 2:33 pm
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