Solved

Configure Nagios to monitor Flash Media Stream

Posted on 2014-04-06
3
1,097 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Read about why it is more lucrative for an IT company to participate in government projects.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

830 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