Hello,
I have a question:
I want to move all the hosts from one host group to another en masse, without having to do it with each host individually, is there any way to do it?
Thank you
move all hosts from one host group to another
Re: move all hosts from one host group to another
You can do this thru the Bulk Modifications Tool. Go to Configure => Core Config Manager => Bulk Modifications Tool (left menu), then use the Add Host Group(s) function.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: move all hosts from one host group to another
thanks for your answer
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: move all hosts from one host group to another
Hi,
Glat was helpful. Did you have any other questions or may we close this out?
Glat was helpful. Did you have any other questions or may we close this out?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: move all hosts from one host group to another
Another question, is that it would be: if I have many hosts that belong to group A, many hosts that belong to group B, how do I do with this tool so that the hosts of group B stop belonging to group B and add them to the hosts of group A.
do I make those hosts not belong to groupB and then add them to group A?
Thank you very much for your time
do I make those hosts not belong to groupB and then add them to group A?
Thank you very much for your time
Re: move all hosts from one host group to another
There isn't a way to do that in one go, you would need to do this:
Bulk Modifications Tool:
- Add a Host Group
- Select group A at the top
- Click the button for "Select Hosts using Host Groups" and select group B
- Save
Bulk Modifications Tool:
- Remove a Host Group
- Select group B
- Click the "Find Relationships" button
- Check them all
- Save
Apply Configuration.
That will make all hosts in group B members of group A and then remove group B from the hosts you selected.
Bulk Modifications Tool:
- Add a Host Group
- Select group A at the top
- Click the button for "Select Hosts using Host Groups" and select group B
- Save
Bulk Modifications Tool:
- Remove a Host Group
- Select group B
- Click the "Find Relationships" button
- Check them all
- Save
Apply Configuration.
That will make all hosts in group B members of group A and then remove group B from the hosts you selected.
Re: move all hosts from one host group to another
Thank you very much for your time
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: move all hosts from one host group to another
Locking threadnmarbue79 wrote:Thank you very much for your time