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

check_filesize.pl

Current Version
1.0
Last Release Date
2012-01-02
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
79302
Files:
FileDescription
check_filesize.plcheck_filesize.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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