[syslog-ng]sending message by email
Gregor Binder
gb@rootnexus.net
Fri, 1 Feb 2002 18:37:22 +0100
David Monk on Fri, Feb 01, 2002 at 11:25:50AM -0600:
Hey David,
> destination d_email { program("/usr/local/bin/syslog-mail.sh $HOST"); };
>
> When I get the email, the subject is "Log notification for "
>
> Know anyway to fix that?
looks a lot like $HOST is not expanded in program destinations. Probably
should be. Fix is writing a patch, or using awk or cut (better) to figure
out the hostname.
Regards,
--
____ ____
/ _/| - > Gregor Binder <gb@(rootnexus.net|sysfive.com)>
| / || _\ \
\__ Id: 0xE2F31C4B Fp: 8B8A 5CE3 B79B FBF1 5518 8871 0EFB AFA3 E2F3 1C4B