Xymon Mailing List Archive search

MACROS

list Henrik Størner
Thu, 31 Mar 2005 09:05:30 +0200
Message-Id: <user-307f9a1e63f3@xymon.invalid>

On Thu, Mar 31, 2005 at 01:25:34PM +1000, Adam Goryachev wrote:
Comma-delimited also works for some people, but that depends on your
"mail" program. Why? Because a definition like this

  $ALERTGROUP=user-490a14721d84@xymon.invalid,user-0ea294303ceb@xymon.invalid,user-85a97e0c328b@xymon.invalid

ends up being passed as a command-line parameter to the $MAIL
program. So if your mail-program understands a list of recipients
separated by commas, it is actually more efficient because Hobbit only
needs to run the mail program once with the comma-separated list of
recipients.
Does hobbit understand that the comma delimited are actually individual
email addresses for the purpose of deciding who to page? ie, say you had
another rule which said don't page user-0ea294303ceb@xymon.invalid, would it know to
remove user-0ea294303ceb@xymon.invalid from the rule?
No, Hobbit doesn't do any parsing of the recipient addresses - they
are blindly passed on to the mail- or script-program.


Regards,
Henrik