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
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
.