greatcare / pm2-zabbix

A Node.js PM2 monitoring tool for Zabbix.
MIT License
87 stars 60 forks source link

Error: The zabbix web UI can display the data from pm2 items,but still Command failed: /usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file #32

Open whiskas68 opened 5 years ago

whiskas68 commented 5 years ago

I follow the #2 to test,but the problem still existed。 Different from the above, my zabbix web UI can display the data of pm2 item value,although i got errors as i ran "pm2-zabbix monitor debug" 20181016160412

[www@web-app1 ~]$ pm2-zabbix --monitor --debug {"name":"pm2-zabbix","hostname":"web-app1","pid":11222,"level":50,"event":"PM2ZabbixMonitor#PM2StatusSent","error":{"killed":false,"code":2,"signal":null,"cmd":"/usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file -"},"msg":"Failed to send PM2 status: Error: Command failed: /usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file -\n","time":"2018-10-16T07:23:10.230Z","v":0}