Page 1 of 1
HLS Stream Monitoring
Posted: Tue Nov 03, 2015 1:58 pm
by sarantosh
Hi, I have installed Nagios Core with the latest plugins on my VM environment in Centos7. I am able to monitor the servers and other network devices but my major concern is that we need to monitor the HLS streaming URL's. Kindly help us in doing the same and we are not able to find the plugin or anything in the blogs.
Test URL:
http://103.254.240.38/live/nagios.stream/playlist.m3u8
Re: HLS Stream Monitoring
Posted: Tue Nov 03, 2015 2:29 pm
by hsmith
Can you take a look at this project and see if it suits your needs?
https://github.com/rbowlby/check_hls
Re: HLS Stream Monitoring
Posted: Tue Nov 03, 2015 3:27 pm
by sarantosh
Hi Smith,
Ya i think it might help because it says check_hls but i am not good in configuration, i bearly understand what to do with it.
Is it possible if you can guide me in doing it.
Thanks in advance.
Re: HLS Stream Monitoring
Posted: Tue Nov 03, 2015 4:03 pm
by hsmith
Looking further at that plugin, we may not need this.
Does this command give you the information that you are looking for?
Code: Select all
./check_http -H 103.254.240.38 -u /live/nagios.stream/playlist.m3u8 -s CODECS
Re: HLS Stream Monitoring
Posted: Wed Nov 04, 2015 6:51 am
by sarantosh
Hi Smith,
Thank you mate, i am now able to monitor the stream and also i am getting mail alert when the stream is down.
But still i have an issue when the stream is up i can see that the stream is up in the GUI but i don't get mail that the stream is up. But when it is down i am able to receive stating its down. Below id my service configuration
define service{
use generic-service ; check_http
host_name Monitoring Desktop
service_description stream monitoring
is_volatile 0
check_period 24x7
max_check_attempts 1
normal_check_interval 1
retry_check_interval 1
notification_interval 1
notification_period 24x7
notification_options c
check_command check_http! -H 103.254.240.38 -u /live/nagios.stream/playlist.m3u8 -s CODECS
}
Kindly help me in resolving the same. Also attached screenshots for your reference.
Re: HLS Stream Monitoring
Posted: Wed Nov 04, 2015 10:22 am
by hsmith
Change notification_options c to notification_options c, r
Let me know if that works.
Re: HLS Stream Monitoring
Posted: Thu Nov 05, 2015 3:05 pm
by sarantosh
Hi Smith,
It works perfectly mate...Many thanks to u...
Also smith i have one more query, is there a way where we can have a GUI configured which will interact with the files in the backend instead of us doing it manually. I saw comething called check_mk but not sure, can you suggest me on that because if i have an GUI configured it would be very easy to configure host and services.
Re: HLS Stream Monitoring
Posted: Thu Nov 05, 2015 3:22 pm
by hsmith
Hi, sarantosh
I'm glad to hear the check is working out for you.
I cannot provide support for check_mk here as it is not one of our plugins, but it's something people have had some luck with. Checking out their website would be the best solution if you are seeking advice with that product. As far as having a GUI to configure things, you may want to check out
NagiosQL. It looks like it may not have had an update in awhile, but it's something to take a look at. Otherwise, if you have a small amount of checks, you may want to look into taking
Nagios XI for a test run. It is our commercial product, and by far our most polished one.