CCM Bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

CCM Bug

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM Bug

Post by scottwilkerson »

Didn't even know that bug existed... You can install the attached file through Admin -> Manage components to fix it...
Last edited by scottwilkerson on Tue May 21, 2013 7:54 pm, edited 1 time in total.
Reason: deleted incorrect component
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

Re: CCM Bug

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CCM Bug

Post by scottwilkerson »

Yep, your right, still hadn't had it correct in there.

This revision should make it stick.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

Re: CCM Bug

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: CCM Bug

Post by slansing »

Closing as resolved, thanks for reporting this!
Locked