We have some news to share for the request index beta feature. We’ve added more options to sort your requests, counters to the individual filters and documentation for the search functionality. Checkout the blog post for more details.

Counts the number of files in a directory

Edit Package monitoring-plugins-count_file
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

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
Comments 0
No comments available
openSUSE Build Service is sponsored by