Troubleshooting Alerts -- Having Problems
Hello,
I'm having to modify the hobbit-alerts.cfg file to add
additional pagers and remove some old ones.
However, I want to make sure that everything is working
since this is a live system. How can I test that the configuration
files is correct. I didn't receive some of the pages.
Also, We received Cell Phones in place of the pagers, and
now when I send messages to the cell phones, the cell phone
doesn't display it properly. It's to much data for the cell phones
they gave us. They are Nokia 6085's. When I get a text it
says 1 of 10..or .. missing text.. I'm guessing I'm going
to have to filter all my Hobbit alerts now.
Has anyone had this problem and have a sms script I can use?
Thanks..James
However, I want to make sure that everything is working since this is a live system. How can I test that the configuration files is correct.
Make a new config file (e.g. etc/hobbit-alerts-new.cfg, and on a commandprompt, while in the server directory:
bin/bbcmd hobbitd_alert --config=etc/hobbit-alerts-new.cfg --test <HOST> <TEST> [--color=COLOR] [--duration=SECONDS]
Mandatory arguments: HOST = hostname as it appears in Xymon TEST = testname as it appears in Xymon
Optional arguments: COLOUR = colourlevel (red, blue, purple, yellow, green) SECONDS = number of seconds the test supposedly is down.
For more options, see the hobbits_alert manual (right pulldown menu, last option).
Joost
On 2009-Apr-14, at 10:00 AM, James Wade wrote:
Also, We received Cell Phones in place of the pagers, and now when I send messages to the cell phones, the cell phone doesn’t display it properly. It’s to much data for the cell phones they gave us. They are Nokia 6085’s. When I get a text it says 1 of 10….or …. missing text…. I’m guessing I’m going to have to filter all my Hobbit alerts now.
There is a FORMAT option for alerts. In particular, you probably want
"FORMAT=SMS". See the hobbit-alerts.cfg man page and the example in
the alerts file itself.
-- Rob McBroom <http://www.skurfer.com/>
participants (3)
-
jkwade@futurefrontiers.com
-
joost.deheer@getronics.com
-
mailinglist0@skurfer.com