Page 1 of 1
Problems updated CCM Default
Posted: Tue Sep 13, 2016 12:11 pm
by Lazarus
I am trying update the default display limit in CCM v1.03. I am going to have a couple hundred hosts and looking at them 15 at a time or changing the host display limit each time is a pain. When I go to the CCM Settings page and change the default result limit to 250 I get this error.
Unable to save to file: /var/www/html/ccm/config/settings.php
I looked for that folder on the system to check and the config/settings.php does not exist I can only get as deep as the CCM directory.
Any help would be appreciated.
I am running CCM 1.03 and Nagios Core 4.2.1 that was upgraded from 4.1.1 yesterday.
Re: Problems updated CCM Default
Posted: Tue Sep 13, 2016 3:56 pm
by tmcdonald
I'm a bit confused here since Core standard does not come with the CCM, and the only way it should be running with it would be in our Student, Pro, or Business versions. In those cases we can't really support making modifications, and if this is a standard Core install I am not sure how you got the CCM installed separately.
Re: Problems updated CCM Default
Posted: Tue Sep 13, 2016 8:41 pm
by Lazarus
It is Core Pro VM that I installed back in April. It was then updated to 4.1.1 back then and recently to 4.2.1.
Re: Problems updated CCM Default
Posted: Wed Sep 14, 2016 11:59 am
by tmcdonald
How did you perform the upgrade? Did you upgrade Core in-place or use the upgrade script to upgrade the whole system?
Re: Problems updated CCM Default
Posted: Wed Sep 14, 2016 12:05 pm
by ssax
Please run this command from an SSH session:
Code: Select all
chown apache.apache /var/www/html/nagiosql/config/settings.php
Then go back into the web interface
CCM Settings page and change ONLY the
Application Base Path from:
To:
Click the
Save button.
Now change the
Default Result Limit and click the
Save button again.
That should do it, let us know the results.
Re: Problems updated CCM Default
Posted: Wed Sep 14, 2016 12:08 pm
by ssax
Also, I've created a bug report for this so the developers can fix it:
Code: Select all
NEW TASK ID 9534 created - Nagios Core Bug Report: Core Pro VM: Unable to update CCM Settings in web UI
Re: Problems updated CCM Default
Posted: Thu Sep 15, 2016 12:12 pm
by Lazarus
That seems to have worked fine. Thank you. I actually burned down the VM, rebuilt it from the latest file and then followed the script on the download page to update it again.
Re: Problems updated CCM Default
Posted: Thu Sep 15, 2016 1:45 pm
by ssax
That's good to hear, are we okay to mark this as resolved and lock the topic?