-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to send PM2 status #25
Comments
There seem to be two separate issues here:
|
I rechecked the installation but doesn't found anything unusual.
Here is the trace log:
|
As for the systemd issue, it seems that
Clearly, if user debian does not exist on your system, the service must fail to start. You will need to change the user to the one that you intend to run your PM2 under. Now, the trace log shows you which keys are being sent to the Zabbix server. Can you confirm that those keys exist in the Zabbix server management GUI? The line with |
Hi, I changed the user to zabbix but no I get another error, pm2-zabbix will create the folder nonexistent under / but have no permission for it.
and for the other problem, |
I seem to be having this problem also. I have had it working in the past and am not sure when it stopped. |
can any one help me out i am still unable to receive any notfication on zabbix related to pm2 status {"name":"pm2-zabbix","hostname":"ip-172-31-43-89","pid":25685,"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-04T22:02:01.473Z","v":0} i tried pm2 stop cron but didnt receive any notification. ^C |
Hi,
I installed pm2-zabbix on a fresh Ubuntu 16.04 LTS LXC container (privileged), after install I tried
pm2-zabbix --monitor
using user root and I receiveThe same error appears if I will perform the command with user zabbix.
Next error I receive is if I will start pm2-zabbix using systemd
systemctl status pm2-zabbix
PM2 is running under user root and sudoers file is installed.
Sending with
zabbix_sender
works fine!Anything else I can check?
The text was updated successfully, but these errors were encountered: