|
24 | 24 | use Getopt::Long; |
25 | 25 | use POSIX; |
26 | 26 |
|
27 | | -# do not show smartmatch warnings |
28 | | -no warnings 'experimental::smartmatch'; |
| 27 | +# do not show smartmatch warnings on older perl versions |
| 28 | +no if $] >= 5.017011, warnings => 'experimental::smartmatch'; |
29 | 29 |
|
30 | 30 | my $verbose = undef; |
31 | 31 | my $debug = undef; |
@@ -1898,17 +1898,17 @@ sub help { |
1898 | 1898 |
|
1899 | 1899 | ===OPTION LIST=== |
1900 | 1900 | volume_health |
1901 | | - desc: Check the space and inode health of a vServer volume. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large volume monitoring. |
| 1901 | + desc: Check the space and inode health of a vServer volume. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large volume monitoring. Separate values with comma. |
1902 | 1902 | thresh: Space % used, space in *B (i.e MB) remaining, inode count remaining, inode % used (Usage example: 80%i), "offline" keyword. |
1903 | 1903 | node: The node option restricts this check by vserver name. |
1904 | 1904 |
|
1905 | 1905 | aggregate_health |
1906 | | - desc: Check the space and inode health of a cluster aggregate. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large aggregate monitoring. |
| 1906 | + desc: Check the space and inode health of a cluster aggregate. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large aggregate monitoring. Separate values with comma. |
1907 | 1907 | thresh: Space % used, space in *B (i.e MB) remaining, inode count remaining, inode % used (Usage example: 80%i), "offline" keyword, "is-home" keyword. |
1908 | 1908 | node: The node option restricts this check by cluster-node name. |
1909 | 1909 |
|
1910 | 1910 | snapshot_health |
1911 | | - desc: Check the space and inode health of a vServer snapshot. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large snapshot monitoring. |
| 1911 | + desc: Check the space and inode health of a vServer snapshot. If space % and space in *B are both defined the smaller value of the two will be used when deciding if the volume is in a warning or critical state. This allows you to better accomodate large snapshot monitoring. Separate values with comma. |
1912 | 1912 | thresh: Space % used, space in *B (i.e MB) remaining, inode count remaining, inode % used (Usage example: 80%i), "offline" keyword. |
1913 | 1913 | node: The node option restricts this check by vserver name. |
1914 | 1914 |
|
@@ -1954,7 +1954,7 @@ sub help { |
1954 | 1954 | thresh: N/A not customizable. |
1955 | 1955 | node: The node option restricts this check by cluster-node name. |
1956 | 1956 |
|
1957 | | -clusternnode_health |
| 1957 | +clusternode_health |
1958 | 1958 | desc: Check the cluster-nodes for unhealthy conditions |
1959 | 1959 | thresh: N/A not customizable. |
1960 | 1960 | node: The node option restricts this check by cluster-node name. |
|
0 commit comments