Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psi-4ward/check_btrfs_usage
btrfs filesystem usage monitoring plugin
https://github.com/psi-4ward/check_btrfs_usage
btrfs filesystem icinga monitoring monitoring-plugins nagios-plugin
Last synced: 22 days ago
JSON representation
btrfs filesystem usage monitoring plugin
- Host: GitHub
- URL: https://github.com/psi-4ward/check_btrfs_usage
- Owner: psi-4ward
- Created: 2017-05-24T12:42:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T13:15:18.000Z (over 4 years ago)
- Last Synced: 2024-12-09T08:46:36.821Z (25 days ago)
- Topics: btrfs, filesystem, icinga, monitoring, monitoring-plugins, nagios-plugin
- Language: Shell
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# btrfs filesystem usage monitoring plugin
reads the estimated free space using `btrfs fi usage`
```plain
# ./check_btrfs_usage.sh -h
btrfs filesystem usage monitoring plugin
https://github.com/psi-4ward/check_btrfs_usageUsage: ./check_btrfs_usage.sh
-m Mountpoint of btrfs filesystem (default: /)
-w Warning when estimated free space is below MiB (default 10000). Add % at the end to define in percentage value. Must be used the same way as crit value.
-c Critical when estimated free space is below MiB (default 5000). Add % at the end to define in percentage value. Must be used the same way as warn value.
``````plain
# ./check_btrfs_usage.sh -m /mnt/btrfs_root -w 20000 -c 10000
Free: 2848841MiB
Used: 7239MiB
| Used=7239MB;0;0;0;2856080 Free=2848841MB;20000;10000;2856080;0# ./check_btrfs_usage.sh -m / -c 5% -w 10%
Free: 367419MB
Warning threshold: 38436MB
Critical threshold: 19218MB
Used: 16941MB
| Used=16941MB;0;0;0;384360 Free=367419MB;10;5;384360;0
```Author: Christoph Wiechert
License: MIT