Page 9 of 9

Re: Random emails

Posted: Wed Sep 24, 2014 5:02 pm
by abrist
JohnFLi wrote:put the notify host back in the template, restarted the host, got a bogus email
This is because the notify command uses the $CONTACTEMAIL$ macro. This macro is populated by a contact object, not a host. So when the notify command is called from a host object, it cannot populate the macro, which usually ends up as a "$" in the shell command instead of an email address. Notification handlers should only be set on contact objects/templates.

Cheers!