Xymon Mailing List Archive search

Hobbit Email Alert Subject

11 messages in this thread

list Ryan Sclanders · Thu, 2 Apr 2009 16:22:32 +0000 ·
Hi,

I hope I havent missed this somewhere on the forum and that someone can help.

I have hobbit 4.2.0 running on Fedora Core 6 and Ubuntu 8.04 LTS, monitoring around 400 Servers in our Production and Corporate environments. I setup a number of different groups in hobbit-alerts.cfg and am sending out alerts based on the department responsible and priority. 

The problem or issue some of the departments / admins have is when they receive alert emails on there blackberries. The email subject is truncated according to the blackberry screen size or font size. They have asked me if it is possible to format the message subject so that they can respond more efficiently without having to scroll through the entire email.

As and example:

Current alert email subject: Hobbit [604196] SERVER:disk CRITICAL (RED)

What I would like the subject to be: SERVER:disk CRITICAL (RED) Hobbit [604196] 

This may seem a trivial or unimportant, but depending on the event we could receive up to 100 alerts messages from the fallout. It would be handy to scroll through the emails checking the subject without having to open them.

Thanks for any help you can provide on this.

Regards,
Ryan
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/
list Michael S. Fisher · Thu, 2 Apr 2009 10:10:30 -0700 ·
list Ryan Sclanders · Fri, 3 Apr 2009 06:40:42 +0000 ·
Hi,

I havent tried adding the WMLPATCH. Correct me if I am wrong but doesnt the wmlpatch relate to the web pages itself. I.E being able to view the status web pages on your mobile?
My monitoring site is not publicly accessible and I believe that that would probably take more time than viewing an email subject.

All I would like to do it change the alert email subject to include the server:service first before the hobbit alert id.

Thanks again for the help.


To: user-ae9b8668bcde@xymon.invalid
From: user-ab09d151b26b@xymon.invalid
Date: Thu, 2 Apr 2009 10:10:30 -0700
Subject: Re: [hobbit] Hobbit Email Alert Subject


Have you tried


http://xymonton.trantor.org/doku.php/addons:wmlpatch


Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
list Galen Johnson · Fri, 3 Apr 2009 10:30:25 -0400 ·
Check out the alert scripts on xymonton.  You could probably model something after the SMS alert script.

=G=
quoted from Ryan Sclanders

From: Ryan Sclanders [mailto:user-ddb3d9217f71@xymon.invalid]
Sent: Friday, April 03, 2009 2:41 AM
To: Hobbit Users
Subject: RE: [hobbit] Hobbit Email Alert Subject

Hi,

I havent tried adding the WMLPATCH. Correct me if I am wrong but doesnt the wmlpatch relate to the web pages itself. I.E being able to view the status web pages on your mobile?
My monitoring site is not publicly accessible and I believe that that would probably take more time than viewing an email subject.

All I would like to do it change the alert email subject to include the server:service first before the hobbit alert id.

Thanks again for the help.

To: user-ae9b8668bcde@xymon.invalid
From: user-ab09d151b26b@xymon.invalid
Date: Thu, 2 Apr 2009 10:10:30 -0700
Subject: Re: [hobbit] Hobbit Email Alert Subject

Have you tried

http://xymonton.trantor.org/doku.php/addons:wmlpatch

" Upgrade to Internet Explorer 8 Optimised for MSN. " Download Now<http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U>;
list Ricardas Vaitkus · Fri, 3 Apr 2009 17:36:32 +0300 ·
Hi all

I have two user groups, one of them (the main) are making sure that sistem
is doing it's job, and they have to be informed if the real problem appears
and dont care about other parameters which describes state of server (CPU,
disk, and other). Other group is admins and they do need information about
the state of server. I have created alternate pageset every thing is fine
for them. But the problem is that the colums that are not shown normaly for
first group, are shown in bb2 page then then state changes.

Is there any possibility not to show all events sent from clients on bb2
page?

Thanks
Ricardas
list Larry Barber · Fri, 3 Apr 2009 12:01:39 -0500 ·
You can use the bbnk page instead of the bb2 page.

Thanks,
Larry Barber
quoted from Ricardas Vaitkus

On Fri, Apr 3, 2009 at 9:36 AM, Ricardas Vaitkus <user-cf86631672ba@xymon.invalid>wrote:
Hi all

I have two user groups, one of them (the main) are making sure that sistem
is doing it's job, and they have to be informed if the real problem appears
and dont care about other parameters which describes state of server (CPU,
disk, and other). Other group is admins and they do need information about
the state of server. I have created alternate pageset every thing is fine
for them. But the problem is that the colums that are not shown normaly for
first group, are shown in bb2 page then then state changes.

Is there any possibility not to show all events sent from clients on bb2
page?

Thanks
Ricardas

list Joost Deheer · Mon, 6 Apr 2009 08:57:52 +0200 ·
All I would like to do it change the alert email subject to include the server:service first before the hobbit alert id.
Use the SCRIPT alert method, you can write your own wrapper script that modifies the alerts to the format that you desire.

Joost
list Joost Deheer · Mon, 6 Apr 2009 09:12:58 +0200 ·
Is there any possibility not to show all events sent from clients on bb2 page?
The 'nobb2' tag prevents sending alerts for a host to the bb2 page. See also the section 'BUILDING ALTERNATE PAGESETS' in the bbgen manpage for a manual on how to build alternate views.

Joost
list Ricardas Vaitkus · Mon, 6 Apr 2009 11:31:20 +0300 ·
Hi Larry and Joost

Thanks for response.
Joost - tag nobb2 is used for not showing wole host, but what I want to do
is just not to show some columns. I have red article "building alternate
pagesets" and I have successfuly made one :)
Larry - using bbnk page insted of bb2 is a good decision, despite it does
not give full functionaliti of bb2 but it is good enough for me.

Thanks folks
Ricardas

Larry Barber <user-6ef9c2864140@xymon.invalid> wrote on 03/04/2009 20:01:39:
quoted from Larry Barber
You can use the bbnk page instead of the bb2 page.

Thanks,
Larry Barber
On Fri, Apr 3, 2009 at 9:36 AM, Ricardas Vaitkus <user-cf86631672ba@xymon.invalid
quoted from Larry Barber
wrote:
Hi all

I have two user groups, one of them (the main) are making sure that
sistem
is doing it's job, and they have to be informed if the real problem
appears
and dont care about other parameters which describes state of server
(CPU,
disk, and other). Other group is admins and they do need information
about
the state of server. I have created alternate pageset every thing is fine
for them. But the problem is that the colums that are not shown normaly
for
first group, are shown in bb2 page then then state changes.

Is there any possibility not to show all events sent from clients on bb2
page?

Thanks
Ricardas

list Ryan Sclanders · Mon, 6 Apr 2009 14:04:21 +0000 ·
Thanks Joost and Galen. I will check this out and post my resolution (If I get it right)
quoted from Joost Deheer
From: user-2f9e177ba6f2@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
CC: user-ddb3d9217f71@xymon.invalid
Date: Mon, 6 Apr 2009 08:57:52 +0200
Subject: RE: [hobbit] Hobbit Email Alert Subject
All I would like to do it change the alert email subject to include the server:service first before the hobbit alert id.
Use the SCRIPT alert method, you can write your own wrapper script that modifies the alerts to the format that you desire.

Joost

Share your photos with Windows Live Photos – Free.
http://clk.atdmt.com/UKM/go/134665338/direct/01/
list Ronald Merrifield · Mon, 6 Apr 2009 09:13:58 -0700 ·
Ryan,

 
I've been following this post with some interest.  I'd be interested in
following your progress as I would like to implement a solution similar
to what you are looking for.

 
Respectfully,

Ron Merrifield
quoted from Ryan Sclanders

 
From: Ryan Sclanders [mailto:user-ddb3d9217f71@xymon.invalid] 
Sent: Monday, April 06, 2009 7:04 AM
To: Hobbit Users
Subject: RE: [hobbit] Hobbit Email Alert Subject

 
Thanks Joost and Galen. I will check this out and post my resolution (If
I get it right)
From: user-2f9e177ba6f2@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
CC: user-ddb3d9217f71@xymon.invalid
Date: Mon, 6 Apr 2009 08:57:52 +0200
Subject: RE: [hobbit] Hobbit Email Alert Subject
All I would like to do it change the alert email subject to include
the server:service first before the hobbit alert id.
Use the SCRIPT alert method, you can write your own wrapper script
that modifies the alerts to the format that you desire.

Joost

Share your photos with Windows Live Photos - Free. Try it Now!
<http://clk.atdmt.com/UKM/go/134665338/direct/01/>;