Xymon Mailing List Archive search

Troubleshooting Alerts -- Having Problems

list Jim Smith
Tue, 14 Apr 2009 14:15:45 -0600
Message-Id: <user-d8fd2a2126d7@xymon.invalid>

Oh, man!  That sounds too much like work!

<grin>

Jim Smith
SVHS
Little Rock


-----Original Message-----
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] 
Sent: Tuesday, April 14, 2009 3:12 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] RE: Troubleshooting Alerts -- Having Problems

Write your own code to parse the alert and generate the SMS message that
suits you.

GLH 

-----Original Message-----
From: James Wade [mailto:user-659655b2ea05@xymon.invalid] 
Sent: Tuesday, April 14, 2009 2:29 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] RE: Troubleshooting Alerts -- Having Problems

The problem with no SMS notification was a slow email server. So, SMS
works fine. However, the message is way to short.

For example, if it is alerting on a disk threshold, then all I get on
the SMS is the server name, and the test name that is failing. I don't
actually get the partition (filesystem) that exceeded the threshold.

If I use PLAIN or just leave it at default, I get to much information
and it overruns the poor little cell phone.

Does anyone have any suggestions?

Thanks...james

-----Original Message-----
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Tuesday, April 14, 2009 12:16 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] RE: Troubleshooting Alerts -- Having Problems

So, I tried this in hobbit-alerts.cfg

MAIL os-primary-pager FORMAT=sms REPEAT=15 COLOR=RED DURATION>5m
DURATION<35 RECOVERED

The notifications log said it was sent to the phone.
(os-primary-pager is in the mail aliases file)

However, the phone never received the messages. Prior to putting in the
FORMAT=sms, it sent pages fine. 

Thanks...James