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.
Newbie to Nagios xi having issues
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Newbie to Nagios xi having issues
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!
-
- Posts: 136
- Joined: Tue Mar 01, 2011 10:17 am
Re: Newbie to Nagios xi having issues
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.
-
- Posts: 876
- Joined: Mon May 09, 2011 9:36 am
Re: Newbie to Nagios xi having issues
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
-
- Posts: 136
- Joined: Tue Mar 01, 2011 10:17 am
Re: Newbie to Nagios xi having issues
thnx a ton !!
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am