Public bug reported:

Binary package hint: monit

i set this in the monitrc:
-------------------------------
set mail-format {
   from: [EMAIL PROTECTED]
   subject: $SERVICE $EVENT at $DATE
   message: <?xml version="1.0" encoding="ISO-8859-1"?>
<batch cid="foo" password="bar">
<sms>
<from>[EMAIL PROTECTED]</from>
<to>004989123456789</to>
<text>Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION  Event: 
$EVENT</text>
</sms>
</batch>
}
-------------------------------


what comes out in the mail is:
-------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<batch cid="foo" password="bar">
<sms>
<from>[EMAIL PROTECTED]</from>
<to>004989123456789</to>
<text>Monit alert apache at Tue, 27 Mar 2007 12:56:53 +0200 on bart: 
$DESCRIPTION  Event: Exists</text>
</sms>
</batch>
'apache' process is running with pid 19717
-------------------------------

The DESCRIPTION tag is not replaced in the right way.
I tried out the binary version 4.9 from the monit website and with this version 
it works.

Could someone fix this?
elsewise i cannot send wellformed xml to an email2sms gateway :(

thx

krull

** Affects: monit (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
invalid mail-body in monit 4.6 ubuntu dapper
https://launchpad.net/bugs/96964

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to