Page 1 of 1

Free variable definitions - xi 2012

Posted: Wed Oct 17, 2012 5:07 pm
by paul.jobb
Free variable definitions defined don't display in the new core config manager however still appear in the legacy ccm. Attached is a sample service definition.

define service {
host_name EDM-GOA-AMS-81
service_description Drive C: Disk Usage GB
use GOA-Service-Disk_Usage_GB
contacts Service Management Email and Page
contact_groups Server Operations,Service Management
_CRIT 1
_DOMAIN GOA
_DRIVE C:
_WARN 2
register 1
}

editing them in the legacy ccm seems to leave them in an "Out of Sync" status for sync status. Adding via the new core config manager will erase the previously defined variables and the new variable won't appear after a refresh. I can upload screen shots if required.

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 7:19 am
by scottwilkerson
No need for a screenshot, I have confirmed this behavior as a bug and filed a bug report
http://tracker.nagios.com/view.php?id=305

I'm sure we will have this resolved before the next release.

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 8:05 am
by CGraham
Will this include a fix for free variables following a copied definition?

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 10:40 am
by mguthrie
Yeah, I'll hit both of these items while I'm in there : )

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 12:08 pm
by mguthrie
Both items fixed in SVN for next release. If either of you need a hot fix before then let me know.

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 2:32 pm
by paul.jobb
Thanks, yes If I could get the hotfix I would appreciate it.

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 2:44 pm
by CGraham
Yes please....

Re: Free variable definitions - xi 2012

Posted: Thu Oct 18, 2012 3:06 pm
by mguthrie
Install the new CCM component through the Admin->Manage Components page. Let me know if the issue still persists.