Page 1 of 1

XI 5.2.2 Upgrade Issue Error: Template 'use'

Posted: Fri Nov 20, 2015 4:23 pm
by brdr
Hi Support Team,

I literally just tried to upgrade from 2.7. to 5.2.2. I'm getting this error during the upgrade AND when I attempt to Write Database Configs to file. I wrote successfully, after DELETING and went to verify and got this error:

Error: Template 'use' specified in service definition could not be not found (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting on line 833)

Line 833 in servicetemplates.cfg is:

define service {
name xiwizard_windowswmi_service
use
check_command check_xi_service_wmiplus
register 0

}

I can bring up the XI in 5.2.2 but because it didn't complete successfully i'm not sure if this upgrade is good.

Can you please help. Thx.

Re: XI 5.2.2 Upgrade Issue Error: Template 'use'

Posted: Fri Nov 20, 2015 4:29 pm
by brdr
It appears the xiwizard_generic_service template didn't get inserted for the 'use' clause.

Re: XI 5.2.2 Upgrade Issue Error: Template 'use'

Posted: Fri Nov 20, 2015 5:10 pm
by brdr
just realized i posted in 'General Support'. We are customer.. if you need me to post in .Customer Support' .

As always thanks for the great support :D

Re: XI 5.2.2 Upgrade Issue Error: Template 'use'

Posted: Sat Nov 21, 2015 9:40 am
by brdr
Please close. For some reason the xiwizard_generic_service template got disabled during upgrade.

I enabled it and re-ran upgrade and was able to delete config/write and verify and all looks good.

Thx

Re: XI 5.2.2 Upgrade Issue Error: Template 'use'

Posted: Mon Nov 23, 2015 10:20 am
by rkennedy
Glad to see you were able to get this fixed! As you requested, I will now close this thread out. Feel free to open another if you ever need assistance!