Xymon Mailing List Archive search

Hobbit email alerts

3 messages in this thread

list Keith W. Meserole · Thu, 30 Aug 2007 07:56:54 -0400 ·
Two questions:  

1.  In one of the discussions I saw references to a  HTML wrapper for email alert notifications.  Does anyone have that available to share and also can you provide the install instructions?

2.  How can Hobbit email alerts be customized?  Is there a way to add some generic instructional text to the alert?  All of ours go via email so there are no SMS type character limitations to be concerned with.
list Alexandre Levin · Thu, 30 Aug 2007 12:24:19 -0700 ·
Please see attached script

It is a little bit modified script from Robert Taylor  ( http://www.hswn.dk/hobbiton/2006/03/msg00067.html )

To install - just copy it to hobbit server ext folder (/home/hobbit/server/ext), do chown/chmod and add record like:

HOST=* COLOR=red
      SCRIPT /home/hobbit/server/ext/html-email-notification.sh user-9fc856e4301f@xymon.invalid REPEAT=2h RECOVERED


To the hobbit-alerts.cfg file to activate the notification


2. sure - It can be customized 

Alexander Levin
quoted from Keith W. Meserole


From: Meserole, Keith W. [mailto:user-73279f70f6bb@xymon.invalid] 
Sent: Thursday, August 30, 2007 4:57 AM
To: user-ae9b8668bcde@xymon.invalid; user-ae9b8668bcde@xymon.invalid
Cc: Meserole, Keith W.
Subject: [hobbit] Hobbit email alerts

Two questions:  
1.  In one of the discussions I saw references to a  HTML wrapper for email alert notifications.  Does anyone have that available to share and also can you provide the install instructions?
2.  How can Hobbit email alerts be customized?  Is there a way to add some generic instructional text to the alert?  All of ours go via email so there are no SMS type character limitations to be concerned with.
Attachments (1)
list Ryan Jay B. Lapuz · Fri, 2 May 2008 08:18:31 +0800 ·
Hi All, 
Is this should be the contents of the email alerts from hobbit server (w/ icons)?

Mon Apr 21 20:24:37 2008 0:04:36 
Mon Apr 21 20:24:11 2008 0:00:26 
Mon Apr 21 20:19:30 2008 0:04:41 
Mon Apr 21 20:19:09 2008 0:00:21 
Mon Apr 21 20:14:23 2008 0:04:46 
Mon Apr 21 20:14:07 2008 0:00:16 
Mon Apr 21 20:09:16 2008 0:04:51 
Mon Apr 21 20:09:06 2008 0:00:10 
Mon Apr 21 20:04:09 2008 0:04:57 
Mon Apr 21 20:04:04 2008 0:00:05 
Mon Apr 21 20:00:04 2008 0:04:00


Co'z I'm receiving alerts like this:


yellow Fri Apr 25 16:07:32 HKT 2008 up: 115 days, 10 users, 156 procs, load=6.09
&yellow Load is HIGH
System clock is -134 seconds off


How can I set the alerts to be sent w/ icons?


Hobbit 4.2.0

Fedora Core 6