greatcare / pm2-zabbix

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

Cannot find module 'zabbix-sender' #40

Closed garciajunior closed 4 years ago

garciajunior commented 4 years ago

I installed the pm2-zabbix, but when I try to execute the command pm2-zabbix --discover returns this internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module 'zabbix-sender'. I'm using the version 4.4, what can i do fix this problem. when i use this command zabbix_sender -V return this. Zabbix Sender v2.4.7 (revision 56694) (12 November 2015). I need to do some change in your code, change some variables??

garciajunior commented 4 years ago

I read the message of error. Follow this steps if you have the same problem: 1 - check in the module folder has the zabbix-sender. 2 - npm -i zabbix-sender. Fixed .