Adding monitoring contacts to multiple services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Adding monitoring contacts to multiple services

Post by cscholz »

Can a single contact OR contact group be added to multiple services or hosts after the service/host has already been defined?

For instance, ServerA has already been set up with 20 services, and alerts go to the whole sysadmin team. However, we also want alerts for ServerA to go to another support team. We need to add ServerA_support_contact_group in to ALL the checks related to ServerA.

It's actually a much larger set of services, otherwise I'd just do it by hand. I have found no way to, say, select all services and add a new contact group.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Adding monitoring contacts to multiple services

Post by lmiltchev »

One way to do is to re-run the wizard, using exactly the same host name and add the second contact group. This ways, your contacts will be added to all services at once. This is probably faster than editing all services one by one in the Core Config Manager.

We are also working on a product that will make bulk changes a lot easier. You can read about it here:

http://labs.nagios.com/2012/04/13/nagio ... full-beta/

Currently, you can "bulk add" contacts only to many hosts and services but we are working on "bulk adding" contact groups as well. Let us know if you are interested in testing the new CCM.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: Adding monitoring contacts to multiple services

Post by cscholz »

I actually have the CCM Beta for bulk activating and deactivating already from another thread where I was offered access to it. I found this option in the Bulk Operations section of CCM Beta and was just coming back to update the thread.

If there is a latest version of this Beta, I'd like to install it. The version I'm running is about 1 month old.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Adding monitoring contacts to multiple services

Post by lmiltchev »

The latest version is: Nagios CCM 0.4

You can view your version by going to: Configure->Advanced Configuration->Nagios CCM BETA or Admin->System Extensions->Manage Components.

If you have an older one, I can send you the new one via a private message. Please, let me know. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
cscholz
Posts: 36
Joined: Wed Mar 07, 2012 4:40 pm

Re: Adding monitoring contacts to multiple services

Post by cscholz »

lmiltchev wrote: If you have an older one, I can send you the new one via a private message. Please, let me know. Thanks!
I have 0.3
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Adding monitoring contacts to multiple services

Post by lmiltchev »

I sent you a private message.
Be sure to check out our Knowledgebase for helpful articles and solutions!
keimond
Posts: 5
Joined: Fri May 11, 2012 11:01 am

Re: Adding monitoring contacts to multiple services

Post by keimond »

Hello, I am very interested in this tool. I've been trying to find the correct place in the CCM to modify on our TEST system to easily change contacts and/or contact groups for 200+ services all in one shot.. I found it but I'd have to write scripts to do what I want. ugh :) -- how is this tool coming along ? I'd love to test what you have if possible.

Thanks!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Adding monitoring contacts to multiple services

Post by lmiltchev »

I sent you a private message.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked