Newbie to Nagios XI having issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gbolahan
Posts: 5
Joined: Mon May 16, 2011 9:20 am

Newbie to Nagios XI having issues

Post by gbolahan »

Hi Guys,

I have been having issues with my Nagios XI installation, I had a disk space problem which is resolved now after provisioning more space on vmware server and also resizing on the centos. I have started the mysqld and postgresql services and and I am sure it running now, I also now have access to my web interface and tried applying configuration Nagios Core.

Find error below
----------------------------------------------------
Config File Permissions Check

* One or more config files have problems.

Config Scripts

The permissions on the Nagios XI configuration scripts appear to be okay.
Config Files

The following configuration files have incorrect permissions:

* /usr/local/nagios/etc/commands.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/contactgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/contacts.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/contacttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/hostdependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/hostescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/hostextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/hostgroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/hosttemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/servicedependencies.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/serviceescalations.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/serviceextinfo.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/servicegroups.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/servicetemplates.cfg (OWNER=root, GROUP=root, PERMS=u---------)
* /usr/local/nagios/etc/timeperiods.cfg (OWNER=root, GROUP=root, PERMS=u---------)

Each of these config files needs to be writable by the apache and nagios users. To fix this problem, follow these steps:

* Login to your Nagios XI server via SSH as the root user
* Execute the following commands:
o /usr/local/nagiosxi/scripts/reset_config_perms
-------------------------------------------------------------------------------------------------

I have run the command specified in the instruction above but errors still persists, can kindly suggest the next line of action.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Newbie to Nagios XI having issues

Post by lmiltchev »

We just sent you an e-mail with instructions. Please, follow up with the e-mail.
Be sure to check out our Knowledgebase for helpful articles and solutions!
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

Re: Newbie to Nagios XI having issues

Post by lntinfo »

sorry lmiltchev iam using your space, but same problem i am come across did same thing which you did. but still problem persist please let us know how you have solved this problem.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Newbie to Nagios XI having issues

Post by agriffin »

Try running the following commands in a terminal as root:

Code: Select all

chmod 664 /usr/local/nagios/etc/*.cfg
chown apache:nagios /usr/local/nagios/etc/*.cfg
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

Re: Newbie to Nagios XI having issues

Post by lntinfo »

thnx a ton !!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Newbie to Nagios XI having issues

Post by nscott »

That great!
Nicholas Scott
Former Nagios employee
Locked