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:[EMAIL PROTECTED] 
        Sent: Thu 9/25/2003 12:41 PM 
        To: [EMAIL PROTECTED] 
        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:[EMAIL PROTECTED]
        Help        mailto:[EMAIL PROTECTED]
        Archive     http://www.ee.ethz.ch/~slist/smokeping-users
        WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
        


--
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

Reply via email to