This is really trivial at this point in my setup. So, I will just change to the subject to only being "Log notification". Thanks for the input guys. David ----- Original Message ----- From: "Gregor Binder" <gb@rootnexus.net> To: <syslog-ng@lists.balabit.hu> Sent: Friday, February 01, 2002 11:37 AM Subject: Re: [syslog-ng]sending message by email
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
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng