View Single Post
  #1  
Old 29th December 2011, 03:25
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 220
Thanks: 11
Thanked 10 Times in 10 Posts
Default Monitoring Remote Services

I work at a radio station. We stream our audio streams via a Linux server running Icecast2. On the "server" machine, I have two Lexicon Alpha USB soundcards running two of the "live" streams (using Darkice). On a separtate Mac OSX server (not my choice, but it's what was available to me) I am creating another stream (using a program called Nicecast) to send the audio to the Linux server as a separate mountpoint...and then a Windows PC sending the fourth stream as yet another mountpoint.

Is there any way to monitor the Mac and the Windows machines to see if the streams are being "sent" to the Linux box and the Icecast Server?

Is there a way to check the stream on the Linux box (or any sever) to see if it exists like this:

Code:
if exists (ip:port/mountpoint1.mp3) {do nothing} else { echo "something is wrong with mountpoint 1" }

if exists (ip:port/mountpoint2.mp3) {do nothing} else { echo "something is wrong with mountpoint 2" }

if exists (ip:port/mountpoint3.mp3) {do nothing} else { echo "something is wrong with mountpoint 3" }

if exists (ip:port/mountpoint4.mp3) {do nothing} else { echo "something is wrong with mountpoint 4" }
Thanks!
Reply With Quote
Sponsored Links