How to monitor video stream in Nagios.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

How to monitor video stream in Nagios.

Post by imran_khan »

Hello,

How to monitor video stream in Nagios.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: How to monitor video stream in Nagios.

Post by sreinhardt »

What aspect would you like to monitor?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: How to monitor video stream in Nagios.

Post by imran_khan »

Hello,

If my video stream goes down it will generate alert.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: How to monitor video stream in Nagios.

Post by sreinhardt »

Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to monitor video stream in Nagios.

Post by lmiltchev »

Check out this link - I hope this is what you are looking for:

http://www.sladder.org/?p=236
Be sure to check out our Knowledgebase for helpful articles and solutions!
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: How to monitor video stream in Nagios.

Post by imran_khan »

Hello,

Thanks, thing is that video stream link is not in my control. I have purchased video stream plans from one of my service provider and I want to monitor that link in Nagios system.
If that link goes down, it will give me down alert. I am monitoring my server link using check_http command and it is working fine. Please help me on this.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to monitor video stream in Nagios.

Post by slansing »

I am monitoring my server link using check_http command and it is working fine. Please help me on this.
Didn't you say you wanted to monitor the link? It sounds like you are already doing that, please clarify..
imran_khan
Posts: 196
Joined: Mon May 27, 2013 3:16 pm

Re: How to monitor video stream in Nagios.

Post by imran_khan »

Hello,

Thanks for your reply.

I have added the http://www.xyz.com site link in my Nagios system. This site is hosted on my server and it is showing up in Nagios system.
And video stream link is http://video_stream_sevice_provider/abcdl/on/pqrvsd/playlist.m3u8 which hosted on my service provider server’s.
Now I want to monitor http://video_stream_sevice_provider/abcdl/on/pqrvsd/playlist.m3u8 link in Nagios system. How can I do?
Last edited by imran_khan on Fri May 31, 2013 10:32 am, edited 1 time in total.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How to monitor video stream in Nagios.

Post by slansing »

Are you able to ping or reach that address from the nagios server? If so you should be able to run check_http against it just fine, let us know, alternatively if you cannot reach it with Nagios, could they make a passage for you via some sort of external facing URL?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to monitor video stream in Nagios.

Post by abrist »

You could use a check_http string/regex check to check for expected strings on a functioning stream. If the url has expected strings when a failure occurs you could inver the check by appending --invert-regex to the string check. See:
http://nagiosplugins.org/man/check_http
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked