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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
confused_IT
Posts: 12
Joined: Fri Feb 06, 2015 3:58 pm

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

Post 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
Last edited by confused_IT on Tue Mar 15, 2016 4:58 pm, edited 1 time in total.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post 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?
Former Nagios Employee.
me.
confused_IT
Posts: 12
Joined: Fri Feb 06, 2015 3:58 pm

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

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

Here is the only 'official' looking website for them I found: https://mathias-kettner.com/checkmk_sup ... tract.html
Former Nagios Employee.
me.
confused_IT
Posts: 12
Joined: Fri Feb 06, 2015 3:58 pm

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

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

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

Post by bwallace »

confused_IT, did you have any further questions or may we lock this thread?
Be sure to check out the Knowledgebase for helpful articles and solutions!
confused_IT
Posts: 12
Joined: Fri Feb 06, 2015 3:58 pm

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

Post 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.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

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

Post by bwallace »

Love those obscure error messages. Glad you resolved it and thanks for sharing. I'll close this one out now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked