[hobbit] Alerts with Sounds

Steve Anderson Steve.Anderson at bipsolutions.com
Fri Apr 11 16:41:21 CEST 2008


Yup. Perfectly doable.

I've got an alert extension script that plays a sound when red alerts
come in (selected the normal way, in hobbit-alerts.cfg)

SCRIPT /usr/local/hobbit/server/ext/alerts/sound.sh blank COLOR=RED
EXSERVICE=ntp,sslcert,exim,files

sound.sh
==============================Begin===============================
#!/bin/sh
export ESPEAKER=localhost:16001
FILE='/usr/local/hobbit/server/ext/alerts/somethingwrong.wav';
esdplay $FILE
=======================End=======================


I've got esound installed on the server, and the windows version running
on a client machine.
The client machine has MyEnTunnel running on it, to forward port 16001,
from the client machine, to the server. (over ssh)

Mostly works ok, but sometimes the sound breaks up.

Steve Anderson


-----Original Message-----
From: DNS [mailto:dns1407 at yahoo.com] 
Sent: 11 April 2008 15:05
To: hobbit at hswn.dk
Subject: [hobbit] Alerts with Sounds

Hi All,

Is het posible in Hobbit to play a sound when something a status is
critical(Red)?

Greetz...

DNS

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



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



BiP Solutions Limited is a company registered in Scotland with Company Number SC086146 and VAT number 38303966 and having its registered office at Park House, 300 Glasgow Road, Shawfield, Glasgow, G73 1SQ ****************************************************************************
This e-mail (and any attachment) is intended only for the attention of the addressee(s). Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroyall copies and inform the sender by return e-mail.
This e-mail (whether you are the sender or the recipient) may be monitored, recorded and retained by BiP Solutions Ltd.
E-mail monitoring/ blocking software may be used, and e-mail content may be read at any time. You have a responsibility to ensure laws are not broken when composing or forwarding e-mails and their contents.
****************************************************************************



More information about the Xymon mailing list