Customized macros not working for contacts

eponymous alias eponymousalias at yahoo.com
Thu May 3 18:01:25 CEST 2012


> I’m running nagios 3.3.1 on sles 10.

> I’ve defined a contact which uses a customized macro called
> _EMAILCONTACTID   However, when I try to reference this macro,
> from a script defined to run as part of a service check,  as an
> environment variable $NAGIOS__CONTACTEMAILCONTACTID,
> is blank

> If I define a customized macro in the service definition, I can
> see the contents of $NAGIOS_SERVICEEMAILCONTACTID.

Something is odd about the way you've written those names.
One has two underscores, the other has one.  Might that have
something to do with the failure you see?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list