Xymon Mailing List Archive search

sounds on hobbit alerts

list Hobbit User
Mon, 27 Aug 2007 10:55:03 -0400 (EDT)
Message-Id: <user-745a5bbbc0ca@xymon.invalid>

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.