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
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!
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.
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
Re: Newbie to Nagios XI having issues
thnx a ton !!