Page 1 of 1

Configuration verification failed -

Posted: Mon Nov 09, 2020 2:14 am
by crystal.then
Hello,

Nagios XI is failing to apply configuration with the error:

Code: Select all

Error: Template '' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting on line 503)
It literally says Template '' (no name). Line 503 in /usr/local/nagios/etc/hosttemplates.cfg is the end of the file.

I've checked all of our host definitions, and they're are all using templates that exist. I've also tried deleting and re-writing the config files from the GUI - no luck.

Any ideas?

Possibly relevant: we updated to Nagios XI 5.7.4 (from 5.6.7) last week.

Re: Configuration verification failed -

Posted: Mon Nov 09, 2020 11:52 am
by dchurch
Can you please get and upload a system profile zip by going to Admin => System Profile (in the left menu), then clicking the blue button, then PM-ing it to me?

Re: Configuration verification failed -

Posted: Tue Nov 10, 2020 11:47 am
by dchurch
System profile received. Investigating now.

Re: Configuration verification failed -

Posted: Tue Nov 10, 2020 1:04 pm
by dchurch
If you go into Core Config Manager (CCM) and mark the Host Template called "xiwizard_generic_host" as Active, it should resolve the problem.

Re: Configuration verification failed -

Posted: Tue Nov 10, 2020 4:50 pm
by crystal.then
That was it! Thanks for your help

Re: Configuration verification failed -

Posted: Tue Nov 10, 2020 5:12 pm
by scottwilkerson
crystal.then wrote:That was it! Thanks for your help
Great!

Locking thread