Xymon Mailing List Archive search

alert question

list Phil Wild
Fri, 23 May 2008 11:34:07 +0800
Message-Id: <user-20ab67dec7d6@xymon.invalid>

Have a read of the hobbit-alerts man page to get you staretd on how alert
scripts work.

Your script will need to read in the message from the environment variable
and do a replace of all the found &colour strings with a URL to each of the
coloured gifs from the hobbit web server. You may need to ensure the message
is sent as a valid html message etc so it works in your email client.

You will also need to reproduce the subject line etc using the env variables
that hobbit defines.

Cheers

Phil


2008/5/23 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
Here is some (well..only one =) custom alert scripts:

http://www.trantor.org/theshire/doku.php/alerts


On Thu, May 22, 2008 at 11:14 PM, Ryan Jay B. Lapuz <
user-945139049f37@xymon.invalid> wrote:
 Thanks for the quick reply!

Make a custom script; can someone share me the their script and teach me
how to configure it?

Thanks in advance!

Regards.
Ryan

----- Original Message -----
*From:* Josh Luthman <user-4c45a83f15cb@xymon.invalid>
*To:* user-ae9b8668bcde@xymon.invalid
*Sent:* Friday, May 23, 2008 11:01 AM
*Subject:* Re: [hobbit] alert question

Pretty sure you'll have to create a custom script and put in the HTML code
in the data section of your email.  To my knowledge you can't simply stick
in text in the alert Hobbit sends.

On Thu, May 22, 2008 at 10:57 PM, Ryan Jay B. Lapuz <
user-945139049f37@xymon.invalid> wrote:
 Hi all!

Just a follow up newbie question.

How can I make hobbit to send me alerts with icon like that alert below?
I am receiving alerts like this:

&yellow Warnings in <a
href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=HOST&amp;SECTION=msgs:/var/adm/messages">/var/adm/messages</a>
*Hobbit 4.2.0 w/ all-in-one patch instaled in Fedora Core 6*


   [image: green] Listener LISTENER_RMAN1 UP

   [image: red] Listener LISTENER DOWN


   [image: red] Listener LISTENER DOWN

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid