Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 15:08
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 07:05
Newb: Result of nessus scan Slowhand Installation/Configuration 12 4th June 2009 15:31
monitoring services... id10t Feature Requests 0 20th November 2008 18:48
Services Monitoring minimalist Tips/Tricks/Mods 2 12th February 2008 19:40


All times are GMT +2. The time now is 04:54.


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