E-mailing separate group for subset of hosts(and their services)

Ryan Rawdon ryan at u13.net
Fri Feb 19 19:47:33 CET 2010


Thanks a lot Jim, that explanation and page cleared it up.  There was a 
contact groups definition in the services template which overrides the 
inheritance from the parent host (I hadn't read any formal definition of 
how the Nagios inheritance works).  I removed that template definition 
and it works as expected.


Thanks,
Ryan


On 2/19/10 7:35 AM, Jim Avery wrote:
> On 19 February 2010 02:02, Ryan Rawdon<ryan at u13.net>  wrote:
>    
>> Hi,
>>
>> I've had a smallish deployment of Nagios for a while now, but now I need
>> to add some more functionality to it.  I need to have Nagios notify certain
>> people when there is an issue with a host or any service on it.  I see that
>> adding their contactgroup to the host definition only notifies them when
>> the host itself is down or up, however adding their contactgroup to the
>> service definition would notify them whenever said service has an issue on
>> any host - not just the ones I want them to be notified about.
>>
>> Where is the happy medium here?  Do I need to create a duplicate copy of
>> all services on these hosts just so that I can list them as the contacts?
>>      
>
>
> It depends what version of Nagios you are using (what version are you
> using?).  In Nagios 3, the service will inherit any contactgroups from
> the host (unless any are explicitly defined for the service).
>
> See: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html
>    


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list