[smokeping-users] Re: SmokeAlert SMTP Header Addition request

Dan McGinn-Combs Dan.McGinn-Combs at Geac.com
Thu Sep 25 19:10:33 MEST 2003


Actually there are two ways to attack this.
 
The first way is to write your own script to send the mails and let Smokeping call that script. In the configuration where it asks for the e-mail address of the alert-ee, you place a pipe symbol followed by the script name (i.e. |Tell-Dan.pl). The pipe symbol indicates to Smokeping that it should call the script. It does so with a few fields of its own. You can in your own script, manage what additional information you want to send using Net::SMTP. Check the sub "sendmail()" for more information.
 
The second method is to change the way the information is formated in Smokeping.pm. This formatting is done at the bottom of the sub "update_rrds()".
 
Dan
 
 
	-----Original Message----- 
	From: Scott Schappell [mailto:archon at silvertree.org] 
	Sent: Thu 9/25/2003 12:41 PM 
	To: smokeping-users at list.ee.ethz.ch 
	Cc: 
	Subject: [smokeping-users] SmokeAlert SMTP Header Addition request
	
	

	I noticed in SmokeAlert it doesn't add any sort of date header when it
	sends a message.  Since I like to know when one of these arrives, having
	to scroll down to the bottom of the mailbox is a bit of a hassle.  Is
	there any way to have smokeping add a date header to the SMTP envelope?
	
	Thanks!
	
	--
	Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
	Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
	Archive     http://www.ee.ethz.ch/~slist/smokeping-users
	WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
	


--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list