Changing Parent of a Service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jcwuerfl
Posts: 76
Joined: Tue Jun 10, 2014 12:44 pm

Changing Parent of a Service

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Changing Parent of a Service

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jcwuerfl
Posts: 76
Joined: Tue Jun 10, 2014 12:44 pm

Re: Changing Parent of a Service

Post by jcwuerfl »

Exactly what I was looking for! Sweet! I didn't know that wizard was there! Awesome Thanks! :D :D :D :D
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Changing Parent of a Service

Post 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.
Former Nagios Employee
Locked