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

filesize.pl

Rating
2 votes
Favoured:
0
Current Version
3
Last Release Date
2013-07-23
Compatible With
  • Nagios XI
Owner
License
GPL
Hits
100666
Files:
FileDescription
filesize.plperl script
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's the size of a file or directory
Examples:
Usage: filesize.pl --warn=5 --critical=20 --file=c:somefile.exe
Usage: filesize.pl --warn=5 --critical=20 --file=c:somedir
Usage: filesize.pl --warn=0.5:1 --critical=1.1:2.5 --file=c:somedir
warn and critical is in MB
file can be a single file or a directory
Unix paths also supported
Outputs performance stats.

History:
Claimed from Julien Touche as no updates for a long time.

ToDo:
Code cleanup to reduce duplicated code
Reviews (1)
bysth_bytelab, August 21, 2016
Hi

I am new to NagiosXI and plugins in general so I want to know if I can use this plugin to monitor file creation on a windows 2008 server.
I also have a question about how the commandline for the plugin are supposed to look?

Thanks