Xymon Mailing List Archive search

Troubleshooting Alerts -- Having Problems

list Jim Smith
Tue, 14 Apr 2009 14:32:56 -0600
Message-Id: <user-6a7cbb46cc04@xymon.invalid>

I was just kidding.  I'm not the one who initiated this thread.  Sorry!

Jim Smith
SVHS
Little Rock

-----Original Message-----
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] 
Sent: Tuesday, April 14, 2009 3:24 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] RE: Troubleshooting Alerts -- Having Problems

There is already an example that could be used on the alerts page at
Xymonton.

-----Original Message-----
From: Smith, Jim [mailto:user-dc30f243a817@xymon.invalid] 
Sent: Tuesday, April 14, 2009 4:16 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] RE: Troubleshooting Alerts -- Having Problems

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