Page 1 of 1

CCM Bug

Posted: Tue May 21, 2013 4:03 pm
by SDK
Hello Support,

there is a little bug in the CCM that still exists after the update to 2012R2.0 (was hoping it may be fixed).

When you download a fresh Nagios VM Image the table "tbl_settings" in the mysql nagiosql database has no row labeled
with columns category = "path" name = "staticdir".

The CCM under "Config Manager Settings" displays the correct path to the static config files:

Static Configuration Directory*
/usr/local/nagios/etc/static

Now change that value via Webfrontend to any path, a row gets created in the "tbl_settings" table
with the above mentioned colums an the entered path in the "value" column.

But the Webfrontend just displays:

Static Configuration Directory*
/tmp

No matter wich value you have entered. Delete the row an the CCM displays the correct path again.
Kind regards

Dominik

Re: CCM Bug

Posted: Tue May 21, 2013 4:27 pm
by scottwilkerson
Didn't even know that bug existed... You can install the attached file through Admin -> Manage components to fix it...

Re: CCM Bug

Posted: Tue May 21, 2013 5:35 pm
by SDK
scottwilkerson wrote:Didn't even know that bug existed... You can install the attached file through Admin -> Manage components to fix it...
Hello Scott,

thanks for the updated files and the very quick response!

I am curios though, now the Webfrontend displays:

Static Configuration Directory*
/usr/local/nagios/etc/static

with the same behavior, no matter which value is in the database.
Shouldn't it display whats actually in the database, hence set? (for example /usr/local like in this screenshot):
nagiosql.png
The value seems to work since the "Tools" load the set directory:
tool.png

Do I missing something here?

Kind regards

Dominik

Re: CCM Bug

Posted: Tue May 21, 2013 7:54 pm
by scottwilkerson
Yep, your right, still hadn't had it correct in there.

This revision should make it stick.

Re: CCM Bug

Posted: Wed May 22, 2013 3:09 am
by SDK
scottwilkerson wrote:Yep, your right, still hadn't had it correct in there.

This revision should make it stick.
Works like a charm! Thanks again!

Dominik

Re: CCM Bug

Posted: Wed May 22, 2013 12:55 pm
by slansing
Closing as resolved, thanks for reporting this!