Improving notifications - offer to code/RFC/etc.

Joe Rhett jrhett at meer.net
Tue Nov 29 22:06:56 CET 2005


I sent this message a few weeks ago to the -users list, and haven't seen 
a response.  So I'm starting a new thread here.

> Joe Rhett wrote:
> >The problem is that a given person really only wants to have a single
> >nagios login to see everything they own, but need to customize the alerts
> >they receive.
 
On Wed, Nov 02, 2005 at 10:04:19AM +0100, Andreas Ericsson wrote:
> Make a third contact with the login-name and set its 
> notification-options to 'n'. Make it a member of all contactgroups where 
> any of its notification aliases is a member.
 
This doesn't scale beyond 2-3 people before trying to track all the
references become mindboggling.

How about using a separator character in the name? Nagios itself treats all
contacts as normal.  The WebUI drops the separator and everything after it
in the calculation of 'visible'.

For example:

jrhett#mailonly
jrhett#only9-5
jrhett#emergencies

The normal notification routines are unmodified, and treat these as three
separate entities.  But the WebUI drops #.... and thus 'jrhett' can see
anything that any of the three are assigned?

This is a VERY common F-A-Q.  If I found a way to code this, would it be
accepted as a feature?

-- 
Joe Rhett
senior geek
SVcolo : Silicon Valley Colocation


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click




More information about the Developers mailing list