pm2-zabbix
pm2-zabbix copied to clipboard
level":50,"event":"PM2ZabbixMonitor#processListSendingError",
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
i stop pm2 process but didnt receive any tirgger .
Hello @faissy2018, would you like to show output of hostname
command and also HostName
key value from zabbix_agentd.conf
?
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?