Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / plugins / disk / btrfs_device_usage @ 16d38264

Historique | Voir | Annoter | Télécharger (5,69 ko)

# Date Auteur Commentaire
16d38264 2021-12-12 07:20 HaseHarald

[btrfs_device_usage] fix division by zero when btrfs pool is unhealthy

During certain situations, a device in the btrfs pool can show a total
capacity of 0 bytes. This is aspecially true when replacing or removing a
failed disk.

This fix stops the plugin from crashing in that situation but just report...

50265cce 2021-07-14 15:41 HaseHarald

Try to please linter with whitespaces arround equals.
This does not seam logical, because it explicitly want's spaces arround equal signs when setting a variable, but you musn't use them in parameters. But well, whatever makes the linter happy.

409e8896 2021-07-14 15:41 HaseHarald

Change if conditions to please the linter.

76c21fe7 2021-07-14 15:41 HaseHarald

Fix whitespaces to please the linter.

e169950d 2021-07-14 15:41 HaseHarald

[btrfs_device_usage] Document usage of optional warning and critical limits.

68190a6d 2021-07-14 15:41 HaseHarald

[btrfs_device_usage] Allow for configuring optional limits for warning and critical.
These are configurable as a global and individual value.

09b88141 2020-10-24 11:29 Lars Kruse

Improve documantion of many plugins

Specifically the configuration examples are now indented properly.

3f92394b 2020-08-25 16:01 HaseHarald

Touchups on configuration.

6f0e91f8 2020-08-25 14:21 HaseHarald

Add perldoc-style header.

bffbc23a 2020-08-24 15:37 HaseHarald

Fix linting issues.

675dedf1 2020-08-23 12:17 HaseHarald

[plugins/disk/btrfs_device_usage] Reformat linebreaks.

Following suggestions from linting.

7d220d0a 2020-08-23 11:45 HaseHarald

[plugins/disk/btrfs_device_usage] Fix issues brought up by CI.

- Remove trailing whitespace.
- Add whitespace around operators.
- Add linebreaks to shorten the lines.

10f2d97f 2020-08-23 10:38 HaseHarald

[plugins/disk/btrfs_device_usage] Add plugin to monitor btrfs usage on a device level.

Shows the used size of each device in a btrfs pool in bytes and percent.