Counts the number of files in a directory
https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/count_file
Use this plugin to count the number of files in a directory and
issue a warning or critical state if the number exceeds a limit.
Useful if you want to monitor for example:
* a directory which contains error files and must stay empty
* a tmp dir which have to stay under a practical limit
Usage:
Examples: count_file.pl 1 10
Examples: count_file.pl 3:10 1:3
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP6/monitoring-plugins-count_file && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
count_file.pl | 0000001647 1.61 KB | |
monitoring-plugins-count_file.changes | 0000000497 497 Bytes | |
monitoring-plugins-count_file.spec | 0000001933 1.89 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
committed
(revision 3)
branch from Backports SP5
Comments 0