Problems updated CCM Default

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Lazarus
Posts: 12
Joined: Mon Apr 04, 2016 3:15 pm

Problems updated CCM Default

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problems updated CCM Default

Post 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.
Former Nagios employee
Lazarus
Posts: 12
Joined: Mon Apr 04, 2016 3:15 pm

Re: Problems updated CCM Default

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problems updated CCM Default

Post by tmcdonald »

How did you perform the upgrade? Did you upgrade Core in-place or use the upgrade script to upgrade the whole system?
Former Nagios employee
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Problems updated CCM Default

Post 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:

Code: Select all

/var/www/html/ccm/
To:

Code: Select all

/var/www/html/nagiosql/
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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Problems updated CCM Default

Post 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
Lazarus
Posts: 12
Joined: Mon Apr 04, 2016 3:15 pm

Re: Problems updated CCM Default

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Problems updated CCM Default

Post by ssax »

That's good to hear, are we okay to mark this as resolved and lock the topic?
Locked