Why does duplicate copy the config name, not service 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:

Why does duplicate copy the config name, not service name?

Post by eloyd »

I have never understood why this is the case:

Create a service in XI in a config [file] called "Foo."
Name the service "Bar."
Duplicate the service because you want to add something similar.

Now there is a new service with a config [file] name of "Foo_copy_1" with a service called "Bar."

It would make much more sense to have a new service with a config [file] name that matches the original "Foo" and a service name called "Bar_copy_1."

Is there any way we can make this an option to do things this way in the future? Let people decide how they want to do it? It just seems weird that I select a config [file] from the pull down, duplicate my service, and now it's in an entirely different config [file].
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Why does duplicate copy the config name, not service nam

Post by tmcdonald »

+1, I suggested this a while back.

According to Jake this has already been changed for 5.5.
Jake wrote: In 5.5 the service will be copied as Bar_copy_1 with the config name of Foo
Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Why does duplicate copy the config name, not service nam

Post by eloyd »

Tell Jake I owe him something with bubbles.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Why does duplicate copy the config name, not service nam

Post by tmcdonald »

Will do. Locking this up.
Former Nagios employee
Locked