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

filesize.pl

Rating
2 votes
Favoured:
0
Current Version
3
Last Release Date
2013-07-23
Compatible With
  • Nagios XI
Owner
License
GPL
Hits
97899
Files:
FileDescription
filesize.plperl script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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