Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_image
Compatible With
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
Hits
12663
Files:
File | Description |
---|---|
check_image.pl | check_image.pl |
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!