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


Remember Me


0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

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

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/