Customized macros not working for contacts
Deborah Martin
Deborah.Martin at kognitio.com
Fri May 4 09:27:10 CEST 2012
No - that was a typo on my part.
In both test cases there were two underscores.
Regards,
Deborah
-----Original Message-----
From: eponymous alias [mailto:eponymousalias at yahoo.com]
Sent: 03 May 2012 17:01
To: Nagios Developers List
Cc: Deborah Martin
Subject: Re: [Nagios-devel] Customized macros not working for contacts
> 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?
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited.
Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused.
------------------------------------------------------------------------------
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