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

checkfilesize.pl

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-01-02
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
79533
Files:
FileDescription
check_filesize.plcheck_filesize
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 the minimum and or maximum size of a file on unix and windows.

You can also specify how to react if this file is missing (unknown, critical or OK)

This plugin also returns perfinfo.
File size monitor for Nagios version 1.0
GPL licence, (c)2006-2011 De Bodt Lieven

Usage: ./check_filesize.pl -F [-w ] [-c ] [-W ] [-C ] [-m] [-o] [-u] [-V]

-h, --help
Print this help message
-F, --filename=filename
File to check
-w, --minwarn=size in bytes
Minimum filesize warning threshold
-c, --mincrit=size in bytes
Minimum filesize critical threshold
-W, --maxwarn=size in bytes
Maximum filesize warning threshold
-C, --maxcrit=size in bytes
Maximum filesize warning threshold
-m, --critifmissing
Generate a critical alert if the file doesn't exist
-o, --okifmissing
Don't generate a alert if the file doesn't exist
-u, --unknownifmissing
Generate a unknown alert if the file doesn't exist
-V, --version
Prints version number