Skip to content
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

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

Open
faissy2018 opened this issue Nov 5, 2018 · 2 comments
Open

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

faissy2018 opened this issue Nov 5, 2018 · 2 comments

Comments

@faissy2018
Copy link

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

@dcdamien
Copy link
Member

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

@solick
Copy link

solick commented Jul 25, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants