Page 1 of 1
Copying Services in Config Manager Issues
Posted: Mon Jul 18, 2011 2:22 pm
by rseiwert
I have been un-successful at using the copy function in the config manager. Sometimes it never seems to apply. Sometimes having a "Sync Missed" status. No errors do occur during apply. Sometimes it seems to apply but never shows up in monitoring. What I do is click copy, then edit the copied item. I make the config name something different by removing the brackets (they are illegal apparently). I make my one change of the host and apply with no luck. If I make them from scratch it seems to work fine. I also seem to have the same problem copying hosts.
I am running CentOS starting from a 1.3 image and have upgraded twice, currently running 1.5.
Re: Copying Services in Config Manager Issues
Posted: Mon Jul 18, 2011 2:24 pm
by rseiwert
Interesting.... Here is the config file generated by copying a working service.
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2011-07-18 15:23:21
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Re: Copying Services in Config Manager Issues
Posted: Mon Jul 18, 2011 2:29 pm
by mguthrie
By default, when a copy is made, the object is "inactive", so it is stored in the DB, but not written to file. Does the config fail to write even when it's set to 'active'? You are correct in that the name needs to be changed so it doesn't have "()" in it, (an odd feature, I know). We're working on a revised CCM that will hopefully be a little more intuitive in that regard, and won't have the odd naming convention with illegal characters.
Re: Copying Services in Config Manager Issues
Posted: Mon Jul 18, 2011 6:24 pm
by rseiwert
noob face
ya gotta make'em active. who knew.
Re: Copying Services in Config Manager Issues
Posted: Tue Jul 19, 2011 9:25 am
by mguthrie
Mental note for our new CCM, make that part more clear! That's gotten me before too
