Solved

Configure Nagios to monitor Flash Media Stream

Posted on 2014-04-06
3
1,022 Views
Last Modified: 2014-04-10
How can I monitor a Flash Media Stream just to know that it is up and  streaming? In other words what methodology and plugins to use? I know there is a commercial software for this and it is very expensive, but I just need to know if it is up or not. I control the client Flash Streamer, called Flash Media Live encoder, but not the server. Of course, FMLE resides on a Windows Machine.

And I already have a functional Nagios Installation on my Linux box.
0
Comment
Question by:Jeff swicegood
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
Frosty555 earned 500 total points
ID: 39981761
You will need to find a programmatic way to connect to the Flash media stream and test that the data you're getting back looks correct. This means some kind of console command that can connect to your site, start the flash stream, and return information about it. Once you have the ability to do that, you can create a Nagios plugin around it to feed the data to Nagios.

I don't know how to connect to or read from a flash media stream from the linux console. A bit of google shows tools like this, which maybe will work for you (or something similar?)

Livestreamer python package:
http://xmodulo.com/2014/01/watch-live-streaming-video-command-line-linux.html

Or, perhaps you can use VLC Player, and with the appropriate command line arguments have it connect to the Flash video stream, and set the audio/video output module to something you can test, e.g. send it to a file, and the analyze the contents of the file afterwards using other tools.

https://wiki.videolan.org/VLC_command-line_help/
http://www.videolan.org/doc/vlc-user-guide/en/ch04.html
https://wiki.videolan.org/Flash_Video/
0
 
LVL 1

Author Comment

by:Jeff swicegood
ID: 39992311
I found rtmpdump, a linux program that will dump a flash stream to a file. It is working very nicely with my stream. I have it set to terminate after 10 seconds. It returns three exit codes 0,1, and 2. Now I just need a shell script that returns OK, CRITICAL, and WARNING for those exit values, respectively.
0
 
LVL 1

Author Comment

by:Jeff swicegood
ID: 39992734
Ok, got that done.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now