Xymon Mailing List Archive search

sounds on hobbit alerts

11 messages in this thread

list Sello Tlabela SD · Mon, 27 Aug 2007 09:43:49 +0200 ·
Hi All,

 
Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?

 
Regards,

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  |
Office: +XX XX XXX XXXX | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX

 
<html>
<body>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to an electronic communication legal notice, available at :
<a href="http://www.telkom.co.za/TelkomEMailLegalNotice.PDF">; http://www.telkom.co.za/TelkomEMailLegalNotice.PDF</a>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</body>
</html>
list Stef Coene · Mon, 27 Aug 2007 10:39:28 +0200 ·
On Monday 27 August 2007, Sello Tlabela (SD) wrote:
Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?
http://it.slashdot.org/article.pl?sid=06/02/09/1325225

:)


Stef
list Steve Anderson · Mon, 27 Aug 2007 09:43:43 +0100 ·
I've had a system doing this :D

 
I set up an ESD server (Enlightened Sound Daemon) where I was wanting
the sound to be played, then set up an alert script to play the sound to
it.

 
The script was something like:

 
#!/bin/bash

export ESPEAKER=10.2.0.81

esdplay /usr/local/hobbit/server/ext/alerts/somethingwrong.wav

 
With 10.2.0.81 being the location of the ESD server.

 
For setup of the server, take a look at:

http://www.tux.org/~ricdude/EsounD.html

 
It's probably installed though.

 
I started it with something like: esd -promiscuous -tcp -public

 
Make sure to actually turn the sound on, using one of the mixers. 

 
Steve Anderson
quoted from Sello Tlabela SD

 
From: Sello Tlabela (SD) [mailto:user-68d80b7df288@xymon.invalid] 
Sent: 27 August 2007 08:44
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] sounds on hobbit alerts

 
Hi All,

 
Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?

 
Regards,

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  | Office:

+27 12 680 3176 | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX
quoted from Sello Tlabela SD

 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to an electronic communication legal notice,
available at :

http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


This email has been scanned by Netintelligence
http://www.netintelligence.com/email


.
list Trent Melcher · Mon, 27 Aug 2007 09:24:16 -0500 ·
quoted from Sello Tlabela SD
 

From: Sello Tlabela (SD) [mailto:user-68d80b7df288@xymon.invalid] 
Sent: Monday, August 27, 2007 2:44 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] sounds on hobbit alerts

 
Hi All,

 
Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?

 

I have done this in the past using a perl wrapper watching the allevents
file.

 
Trent
quoted from Steve Anderson

 
Regards,

 
Sello Tlabela | Ops Specialist | ISS Infrastructure | Telkom
E-Mail:  user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>  | Office:
+27 12 680 3176 | Fax: +XX XX XXX XXXX | Cell: +XX XX XXX XXXX

 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail is subject to an electronic communication legal notice,
available at :
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF

<http://www.telkom.co.za/TelkomEMailLegalNotice.PDF>; 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Ralph Mitchell · Mon, 27 Aug 2007 09:35:15 -0500 ·
quoted from Sello Tlabela SD
On 8/27/07, Sello Tlabela (SD) <user-68d80b7df288@xymon.invalid> wrote:
 Hi All,


Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?
Does the old "bbtray" program work with Hobbit, or is it too specific to Big
Brother??

Ralph Mitchell
list Hobbit User · Mon, 27 Aug 2007 10:55:03 -0400 (EDT) ·
quoted from Sello Tlabela SD
On Mon, August 27, 2007 03:43, Sello Tlabela (SD) wrote:
Is it possible to set alerts to play sound on hobbit when the colour
changes to red, yellow?
Sure.  I'm presuming you want the sound in the browser, not on the server.
 In web/bb_header, insert after the line beginning "<BODY BGCOLOR" a line
like:
<EMBED SRC="&BBBACKGROUND.wav" AUTOSTART="True" HIDDEN="True" LOOP= "false">

Put red.wav, green.wav, purple.wav, and yellow.wav in the Hobbit www
directory.

I use .wav as an example only.  The browser, of course, must have a sound
plug-in that handles the type sound file used or it will do something like
put up a "Plug in needed" bar.  Firefox 2.0 on XP will foreground every
time the page reloads (on my office machine, anyway), IE 6 will not. 
YMMV.  Offer void where prohibited.  Don't take any wooden cigars.
list Lars Ebeling · Mon, 27 Aug 2007 17:05:24 +0200 ·
I use bbtray with hobbit, so far it works. To choose what alarms to sound on I use the NK-view page.

Regards
Lars
quoted from Ralph Mitchell
  ----- Original Message ----- 
  From: Ralph Mitchell 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Monday, August 27, 2007 4:35 PM
  Subject: Re: [hobbit] sounds on hobbit alerts


  On 8/27/07, Sello Tlabela (SD) <user-68d80b7df288@xymon.invalid> wrote:
    Hi All,


    Is it possible to set alerts to play sound on hobbit when the colour changes to red, yellow?


  Does the old "bbtray" program work with Hobbit, or is it too specific to Big Brother??

  Ralph Mitchell
list Dean Casey · Mon, 27 Aug 2007 11:59:15 -0400 ·
We use bbtray with Hobbit as well. Works fine. However, you might want
to replace the default of Homer Simpson yelling an expletive (RED) with
something more appropriate. 

 
In our environment, we use Tom Hanks' line for "Apollo 13" - "Houston,
we have a problem" - to indicate RED status; and the "all systems
functioning normally" computer tag line from the original Star Trek TV
series to indicate return to GREEN status. Yes, it's true. I am an
uber-geek. 

 
Dean Casey 
quoted from Lars Ebeling


From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] 
Sent: Monday, August 27, 2007 11:05 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sounds on hobbit alerts

 
I use bbtray with hobbit, so far it works. To choose what alarms to
sound on I use the NK-view page.

 
Regards

Lars

	----- Original Message ----- 

	From: Ralph Mitchell <mailto:user-00a5e44c48c0@xymon.invalid>  

	To: user-ae9b8668bcde@xymon.invalid 

	Sent: Monday, August 27, 2007 4:35 PM

	Subject: Re: [hobbit] sounds on hobbit alerts

	 
	On 8/27/07, Sello Tlabela (SD) <user-68d80b7df288@xymon.invalid> wrote: 

		Hi All,

		 
		Is it possible to set alerts to play sound on hobbit
when the colour changes to red, yellow?

	
	Does the old "bbtray" program work with Hobbit, or is it too
specific to Big Brother??
	
	Ralph Mitchell
list Trent Melcher · Mon, 27 Aug 2007 11:50:18 -0500 ·
quoted from Dean Casey
On Mon, 2007-08-27 at 11:59 -0400, Dean Casey wrote:
We use bbtray with Hobbit as well. Works fine. However, you might want
to replace the default of Homer Simpson yelling an expletive (RED)
with something more appropriate. 
 
In our environment, we use Tom Hanks’ line for “Apollo 13” – “Houston,
we have a problem” – to indicate RED status; and the “all systems
functioning normally” computer tag line from the original Star Trek TV
series to indicate return to GREEN status. Yes, it’s true. I am an
uber-geek. 
We use the sounds from the HAL 9000,  RED - "I just picked up a fault"
YELLOW - "One moment please."   GREEN - "I feel much better now, I
really do"   PURPLE - "Im sorry for the delay"

Again, I wrapped a perl script around the allevents log that way we
could get the alerts to sound immediately when Big Brother (now Hobbit)
picked up the problem and didnt have to wait for the browser to refresh.
Also with this script watching the allevent log it would display each
event line in the appropriate color, again this was so the helpdesk
folks could see the alert as it happened and not have to wait for the
browser or bbdisplay to update.  All they had to do is listen and look
and the Command wall for the alerts.

Trent 
Trent
quoted from Dean Casey
 
Dean Casey 

From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Monday, August 27, 2007 11:05 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sounds on hobbit alerts


I use bbtray with hobbit, so far it works. To choose what alarms to
sound on I use the NK-view page.


Regards


Lars


        ----- Original Message -----                         From: Ralph Mitchell                         To: user-ae9b8668bcde@xymon.invalid                         Sent: Monday, August 27, 2007 4:35 PM
                        Subject: Re: [hobbit] sounds on hobbit alerts
                                                 On 8/27/07, Sello Tlabela (SD) <user-68d80b7df288@xymon.invalid> wrote:                         Hi All,
                                                                 Is it possible to set alerts to play sound on hobbit
                when the colour changes to red, yellow?
                                                        Does the old "bbtray" program work with Hobbit, or is it too
        specific to Big Brother??
                Ralph Mitchell
                                         
list Ger Maguire · Mon, 27 Aug 2007 20:05:00 +0100 ·
Is there a Debian deb install package for Hobbit 4.2 ?

Thanks,
Ger.
list Dean Casey · Tue, 28 Aug 2007 10:10:01 -0400 ·
I bow to your superior geek quotient. HAL9000, very cool indeed. 
Dean Casey 
quoted from Trent Melcher

-----Original Message-----
From: Trent Melcher [mailto:user-c65e78735b17@xymon.invalid] Sent: Monday, August 27, 2007 12:50 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] sounds on hobbit alerts

On Mon, 2007-08-27 at 11:59 -0400, Dean Casey wrote:
We use bbtray with Hobbit as well. Works fine. However, you might want
to replace the default of Homer Simpson yelling an expletive (RED)
with something more appropriate. 
 
In our environment, we use Tom Hanks' line for "Apollo 13" - "Houston,
we have a problem" - to indicate RED status; and the "all systems
functioning normally" computer tag line from the original Star Trek TV
series to indicate return to GREEN status. Yes, it's true. I am an
uber-geek. 
We use the sounds from the HAL 9000,  RED - "I just picked up a fault"
YELLOW - "One moment please."   GREEN - "I feel much better now, I
really do"   PURPLE - "Im sorry for the delay"

Again, I wrapped a perl script around the allevents log that way we
could get the alerts to sound immediately when Big Brother (now Hobbit)
picked up the problem and didnt have to wait for the browser to refresh.
Also with this script watching the allevent log it would display each
event line in the appropriate color, again this was so the helpdesk
folks could see the alert as it happened and not have to wait for the
browser or bbdisplay to update.  All they had to do is listen and look
and the Command wall for the alerts.

Trent 
Trent
 
Dean Casey 

From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Monday, August 27, 2007 11:05 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sounds on hobbit alerts


I use bbtray with hobbit, so far it works. To choose what alarms to
sound on I use the NK-view page.


Regards


Lars


        ----- Original Message -----                         From: Ralph Mitchell                         To: user-ae9b8668bcde@xymon.invalid                         Sent: Monday, August 27, 2007 4:35 PM
                        Subject: Re: [hobbit] sounds on hobbit alerts
                                                 On 8/27/07, Sello Tlabela (SD) <user-68d80b7df288@xymon.invalid> wrote:                         Hi All,
                                                                 Is it possible to set alerts to play sound on hobbit
                when the colour changes to red, yellow?
                                                        Does the old "bbtray" program work with Hobbit, or is it too
        specific to Big Brother??
                Ralph Mitchell