Xymon Mailing List Archive search

Hobbit sending HTML emails?

list Robert Taylor
Sat, 29 Oct 2005 19:27:30 -0400
Message-Id: <user-0c412b23bcf3@xymon.invalid>

Another option is to write  custom alert script and set that as the action for the alert.  I have written just such a script so that my MRTG and UPS alerts come in as HTML and include the appropriate graphs.  I would be happy to email it to you if you would like, just be forwarned that I am not a developer so run at your own risk ;-).
 
Robert

	-----Original Message----- 
	From: Scheblein, Adam [mailto:user-de8d51f0c651@xymon.invalid] 
	Sent: Fri 10/28/2005 4:56 PM 
	To: user-ae9b8668bcde@xymon.invalid 
	Cc: 
	Subject: RE: [hobbit] Hobbit sending HTML emails?
	
	
	There is a way to make your mail program send html e-mails, however, if
	you check your version to make sure it has the -a, then under the mail
	variable, set it to be (and it shouldn't matter if you use mail or
	mailx):
	
	mailx -a "Content-type: text/html;"
	
	Adam
	
	-----Original Message-----
	From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
	Sent: Friday, October 28, 2005 2:53 PM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] Hobbit sending HTML emails?
	
	On Fri, Oct 28, 2005 at 12:46:58PM -0700, Charles Jones (charljon)
	wrote:
I've setup a Hobbit 4.1.2 instance and have been getting emails from
	it
that have HTML tags in them, but aren't recognized by either MS
	Outlook
or Mozilla Thunderbird as an HTML-email. So, either hobbit isn't
properly setting the header on the mails it sends, or something about
the alert output is causing the problem.
	
	Unless you changed something special in your setup, Hobbit handles
	all alerts as plain text, and just feeds them into your local "mail"
	utility.
	
The alert below is an example of how the emails I'm getting look, with
bare HTML tags in the message.
	
	I'm 99% sure this is an external add-on test that generates a status
	in HTML format.
	
	
	Regards,
	Henrik