Skip to content

neingeist/check_dir_empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

check_dir_empty

nagios plugin: check that the directories given are empty

Example

$ ./check_dir_empty --no-count-empty /var/mail
OK: All given directories are empty

Usage

% ./check_dir_empty -h
usage: check_dir_empty [-h] [--no-count-empty] dir [dir ...]

Check that the directories given are empty

positional arguments:
 dir               directory to be checked

optional arguments:
 -h, --help        show this help message and exit
 --no-count-empty  do not count empty files (useful to check /var/mail)

About

Nagios plugin to check if the given directories are empty

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages