Xymon Mailing List Archive search

alert MAIL FORMAT=SMS generates large message

3 messages in this thread

list David Mostardi · Fri, 20 Jul 2007 13:40:33 -0500 ·
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?
 Thanks,
David

David Mostardi Advisory Systems Manager Elsevier MDL 2440 Camino Ramon, Suite XXX San Ramon CA XXXXX XXX.XXX.XXXX www.mdl.com
list Charles Jones · Fri, 20 Jul 2007 13:12:48 -0700 ·
Try the rule like so:

MAIL user-65be84e1496e@xymon.invalid <mailto: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 <mailto:user-65be84e1496e@xymon.invalid>  COLOR=red REPEAT=20 RECOVERED
quoted from David Mostardi
 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?
list David Mostardi · Fri, 20 Jul 2007 16:09:07 -0500 ·
Yes, moving "FORMAT=SMS" to the end of the line did the trick. Thanks
for the suggestion.
David
quoted from Charles Jones


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?