diff --git a/disks_checks.sh b/disks_checks.sh index f5fbe10..18af807 100755 --- a/disks_checks.sh +++ b/disks_checks.sh @@ -64,7 +64,7 @@ do echo Bad: - Btrfs is detecting errors on partition $i, some disk is about to be broken echo Sending alert... curl -k --retry 3 \ - -d "Bad - Errors on btrfs mounted device $i: you will have to replace a disk. Check the status of mounted disks with: btrfs device stats $1" \ + -d "Bad - Errors on btrfs mounted device $i: you will have to replace a disk. Check the status of mounted disks with: btrfs device stats $i" \ -H "Title: btrfs errors on partition $i of $(hostname)" \ -H "Priority: high" \ -H "Tags: warning,boar" \