Editing template names causes snapshot config errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Editing template names causes snapshot config errors

Post by WillemDH »

Hello,

I noticed when I change the name of a service template, and click apply, I get configuration snapshot errors. I'm almost sure I was able to do this in pre-2014 version. When I edit the template and want an ok config, I need to open each dependent service and click ok again.
Is this a known issue?
Is there a way around this?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Editing template names causes snapshot config errors

Post by slansing »

I'm unable to reproduce this on 2014 r1.1, I went into CCM > Service Templates > Changed the name of one of them > Saved > Applied configuration. This is what you did as well correct? Nothing else?
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Editing template names causes snapshot config errors

Post by WillemDH »

Yes, when I change the name of a template, the apply config results in a snapshot error. When I go to the services that use the edited template and clck on save for each of them, without editing any information, and then apply configuration, it works.
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Editing template names causes snapshot config errors

Post by abrist »

Do you have to click save on each and every one of them, or just at least one? We have some fixes we are preparing for the next release pertaining to the apply config changes and a few bugs that were introduced with the change. Try to just save one of the services and then let me know if that solves the issue.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Editing template names causes snapshot config errors

Post by WillemDH »

Andy,

I need to save each service that uses the template which name was edited. If a template is used by 20 services, I would need to save each one of those services.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Editing template names causes snapshot config errors

Post by WillemDH »

Andy,

In the meantime I found a faster way to change template names. Instead of having to save each one of them, I can search in the CCM -> Services for all services that use the template, then select them all, choose deactivate from the dropdownbox, next choose activate and then apply, which will work.

It would still be nice if there was a better solution though.

Grtz
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Editing template names causes snapshot config errors

Post by lmiltchev »

It would still be nice if there was a better solution though.
I posted an internal bug report (TASK ID 3229). This should be fixed in the next revision of XI.
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Editing template names causes snapshot config errors

Post by scottwilkerson »

Update: this was resolved in 2014R1.2
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked