Xymon Mailing List Archive search

Sending Hobbit alerts to numeric pager

4 messages in this thread

list Robert Manocchia · Fri, 10 Aug 2007 08:32:47 -0400 ·
 

I need to alert via a numeric page when a red alert happens for certain
services (conn, disk etc...). The page number has the following format:

 
  <areacode><number>@page.provider.com

 
We successfully send pages out via sendmail regularly via a script on
another server.

 
 How do I incorporate this method into Hobbit. Do I just use the MAIL
keyword in hobbit-alerts.cfg or is there something else I need to do.

 
 I've checked out all the documentation but cannot get a clue what to do.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid
list S Aiello · Fri, 10 Aug 2007 08:47:43 -0400 ·
I would suggest the following:
MAIL <areacode><number>@page.provider.com FORMAT=SMS

from the hobbit-alerts.cfg man page:
FORMAT=formatstring Format of the text message with the alert. Default 
is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but 
without the URL link to the status webpage. "SMS" is a short message with no 
subject for SMS alerts. "SCRIPT" is a brief message template for scripts.

You can also tweak your existing script, for Hobbit to use, If you want to 
customize the message output.

 ~Steve
quoted from Robert Manocchia

On Friday 10 August 2007 08:32, Manocchia, Robert wrote:
I need to alert via a numeric page when a red alert happens for certain
services (conn, disk etc...). The page number has the following format:


  <areacode><number>@page.provider.com


We successfully send pages out via sendmail regularly via a script on
another server.


 How do I incorporate this method into Hobbit. Do I just use the MAIL
keyword in hobbit-alerts.cfg or is there something else I need to do.


 I've checked out all the documentation but cannot get a clue what to do.


Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid
list Trent Melcher · Fri, 10 Aug 2007 08:46:31 -0500 ·
quoted from S Aiello

On Fri, 2007-08-10 at 08:32 -0400, Manocchia, Robert wrote:
 
I need to alert via a numeric page when a red alert happens for
certain services (conn, disk etc…). The page number has the following
format:

 
  <areacode><number>@page.provider.com
Yes, you would just use it as a typical email address,  however I would
also recommend setting up something like quickpage(qpage)  to send pages
out via and local TAP or 800 TAP depending on your pager provider.  At
least use this to send you pages if your mailserver goes down or have
issue sending out emails, this way you still get your pages and know of
problems.  It does require a modem and phone line to be attahced to your
hobbbit server.  THis has saved us a few times when having network and
and mail server issues.

Thanks
Trent
quoted from S Aiello
 
We successfully send pages out via sendmail regularly via a script on
another server.

 
 How do I incorporate this method into Hobbit. Do I just use the MAIL
keyword in hobbit-alerts.cfg or is there something else I need to do.

 
 I’ve checked out all the documentation but cannot get a clue what to
do.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

 
list Robert Manocchia · Fri, 10 Aug 2007 09:48:19 -0400 ·
Thanks

  I created a script to grab the info I wanted to send and it worked fine.
I'm now just tweaking it to get meaningful info with the page.

  Thanks.
quoted from S Aiello

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: user-ce96540ed38f@xymon.invalid [mailto:user-ce96540ed38f@xymon.invalid] 
Sent: Friday, August 10, 2007 8:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Sending Hobbit alerts to numeric pager

I would suggest the following:
MAIL <areacode><number>@page.provider.com FORMAT=SMS

from the hobbit-alerts.cfg man page:
FORMAT=formatstring Format of the text message with the alert. Default 
is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but 
without the URL link to the status webpage. "SMS" is a short message with no

subject for SMS alerts. "SCRIPT" is a brief message template for scripts.

You can also tweak your existing script, for Hobbit to use, If you want to 
customize the message output.

 ~Steve

On Friday 10 August 2007 08:32, Manocchia, Robert wrote:
I need to alert via a numeric page when a red alert happens for certain
services (conn, disk etc...). The page number has the following format:


  <areacode><number>@page.provider.com


We successfully send pages out via sendmail regularly via a script on
another server.


 How do I incorporate this method into Hobbit. Do I just use the MAIL
keyword in hobbit-alerts.cfg or is there something else I need to do.


 I've checked out all the documentation but cannot get a clue what to do.


Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid