Solved

Configure Nagios to monitor Flash Media Stream

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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.
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…

813 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

9 Experts available now in Live!

Get 1:1 Help Now