Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_directories
V1
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
- Nagios Fusion
96420
File | Description |
---|---|
check_directory.sh | check_directory.sh |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The output of the script allows for a graphical
If you have an idea for other options ....
Options :
-w, --warning NUMBER (required)
NUMBER necessary to result in warning status
-c, --critical NUMBER (required)
NUMBER necessary to result in critical status
-p, --path STRING (required)
Path for the execution
-h, --hidden STRING
yes=count hidden subdirectory or file (default=no)
-f, --filter STRING
Only for the option countfiledirectory. Eg: For filter file with the extension log, tape -f log
-o --option STRING (required)
sizedirectory=Display results in megabyte for directory
countsubdirectory=Count subdirectory in directory, not in sub-subdirectory
countfiledirectory=Count file in directory, not in sub-subdirectory
Example 1 : $0 -o countsubdirectory -p /var/log/ -h yes -w 400 -c 450
Example 2 : $0 -o sizedirectory -p /var/log/ -w 80 -c 150
Example 3 : $0 -o countfiledirectory -p /var/log/ -f log -w 40 -c 45
-w, --warning NUMBER (required)
NUMBER necessary to result in warning status
-c, --critical NUMBER (required)
NUMBER necessary to result in critical status
-p, --path STRING (required)
Path for the execution
-h, --hidden STRING
yes=count hidden subdirectory or file (default=no)
-f, --filter STRING
Only for the option countfiledirectory. Eg: For filter file with the extension log, tape -f log
-o --option STRING (required)
sizedirectory=Display results in megabyte for directory
countsubdirectory=Count subdirectory in directory, not in sub-subdirectory
countfiledirectory=Count file in directory, not in sub-subdirectory
Example 1 : $0 -o countsubdirectory -p /var/log/ -h yes -w 400 -c 450
Example 2 : $0 -o sizedirectory -p /var/log/ -w 80 -c 150
Example 3 : $0 -o countfiledirectory -p /var/log/ -f log -w 40 -c 45
Reviews (0)
Be the first to review this listing!