Page 1 of 1

Re: [Nagios-devel] Customized macros not working for contacts

Posted: Thu May 03, 2012 3:11 pm
by Guest
> I=E2=80=99m running nagios 3.3.1 on sles 10.=0A=0A> I=E2=80=99ve defined =
a contact which uses a customized macro called=0A> _EMAILCONTACTID Howeve=
r, when I try to reference this macro,=0A> from a script defined to run as =
part of a service check, as an=0A> environment variable $NAGIOS__CONTACTEM=
AILCONTACTID,=0A> is blank=0A=0A> If I define a customized macro in the ser=
vice definition, I can=0A> see the contents of $NAGIOS_SERVICEEMAILCONTACTI=
D.=0A=0ASomething is odd about the way you've written those names.=0AOne ha=
s two underscores, the other has one. Might that have=0Asomething to do wi=
th the failure you see?





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]