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

Jim Avery jim at jimavery.me.uk
Fri Feb 19 13:35:25 CET 2010


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