[hobbit] sounds on hobbit alerts

Hobbit User hobbit at epperson.homelinux.net
Mon Aug 27 16:55:03 CEST 2007


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.





More information about the Xymon mailing list