$NOTIFICATIONRECIPIENTS$ macro contents inaccurate

Paul M. Dubuc work at paul.dubuc.org
Mon Aug 22 21:44:53 CEST 2011


Nagios 3.2.3 documentation says the notification macro:

$NOTIFICATIONRECIPIENTS$ is A comma-separated list of the short names of all 
contacts that are being notified about the host or service.

Instead this macro contains all contacts for the host or service regardless of 
whether the particular notification is actually being sent to them.  I have 
one contact for all services that only gets CRITICAL (c) notifications 
according to its service_notification_options setting, but the 
$NOTIFICATIONRECIPIENTS$ macro includes this contact along with others that 
get WARNING notifications when the WARNING notification is sent.  This would 
imply that the critical only contact also got the notification but this isn't 
true.

Paul Dubuc

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev




More information about the Users mailing list