Add contact group to all services in a specific host group

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brucej543
Posts: 134
Joined: Thu Jun 21, 2018 9:33 am

Add contact group to all services in a specific host group

Post by brucej543 »

Nagios XI 5.6.14. I need to add a contact group to all the hosts and the services for those hosts that are in a specific host group. There are over 7,500 services that need the contact group added. Using the bulk modification tool, did the add contact group to host group but it only changed the hosts and not the services for the hosts.
There are no service groups defined that can be used.
How do I make a bulk change or do I need to manually select all 7,500+ services for the contact group to be added?
I am working an a short timeline to accomplish this task.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Add contact group to all services in a specific host gro

Post by ssax »

Unfortunately, the functionality doesn't currently exist to do what you're trying to do in bulk, they would need to be in a servicegroup for the bulk mods tool to work. I have submitted a feature request for this on your behalf with a link back to this thread:

FR: XI - Bulk Modifications Tool - Add option to add/remove a contact from all services in a hostgroup (or option to also add it to all the child services of the hosts when choosing by hostgroup)

Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.

My recommendation would be for you to create a servicegroup and add all those services to a servicegroup you want to change and use the bulk modifications tool against the servicegroup, there isn't any other way to accomplish it at this point given the existing functionality.
Locked