pcp2graphite: 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/pcp2graphite - from package: pcp-export-pcp2graphite

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