Low commit activity in last 3 years
No release in over a year
Sensu plugin to search files based on size
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 13.0
~> 0.21
~> 1.23
~> 3.12

Runtime

 Project Readme

Gem Version Maintainability Test Coverage ci

sensu-plugins-filesize

Sensu plugin to search files based on size.

Files

  • bin/check-filesize.rb

Usage

-- check for files greater than 100M in home folder including subfolders
check-filesize.rb -f ~ -s +100M

-- check for files smaller than 100M in home folder including subfolders
check-filesize.rb -f ~ -s -100M

-- check for files exactly of size 50 kb in /apps folder including subfolders
check-filesize.rb -f /apps -s 50k

About the -s or --size option

The size option is transparently passed to the find command. More details can be found in the man pages of the find command (> man find).

Installation

Installation and Setup

Supported Ruby Versions

Currently supported and tested ruby versions are:

  • 3.2
  • 3.1
  • 3.0
  • 2.7 (EOL March 31 2023, is not part of CI anymore)
  • 2.6 (EOL March 31 2022, is not part of CI anymore)