Solved

Configure Nagios to monitor Flash Media Stream

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 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

15 Experts available now in Live!

Get 1:1 Help Now