I actually got it to work! Thanks for your help. I installed the jack example clients package, which is where the jack_lsp utility is. When I started silentjack like this:
silentjack -c "MPlayer :out_0" echo "Shit"
as soon as I turned down the levels on the audio source, silentjack did the right thing:
[jeremy@serv ~]$ silentjack -c "MPlayer :out_0" echo "Shit"
JACK tmpdir identified as [/dev/shm]
JACK client registered as 'silentjack'.
Connecting MPlayer :out_0 to silentjack:in
When I turned it back up, the echo stopped.
I think all I need for a nagios check is for the command to just exit a non-zero status to trip nagios.
This is great! Just saved me $400 on a hardware based silence monitor. What's cool is that since I'm using icecast, I could even have it react to take over the icecast mount with alternative audio stream.
On Feb 10, 2013, at 7:43 AM, Jeremy Hansen wrote:
Linux-audio-dev mailing list