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
CCM Bug
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CCM Bug
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
Reason: deleted incorrect component
Re: CCM Bug
Hello Scott,scottwilkerson wrote:Didn't even know that bug existed... You can install the attached file through Admin -> Manage components to fix it...
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):
The value seems to work since the "Tools" load the set directory:
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
Yep, your right, still hadn't had it correct in there.
This revision should make it stick.
This revision should make it stick.
You do not have the required permissions to view the files attached to this post.
Re: CCM Bug
Works like a charm! Thanks again!scottwilkerson wrote:Yep, your right, still hadn't had it correct in there.
This revision should make it stick.
Dominik
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: CCM Bug
Closing as resolved, thanks for reporting this!