pt-heartbeat: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/pt-heartbeat - from package: percona-toolkit

You may install the required package with command apt-get install {package}
Error in other languages:
pt-heartbeat: bevel nie gevind nie
pt-heartbeat: comandă negăsită
pt-heartbeat: comando não encontrado
pt-heartbeat: commande introuvable
pt-heartbeat: command not found
pt-heartbeat: käsku ei ole
pt-heartbeat: không tìm thấy lệnh
pt-heartbeat: komanda nerasta
pt-heartbeat: Kommando nicht gefunden.
pt-heartbeat: kommandot finns inte
pt-heartbeat: komut yok
pt-heartbeat: nie znaleziono polecenia
pt-heartbeat: níor aimsíodh an t-ordú
pt-heartbeat: no se encontró la orden
pt-heartbeat: no s'ha trobat l'ordre
pt-heartbeat: opdracht niet gevonden
pt-heartbeat: parancs nem található
pt-heartbeat: perintah tidak ditemukan
pt-heartbeat: príkaz nenájdený
pt-heartbeat: příkaz nenalezen
pt-heartbeat: команда не найдена
pt-heartbeat: командата не е открита
pt-heartbeat: 命令找不到
pt-heartbeat: コマンドが見つかりません