HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Monitoring Remote Services (http://www.howtoforge.com/forums/showthread.php?t=55566)

bschultz 29th December 2011 04:25

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!


All times are GMT +2. The time now is 15:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.