Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My client uses a 3rd party to stream their radio station. Recently then have complaints about service outage in different global locations.

Does anyone know of a service I can use to monitor the remote audio stream coming from the streaming server?

share|improve this question

2 Answers 2

You could use something like Nagios or Zabbix to periodically (every minute or two) connect to the port the streaming services uses. Connection ok = good result. Connection refused or timed out = bad result and you can throw an error with whatever action... email, text message, or just logging it.

share|improve this answer
    
I only have a URL like this, subdomain.example.com/jw.php?channel=mymusic - can I use this... or is there a way to tell what port is being used? –  Owen Oct 7 '10 at 15:45
    
When the URL is up does it return a 200 OK, and when it's down does it report a 500, or something other than 200? If yes then you can absolutely use it. –  Dave Holland Oct 8 '10 at 4:57
    
Thanks - sounds good. I might give one of those a go... although they look rather complex. I just found a php script that will retrieve headers for a remote file. If I stick it on cron I think that might do the trick. I found the script at bit.ly/9oDhX0 if anyone is looking for something similar. –  Owen Oct 8 '10 at 20:45

You can use AlertFox for monitorig a website from a real browser (Firefox, IE, etc). One of the tasks we use it for is to monitor the start of a video in a Flash player.

I would assume you can do the same for audio. Have the AlertFox script click "play" on an embedded audio player and see if/when the replay starts.

share|improve this answer
    
Thanks - not seen AlertFox before - looks quite good. –  Owen Oct 8 '10 at 20:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.