Révision 17298912
[btrfs_device_stats] Document usage of optional warning and critical limits.
| plugins/disk/btrfs_device_stats | ||
|---|---|---|
| 16 | 16 |
[btrfs_device_stats] |
| 17 | 17 |
user root |
| 18 | 18 |
|
| 19 |
You can optionaly configure the warning and critical limits. By default warning |
|
| 20 |
is set to 1 and critical is not set at all. You can set the limits either for |
|
| 21 |
the entire plugin or per individual metric. The individual values take |
|
| 22 |
precedence over the general ones. See the following example: |
|
| 23 |
|
|
| 24 |
[btrfs_device_stats] |
|
| 25 |
user root |
|
| 26 |
env.warning 2 |
|
| 27 |
env.critical 4 |
|
| 28 |
env.flags_warning 23 |
|
| 29 |
env.read_errs_critical 42 |
|
| 30 |
|
|
| 19 | 31 |
=head2 DEFAULT CONFIGURATION |
| 20 | 32 |
|
| 21 | 33 |
=head1 BUGS |
Formats disponibles : Unified diff