Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_crl_bulk
Current Version
0.10
Last Release Date
2013-05-08
Compatible With
- Nagios 3.x
Owner
Download URL
License
GPL
Hits
39429
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!
$ ./check_crl_bulk -h
check_crl_bulk - Check the 'Next Update' field of a number of CRL,
Certificate Revocation List, files in bulk.
Usage: check_crl_bulk [options]
-h : Display this help text.
-c DIR : Location of the directory containing CRL files.
(Default is: /etc/crl)
-i REGX : Include files matching the REGX regular expression.
Specify more than once to add more include expressions.
-x REGX : Exclude files matching the REGX regular expression.
Specify more than once to add more exclude expressions.
-f : Make REGX searches FILE GLOBS instead. In this case a
'.' will match a dot only and '*' will be needed.
-n NUM : Expected number of files.
-p : Add performance data for graphing.
-v : Be more verbose. Show file names and status.
-w NUM : Warn if a CRL is within NUM hours of expiring.
Examples:
Check all files in the default directory, '/etc/crl':
./check_crl_bulk
Check all files. Show a warning if a CRL will expire within 2 days.
./check_crl_bulk -w 48
Exclude all files names containing ".p7" and 5178 in their name:
./check_crl_bulk -x ".p7" -x "5178"
Same as the previous search but using file globbing:
./check_crl_bulk -f -x "*.p7*" -x "*5178*"
Exclude all files ending in .old and check that there are 6 files:
./check_crl_bulk -f -x "*.old" -n 6
Check all files, show their status, and add performance stats.
./check_crl_bulk -v -p
check_crl_bulk - Check the 'Next Update' field of a number of CRL,
Certificate Revocation List, files in bulk.
Usage: check_crl_bulk [options]
-h : Display this help text.
-c DIR : Location of the directory containing CRL files.
(Default is: /etc/crl)
-i REGX : Include files matching the REGX regular expression.
Specify more than once to add more include expressions.
-x REGX : Exclude files matching the REGX regular expression.
Specify more than once to add more exclude expressions.
-f : Make REGX searches FILE GLOBS instead. In this case a
'.' will match a dot only and '*' will be needed.
-n NUM : Expected number of files.
-p : Add performance data for graphing.
-v : Be more verbose. Show file names and status.
-w NUM : Warn if a CRL is within NUM hours of expiring.
Examples:
Check all files in the default directory, '/etc/crl':
./check_crl_bulk
Check all files. Show a warning if a CRL will expire within 2 days.
./check_crl_bulk -w 48
Exclude all files names containing ".p7" and 5178 in their name:
./check_crl_bulk -x ".p7" -x "5178"
Same as the previous search but using file globbing:
./check_crl_bulk -f -x "*.p7*" -x "*5178*"
Exclude all files ending in .old and check that there are 6 files:
./check_crl_bulk -f -x "*.old" -n 6
Check all files, show their status, and add performance stats.
./check_crl_bulk -v -p
Reviews (0)
Be the first to review this listing!