How To monitor RTSP streaming videos using openRTSP and Zenoss

 Python, Zenoss  Add comments
Dec 302011
 

Since I do currently work for a streaming company, that would imply that we should have some type of monitoring for our RTSP streams spacer . You will 1st need to get the openRTSP command.

  • You will need to download the openRTSP command from www.live555.com/openRTSP/
  • Or if you are running Zenoss on top of Debian you can just run a apt-get install livemedia-utils

Once you do that, all you have to do next is to download my script and have a valid server to point at and a path to test… Example below.. Download

./check_rtsp.py -d remote_server -p /iphone/2012
OK /iphone/2012, test completed successfull against remote_server |status=0

or with stats…

./check_rtsp.py -d remote_server -p /iphone/2012 -s
OK /iphone/2012, test completed successfull against remote_server |status=0 num_packets_received=16 num_packets_lost=0 elapsed_measurement_time=3.000073 kBytes_received_total=16.309000
measurement_sampling_interval_ms=1000 kbits_per_second_min=29.245485 kbits_per_second_ave=43.489608
kbits_per_second_max=51.737449 packet_loss_percentage_min=0.000000 packet_loss_percentage_ave=0.000000
packet_loss_percentage_max=0.000000 inter_packet_gap_ms_min=0.018000 inter_packet_gap_ms_ave=161.139313
inter_packet_gap_ms_max=901.439000 subsession=video/H264 num_packets_received=61 num_packets_lost=0
elapsed_measurement_time=3.000073 kBytes_received_total=27.630000 measurement_sampling_interval_ms=1000
kbits_per_second_min=0.000000 kbits_per_second_ave=73.678207 kbits_per_second_max=122.923442
packet_loss_percentage_min=0.000000 packet_loss_percentage_ave=0.000000 packet_loss_percentage_max=0.000000
inter_packet_gap_ms_min=0.009000 inter_packet_gap_ms_ave=24.794672 inter_packet_gap_ms_max=528.923000

So you can trend the different stats that openRTSP provides in Zenoss..

  • Share this:
  • Share
  • Facebook
  • Email
  • Reddit
  • StumbleUpon
  • Digg
  • dynasty

    spacer
     Posted by dynasty at 10:26 pm  Tagged with: openRTSP, Zenoss

     Leave a Reply Cancel reply

    You must be logged in to post a comment.

      How To Monitor and get Bind 9 stats using Zenoss
    spacer

    Forums

    • General Help for this site..
    • Zenoss

    Forum Topics

    • Script downloads, 13 days ago

    Categories

    • Blog (4)
    • CIM (1)
    • Cisco (2)
    • Clustering (4)
    • HowTo (3)
    • LD Device Manager (5)
    • Netscaler (2)
    • NodeJS (1)
    • Port Report Projects (4)
    • Python (17)
    • Shell (1)
    • SNMP (2)
    • Uncategorized (4)
    • VMware (2)
    • Zenoss (15)

    twitter

    • Our posibilites are sometimes stifled by the people we work with… Either directly or indirectly 1 month ago
    • I earned the Globe Trotter(25) sticker on @GetGlue! bit.ly/bSiIoR 1 year ago
    • I earned the Lurker sticker on @GetGlue! bit.ly/91qL69 1 year ago
    • No caffeine in 2 days..... I am so sleepy!!!! 1 year ago
    • The lines are off the hook just to get into olivanders 1 year ago

    Recent Comments

    • dynasty on HowTo setup GFS2 with Clustering
    • Bubbagump on HowTo setup GFS2 with Clustering
    • dynasty on Script to fix VMWare ESX 3.5 NIC Reordering after kickstart
    • dynasty on Begun Development of Web Server and Database for Port Report and Device Manager
    • dynasty on HowTo Send Splunk Alerts To Zenoss, And make them Look Like Splunk

    Archives

    • December 2011
    • September 2011
    • September 2010
    • August 2010
    • April 2010
    • March 2010
    • February 2010
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • February 2008

    Login

    • Register
    • Log in
    • Entries RSS
    • Comments RSS

    Tags

    Advance Linux HowTo's Advance OpenSolaris HowTo's API Beginner Linux HowTo's Beginner OpenSolaris HowTo's Chahns Blog Cisco Cisco HowTo's Consulting Services Data Protector HowTo's Dynastys Blog General How To's howto HowTo's How to Back up a MySQL database HowTo find the port on a switch that a host belongs to HowTo Intro How to restore a MySQL Database in Linux Fedora ubuntu Gentoo Windows Introduction to Networking LD Network manager Linux linux Linux Distros Linux Jobs Linux Networking HowTo's MySQL HowTo's Netbackup HowTo's Netscaler Perl Perl HowTo's Pexpect Port Mapper Port Mapper Tool Port Report Python Python HowTo's RedHat Clustering Shell HowTo's Solaris Virtualization Suds. Switch Port Report Synergy error the easy way VMware Zenoss
    © 2011 LinuxDynasty Suffusion theme by Sayontan Sinha

    106
    .
    gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.