Home Directory Plugins Security check_axis_stream_quality

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_axis_stream_quality

Rating
0 votes
Favoured:
0
Current Version
V1
Last Release Date
2018-03-27
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2423
Files:
FileDescription
check_axis_ipcamera.shcheck_axis_ipcamera.sh
critical_tc_black_flux.pngcritical_tc_black_flux.png
critical_colourscount_10.1.6.81-1-20180327154922.jpgcritical_colourscount_10.1.6.81-1-20180327154922.jpg
critical_brightness_10.1.6.81-1-20180327154922.jpgcritical_brightness_10.1.6.81-1-20180327154922.jpg

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

check_axis_stream_quality
This script use videoanalitycs methods to check quality of streaming of an Axis security ip camera in tow ways. Checking percentage of white (eg. IR malfunction) or the number of colors in the palette (eg. too dark image).
In a large scale environment of ipcameras, administrators have to check "quos" of the streaming without look at the streaming or wait the guard personnel alert.

This script helped me a lot with Axis ipcamera because sometimes all the parameter like ip, http or ftp are good, not in "video loss" but the stream is completely black or the IR is on during the daylight or something else that compromise the quality of recorded images.

So this script analyse a jpg realtime snapshot looking for 2 parameters:
1) Check the number of different colors in the jpg palette
2) Convert the jpg in B/W and count the number of white pixels with -b (brightness) option

This script is made for Axis Security Cameras but you can modify for your convenience with or other brand that provide direct access to a JPG snapshot.
Check thi site for the URL: https://www.ispyconnect.com/sources.aspx

The script require ImageMagick 6 or sup: https://www.imagemagick.org/