Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_image
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!
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
Reviews (0)
Be the first to review this listing!