check_postgres_last_autoanalyze: 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
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

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/check_postgres_last_autoanalyze - from package: check-postgres

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