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

Directory Tree

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
7959
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
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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/