Hello,
I have added the host :- XYZ.COM_V_Stream in Nagios system and added the below command in linux-services.cfg file.
define service{
use generic-service ; Name of service template to use
host_name IndiMusic_TV_V_Stream
service_description http://video_stream_sevice_provider.com/abcdl/on/pqrvsd/playlist.m3u8
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 1
retry_check_interval 1
contact_groups abcd
notification_interval 120
notification_period 24x7
notification_options c
check_command check_http!-H http://video_stream_sevice_provider.com -u /abcdl/on/pqrvsd/playlist.m3u8 -s CODECS
}
But thing is that, if manually run the below command on Nagios system it is showing the size 428 bytes and Nagios monitoring system (on web based) it is showing 296 bytes. Why it is showing different size?
/usr/lib64/nagios/plugins/check_http http://video_stream_sevice_provider.com -u /abcdl/on/pqrvsd/playlist.m3u8 -s CODECS
HTTP OK: HTTP/1.1 200 OK - 428 bytes in 9.315 second response time |time=9.314595s;;;0.000000 size=428B;;;0
From Nagios (Web based):- HTTP OK: HTTP/1.0 200 OK - 296 bytes in 1.944 second response time | time=1.944229s;;;0.000000 size=296B;;;0
How to monitor video stream in Nagios.
-
imran_khan
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
-
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.
That will change more than likely each time you run the check, which is expected.. also, it is taking 8 seconds longer to ping the address in your first check so it is logical it will return more data.
imran_khan, please stop bumping your posts, you have been asked 4 times now
imran_khan, please stop bumping your posts, you have been asked 4 times now
Re: How to monitor video stream in Nagios.
Hi Imran,
Where you able to monitor the stream using Nagios Core?? If you can you plz guide me on the same.
I am too trying to do it but i am not very good in Nagios configuration and so struggling to do it.
Your help would be very much appreciated.
Where you able to monitor the stream using Nagios Core?? If you can you plz guide me on the same.
I am too trying to do it but i am not very good in Nagios configuration and so struggling to do it.
Your help would be very much appreciated.
Re: How to monitor video stream in Nagios.
This user has not been back to the forums in quite a while, and this thread is very old. If you need assistance with this, please open a new topic and describe the issue you are having, and link back to this thread for reference.
Former Nagios employee