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
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 9371231234 at vtext.com COLOR=RED DURATION>2m REPEAT=60 RECOVERED FORMAT=SMS
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Mon, Oct 15, 2012 at 7:17 AM, Johan Sjöberg < Johan.Sjoberg at deltamanagement.se> 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****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
Johan.Sjoberg@deltamanagement.se
-
josh@imaginenetworksllc.com