There is 95% left:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 51475044 2169988 49317068 5% /
But 0 is reported:
# /usr/lib/nagios/plugins/check_disk -w 10% -c 5% [...]
DISK CRITICAL - free space: CRITICAL [ / 0 MB (0% inode=-)];[...]
type is btrfs:
# mount|grep "/ "
/dev/sda2 on / type btrfs
(rw,noatime,compress=zlib,space_cache,subvolid=257,subvol=/@)
I looked into the source and did not find the patch there:
source:
http://deb.debian.org/debian/pool/main/m/monitoring-plugins/monitoring-plugins_2.2.orig.tar.gz
http://deb.debian.org/debian/pool/main/m/monitoring-plugins/monitoring-plugins_2.2-6~bpo9+1.debian.tar.xz
patch:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1388/commits/23436a18516e66469aeb4d81329d62ee4bfa7a51
--
Freundliche Grüße / Best Regards
Klaus Thorn