Capture Agent Live Audio Monitoring
Manchester has added live audio monitoring to it's CA monitor. Here are some details about how the underlying service is setup
The audio monitoring is provided via an Icecast2 - darkice (server - client) set up.
to install the Icecast2 server on RHEL 6:
- install the dependencies
yum install curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel
- install the EPEL packages
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- yum install icecast
- configure the config file at /etc/icecast.xml
- service icecast start
On the client: compile darkice from source. https://code.google.com/p/darkice/ (for pulse audio support). current version 1.2:
- mkdir ~/darkice && cd ~/darkice
- tar -xvzf darkice-1.2.tar.gz
- cd darkice-1.2
- apt-get install build-essential libsamplerate0-dev libpulse-dev libaudio-dev lame libjack-jackd2-dev libasound2-dev libtwolame-dev libfaad-dev libflac-dev libmp4v2-dev libshout3-dev libmp3lame-dev
- ./configure --prefix=/usr/ --sysconfdir=/usr/share/doc/darkice/examples --with-alsa-prefix=/usr/lib/i386-linux-gnu --with-samplerate-prefix=/usr/lib/i386-linux-gnu --with-jack-prefix=/usr/lib/i386-linux-gnu --with-lame-prefix=/usr/lib/i386-linux-gnu --with-pulseaudio-prefix=/usr/lib/i386-linux-gnu -with-vorbis-prefix=/usr/lib/i386-linux-gnu
- make
- make install
- touch /etc/darkice.cfg
- edit darkice.cfg example [[ darkice.cfg ]]
- crontab -e
#start darkice (init.d script is broken)
*/1 * * * * /usr/bin/darkice -v 10 -c /etc/darkice.cfg