Xymon Mailing List Archive search

Very long message despite FORMAT=SMS

2 messages in this thread

list Johan Sjöberg · Mon, 15 Oct 2012 11:17:49 +0000 ·
Hi.

There seems to be some problem with the FORMAT=SMS parameter in alerts.cfg on 4.3.10. We are getting very long text messages, despite using FORMAT=SMS in the alerts config file. The alert was regarding the msgs test for one server, and the message was over 4000 characters.

This is the line that generates the alert:

PAGE=DM,Network COLOR=red
SCRIPT /usr/local/bin/sendsms.sh $DELTA_JOSJ DURATION>7 FORMAT=SMS REPEAT=15

Regards,
Johan Sjöberg
list Josh Luthman · Mon, 15 Oct 2012 09:11:15 -0400 ·
Try moving FORMAT to the end of the line.  That's how I have it set up (but
I am using MAIL instead of SCRIPT).

HOST=%.*\.imaginenetworksllc\.com
  MAIL user-141e41ea3f2d@xymon.invalid COLOR=RED DURATION>2m REPEAT=60 RECOVERED
FORMAT=SMS

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Mon, Oct 15, 2012 at 7:17 AM, Johan Sjöberg <
quoted from Johan Sjöberg
user-74c177c1220d@xymon.invalid> wrote:
 Hi.****

** **

There seems to be some problem with the FORMAT=SMS parameter in alerts.cfg
on 4.3.10. We are getting very long text messages, despite using FORMAT=SMS
in the alerts config file. The alert was regarding the msgs test for one
server, and the message was over 4000 characters.****

** **

This is the line that generates the alert:****

** **

PAGE=DM,Network COLOR=red****

SCRIPT /usr/local/bin/sendsms.sh $DELTA_JOSJ DURATION>7 FORMAT=SMS
REPEAT=15****

** **

Regards,****

Johan Sjöberg****