Of course, there are three alert notification mechanisms in Smokeping... 1) using SENDMAIL to send a message to a user. The way you configure it to use this method is to NOT use a smarthost in the config file.
2) using NET::Smtp to send a message to a user. The way you configure it to use this method is to PUT a smarthost in the config file. 3) calling your own script. You configure this by putting the pipe symbol in front of your "TO" address in the config file. The script can then do anything you want (or can script!). As you can see, the only mechanism that would use a sendmail Distribution list would be the first one. Also note that in the config parser (get_parser), the contact is error checked by a regex that requires the format "[EMAIL PROTECTED]". You must change this to use a single word as the TO: format. Dan -----Original Message----- From: Gary Borgeson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:11 PM To: [EMAIL PROTECTED] Subject: [smokeping-users] EMail Aliases for Alerts If I have a sendmail distribution list such as "netmanagers" which contains a few email addresses, what is the syntax for the "To:" field if I want to use this list instead of a single email address? "To: netmanagers" doesn't work. -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/smokeping-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
