Xymon Mailing List Archive search

alert MAIL FORMAT=SMS generates large message

list David Mostardi
Fri, 20 Jul 2007 16:09:07 -0500
Message-Id: <1FDB9E4E8E1A1F41865987D216E56D4110B7CD25@mdlsloexc1001r>

Yes, moving "FORMAT=SMS" to the end of the line did the trick. Thanks
for the suggestion.
David


From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] 
Sent: Friday, July 20, 2007 1:13 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] alert MAIL FORMAT=SMS generates large message


Try the rule like so:

MAIL user-65be84e1496e@xymon.invalid  COLOR=red REPEAT=20 RECOVERED FORMAT=SMS

Mostardi, David (MDL US) wrote: 

I have the following alert in hobbit-alerts.cfg
 
    MAIL FORMAT=SMS user-65be84e1496e@xymon.invalid  COLOR=red REPEAT=20
RECOVERED
 
The alert action happens when it's supposed to, but the admin does not
receive the special tiny-size SMS. Instead he receives the large-size
email that MAIL FORMAT=TEXT would generate, which his phone service
splits up into four separate messages. Has anyone else seen this? Is
there something subtle I'm doing wrong?