hpievents: 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/hpievents - from package: openhpi32
/usr/bin/hpievents - from package: openhpi

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/hpievents - from package: openhpi-clients

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