Page 1 of 1

Changing Parent of a Service

Posted: Thu Dec 10, 2015 3:17 pm
by jcwuerfl
Is there a batch way to change a Parent of a Service given X number of Services you need to change?

Process I'm doing is

Copying existing host
rename host
copy exist services for a host
rename copied services to new hostname
change parent of all services

Seems like there should be a better way.

Re: Changing Parent of a Service

Posted: Thu Dec 10, 2015 4:52 pm
by lmiltchev
Is there a batch way to change a Parent of a Service given X number of Services you need to change?
When you say "Parent", do you mean the "Host" this service is added to? Are you trying to clone an existing host alone with its services to a new one (or multiple similar hosts)? Do you want to rename the host and its services, or you just want to change the config name? Can you elaborate and show us some configs (before & after)?

In any case, all of the above could be done via the "Bulk Host Cloning and Import" wizard, "Bulk Modifications" tool and/or "Renaming Tool". The latter two ship with Nagios XI Enterprise Edition. If you haven't purchased Enterprise, you can start free, fully functional 60-day trial and get the job done.

Re: Changing Parent of a Service

Posted: Fri Dec 11, 2015 8:01 am
by jcwuerfl
Exactly what I was looking for! Sweet! I didn't know that wizard was there! Awesome Thanks! :D :D :D :D

Re: Changing Parent of a Service

Posted: Fri Dec 11, 2015 10:39 am
by rkennedy
We're glad to help! I will now close this thread out, but feel free to open a new one if you ever need assistance in the future.