Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Configure Nagios to monitor Flash Media Stream

Posted on 2014-04-06
3
Medium Priority
?
1,191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
Frosty555 earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Postmortem reporting allow us to examine mistakes in a way that focuses on the situational aspects of a failure’s mechanism and the decision-making process of individuals proximate to the failure. Read our guide on how to handle IT post-mortem repor…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

715 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