Page 1 of 3

How to monitor video stream in Nagios.

Posted: Thu May 30, 2013 3:44 pm
by imran_khan
Hello,

How to monitor video stream in Nagios.

Re: How to monitor video stream in Nagios.

Posted: Thu May 30, 2013 3:47 pm
by sreinhardt
What aspect would you like to monitor?

Re: How to monitor video stream in Nagios.

Posted: Thu May 30, 2013 3:51 pm
by imran_khan
Hello,

If my video stream goes down it will generate alert.

Re: How to monitor video stream in Nagios.

Posted: Thu May 30, 2013 4:00 pm
by sreinhardt

Re: How to monitor video stream in Nagios.

Posted: Thu May 30, 2013 4:01 pm
by lmiltchev
Check out this link - I hope this is what you are looking for:

http://www.sladder.org/?p=236

Re: How to monitor video stream in Nagios.

Posted: Fri May 31, 2013 8:25 am
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.

Re: How to monitor video stream in Nagios.

Posted: Fri May 31, 2013 10:01 am
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..

Re: How to monitor video stream in Nagios.

Posted: Fri May 31, 2013 10:27 am
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?

Re: How to monitor video stream in Nagios.

Posted: Fri May 31, 2013 10:32 am
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?

Re: How to monitor video stream in Nagios.

Posted: Fri May 31, 2013 10:34 am
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