mirror of
https://github.com/ranl/monitor-utils.git
synced 2024-11-05 07:43:40 +01:00
check_deep_fs: a bit of more help
This commit is contained in:
parent
8f43feb97e
commit
2bc071f444
@ -12,8 +12,8 @@ import os.path
|
||||
def parse_args():
|
||||
parser = OptionParser()
|
||||
parser.add_option('-p', '--path', dest='path', type='string', help='absolute path to check', metavar="FILE")
|
||||
parser.add_option('-w', '--warning', dest='warning', type='int', help='critical threshold')
|
||||
parser.add_option('-c', '--critical', dest='critical', type='int', help='warning threshold')
|
||||
parser.add_option('-w', '--warning', dest='warning', type='int', help='free disk space critical threshold (in %)')
|
||||
parser.add_option('-c', '--critical', dest='critical', type='int', help='free disk space warning threshold (in %)')
|
||||
(opts, args) = parser.parse_args()
|
||||
|
||||
if opts.path is None:
|
||||
|
Loading…
Reference in New Issue
Block a user