Contacts that can "watch", but are never notified (not as simple as twiddling their contact definition)

Eli Stair estair at ilm.com
Fri Apr 14 18:49:36 CEST 2006


I've historically used a mailinglist for this anyway... that way people 
subscribe/unsubscribe themselves when they go on/off call, and you can 
have as many people as appropriate on it.   Not to mention it doesn't 
require modifying the nagios configs and re-loading.

/eli

Philip Hallstrom wrote:
> Hi -
> 
> I've got nagios pretty much setup, but there's one thing I'm
> struggling with -- how to let a group of contacts see their servers,
> but only notify one of them (as they rotate on call..).
> 
> I'm using authentication.  I'm monitoring two separate (political)
> networks so I can't just open things up and let everyone see
> everything.
> 
> One network has four admins: tim, justin, alex, and philip.  All of us
> need to see everything in our network, but I only want to notify
> philip.
> 
> Right now I just set notification_period=none for the others.  But
> next week I want to change it.  And I would rather not have to update
> the contacts everytime.
> 
> What I really want to do is have two contactgroups:
> 
> admins - would contain all of us, but wouldn't notify any of us
> regardless of our contact settings.
> 
> oncall-admin - would contain just the one oncall admin and would notify them.
> 
> I guess what I really want is the notification_* options to be
> available on contactgroups, but it doesn't seem they are.
> 
> Any ideas on how to best accomplish this?
> 
> One thought I had was to duplicate everyone's contact entries.  Have
> one for just logging in and watching things with no notifications
> enabled.  Then have another (say "notify-philip") that would get
> notified.
> 
> Or perhaps I could use escalations to do this by adding the 'admins'
> contactgroup to an escalation that is never notified?  If 'admins' was
> only part of an escalation would the nagios web interface let members
> of that contactgroup see hosts that were also part of that escalation?
> 
> Thanks!
> 
> -philip
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> 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
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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