Merge branch 'master' of github.com:neingeist/check_lvm_thinpools
This commit is contained in:
commit
17b5a5e0ae
1 changed files with 6 additions and 2 deletions
|
@ -77,7 +77,11 @@ sub aggregate_errors {
|
|||
|
||||
|
||||
my $no_thinpools_ok = 0;
|
||||
GetOptions("no-thinpools-ok" => \$no_thinpools_ok)
|
||||
Getopt::Long::Configure('bundling');
|
||||
GetOptions
|
||||
("no-thinpools-ok" => \$no_thinpools_ok,
|
||||
"w=f" => \$warn, "warning=f" => \$warn,
|
||||
"c=f" => \$crit, "critical=f" => \$crit)
|
||||
or die("Error in command line arguments\n");
|
||||
|
||||
my @thinpools = get_thinpools();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue