Mass Notification Change

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mchasse
Posts: 2
Joined: Thu Oct 27, 2011 8:47 am
Location: Orlando Florida
Contact:

Mass Notification Change

Post by mchasse »

During my initial setup I opted to no add any alerting groups, however I am now ready to add a alerting group I added to all server, is there anyway to do this in one function or do I have to go into every server an added it manually ?


Thanks,
Mike C.
Sr Sys Admin
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Mass Notification Change

Post by lmiltchev »

When you log in the Core Config Manager, you can select "Contact Groups" under "Alerting" from the left panel menu. You can modify the existing Contact Groups and add new ones.
Also, from the Home page you can go to: Host (or Service) Detail->Configure->Reconfigure->Notifications. In the "Send alert notifications to..." section you can select individual contacts or contact groups, so you don't have to do it one by one.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Mass Notification Change

Post by pouda »

sorry but i've the same problem ...and i don't find where i can change these settings ... sorry but could you attach a screenshot please ? ;)

thx you
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Mass Notification Change

Post by pouda »

for example, in this case bellow i would like to activate notification for all these services ...
nottifications.jpg
do i reconfigure all services notifications or may i have the possibility to activate them by a massive action ?

Thx
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Mass Notification Change

Post by mguthrie »

There's not a direct way to do this other than by having all of these services use a common template, and then changing the setting in the template. This would assume that the "notifications_enabled" setting wasn't being overridden by the individual services.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Mass Notification Change

Post by pouda »

so ok i will try, but maybe we could execute an SQL query directly on the database for changinf in one shot all these settings ... :? :?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Mass Notification Change

Post by mguthrie »

That could be a bit tricky unless you've got an SQL query whiz on your end. The services table doesn't have a host_name field, so you'd have to get fancy with some join statements across 3 tables.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: Mass Notification Change

Post by pouda »

OK, so ... nevertheless, is it possible to apply a template to all my monitored services in one shot ? :)
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Mass Notification Change

Post by mguthrie »

Yes. You can apply an additive template with a single config directive if you want. If that setting is specified at the host or service level it will override the template. Take a look at the following doc, there's a lot that can be done with this.
http://nagios.sourceforge.net/docs/3_0/ ... tance.html
Locked