Auto-configure unconfigured objects service template name

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Auto-configure unconfigured objects service template name

Post by eloyd »

In the auto-configuration of unconfigured objects, in the advanced tab, you can select a service template name that will be applied to all automatically added services. If you set this to "foo" and then go change the name of the "foo" template to "bar" then the auto-configure settings still wants to add it to "foo" instead of "bar." This means it's literally taking the name instead of the internal database ID and dynamically looking up the name as needed.

This should be changed so that the name of the template shown always matches the current name of the template stored in the database.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Auto-configure unconfigured objects service template nam

Post by jomann »

You are correct it is using the name and not the ID in the db. I will add a FR for this it shouldn't be too difficult to adjust it to use the ID.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Auto-configure unconfigured objects service template nam

Post by eloyd »

Thanks. I'd add it myself but, well, that's what you're for. :-) Feel free to close this.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Auto-configure unconfigured objects service template nam

Post by jomann »

Thanks :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked