zabbix_snmptrap: 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/zabbix_snmptrap - from package: zabbix-agent

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