Hi,
i would like to use check_disk_btrfs, but it dies with the following error:
The $line contains:
Code that raises this error:
I guess the Btrfs output changed, so the splits used in the plugin dont work anymore. Did someone already fix this in their setup and is willing to share?
i would like to use check_disk_btrfs, but it dies with the following error:
![]() |
Quellcode |
1 2 3 4 |
[root@server066 plugins]# ./check_disk_btrfs -f /mnt/btrfs/ -w 50 -c 80 Argument "Data" isn't numeric in sprintf at ./check_disk_btrfs line 282. Argument "single:" isn't numeric in sprintf at ./check_disk_btrfs line 282. Illegal division by zero at ./check_disk_btrfs line 197. |
The $line contains:
![]() |
Quellcode |
1 |
Data, single: total=471.01GiB, used=455.71GiB |
Code that raises this error:
![]() |
Quellcode |
1 |
my $used_perc = $used_bytes / $total_bytes * 100; |
I guess the Btrfs output changed, so the splits used in the plugin dont work anymore. Did someone already fix this in their setup and is willing to share?