pm2-zabbix icon indicating copy to clipboard operation
pm2-zabbix copied to clipboard

level":50,"event":"PM2ZabbixMonitor#processListSendingError",

Open faissy2018 opened this issue 6 years ago • 2 comments

Hi i am facing error during running pm2-zabbix --monitor ,

{"name":"pm2-zabbix","hostname":"ip-172-31-43-89","pid":5808,"level":50,"event":"PM2ZabbixMonitor#processListSendingError","error":{"killed":false,"code":1,"signal":null,"cmd":"/usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file -"},"msg":"Failed to send process list with stats to server: Error: Command failed: /usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file -\n","time":"2018-11-05T15:12:36.599Z","v":0}

i tried sending some key zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k test_key -o 0 sent: 1; skipped: 0; total: 1

image

image

i stop pm2 process but didnt receive any tirgger .

image

faissy2018 avatar Nov 05 '18 15:11 faissy2018

Hello @faissy2018, would you like to show output of hostname command and also HostName key value from zabbix_agentd.conf?

dcdamien avatar Jan 11 '19 18:01 dcdamien

Hi I just ran into the same problem: hostname is different to HostName in Zabbix_agentd.conf. Obviously pm2-zabbix is using hostname instead of the key_value of Zabbix_conf. How can I force pm2-zabbix to use the right hostname?

solick avatar Jul 25 '19 13:07 solick