possible to email different groups for different services?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vivithemage
Posts: 102
Joined: Tue May 21, 2013 2:52 pm

possible to email different groups for different services?

Post by vivithemage »

I have a SB and PRODUCTION line of services, I was hoping to have one email one group, and another email a different group. Is this possible? At first glance I can't really find a way to do it. It looks like it can only email 1 group, or many other groups based on whatever you define, w, u, c, etc.

I just want to define it based on the service itself.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: possible to email different groups for different service

Post by jsmurphy »

I wrote a series of articles about a year ago detailing the approach I prefer to take when defining object relationships... part of this details the scenario you are talking about. Pt2 is the article that will interest you the most, though I do recommend reading Pt1 first as I do make reference to some of the concepts presented there. Pt3 may also be relevant to you, if you desire to see a more complete view of the relationship model.

http://roshamboot.org/main/presentation ... rmissions/
http://roshamboot.org/main/presentation ... -contacts/
http://roshamboot.org/main/presentation ... -services/

Hopefully that helps.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: possible to email different groups for different service

Post by slansing »

Excellent, thank you Jsmurphy!
vivithemage
Posts: 102
Joined: Tue May 21, 2013 2:52 pm

Re: possible to email different groups for different service

Post by vivithemage »

uhoh!

I click and:

Error establishing a database connection
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: possible to email different groups for different service

Post by lmiltchev »

Are you still having issues accessing the http://roshamboot.org site?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: possible to email different groups for different service

Post by jsmurphy »

My web host did have a brief outage yesterday while they were doing some maintenance you may have got unlucky and checked it exactly during that period :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: possible to email different groups for different service

Post by tmcdonald »

vivithemage, let us know if this is working for you now or not.
Former Nagios employee
Locked