hpiSubagent: 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 CentOS possible default full paths are:

/usr/bin/hpiSubagent - from package: openhpi-subagent

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