check_postgres_new_version_cp: 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_new_version_cp - from package: check-postgres

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