Websites, Forms and Transactions

check_image

Description:

Downloads image file from website to check its dimensions.
Program takes three args: file url, height, width. If only the url is
given then the program will use a default size of 1 x 1. The program will
return success if the image dimensions match or failure if the dimensions do not.

$ ./check_image.pl
OK – Dimensions: 587 x 207
$./check_image.pl 100 200
CRITICAL – Dimensions do not match. Expected: 100 x 200 Actual: 587 x 207

Return status:
OK – 0 Image matched the dimensions
CRITICAL – 2 Image did not match the dimensions
UNKNOWN – 3 wget failed most like file does not exist

Current Version

Last Release Date

November 26, 2014

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
13,823