Page 1 of 1

I can longer add any new hosts to me check_mk config file

Posted: Tue Mar 15, 2016 11:57 am
by confused_IT
All of a sudden, I can no longer add hosts to my check_mk file. If I add a host, save/quit the file, and run cmk -O or cmk -R, I get the following error:
Generating configuration for core (type nagios)...Error creating configuration: global name 'configuration_warning' is not defined
I don't know what to do. I've tried finding/greping my server and googling, but I don't see anything that points me in the right direction.

I even removed everything and only left a few hosts in my check_mk with one new hosts, and I get the same error. There has to be a file somewhere that is causing the conflict

This link is my check_mk file with a lot of the stuff removed/simplified.



Thanks for any help

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 2:06 pm
by hsmith
Unfortunately, we're not going to be able to provide support for check_mk as it is not our product. Have you attempted to use their support website?

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 2:16 pm
by confused_IT
hsmith wrote:Unfortunately, we're not going to be able to provide support for check_mk as it is not our product. Have you attempted to use their support website?
Ok thanks for the heads up. Could you link me to that site please

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 2:20 pm
by hsmith
Here is the only 'official' looking website for them I found: https://mathias-kettner.com/checkmk_sup ... tract.html

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 2:39 pm
by confused_IT
hsmith wrote:Here is the only 'official' looking website for them I found: https://mathias-kettner.com/checkmk_sup ... tract.html
I was hoping it was another site lol. Thanks away.

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 4:53 pm
by bwallace
confused_IT, did you have any further questions or may we lock this thread?

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 4:56 pm
by confused_IT
bwallace wrote:confused_IT, did you have any further questions or may we lock this thread?
Ha actually I just solved it. The problem was that the host I added was not in my dns. I added the record and the configuration worked. What an obscure message. Would have saved me hours of time if it just told me it couldn't resolve it.

Yup, you can lock this thread.

Re: I can longer add any new hosts to me check_mk config fil

Posted: Tue Mar 15, 2016 5:17 pm
by bwallace
Love those obscure error messages. Glad you resolved it and thanks for sharing. I'll close this one out now.