greatcare / pm2-zabbix

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

Update monitor.js #42

Closed abrikosovv closed 4 years ago

abrikosovv commented 4 years ago

Correct name of lib https://www.npmjs.com/package/node-zabbix-sender

rkaw92 commented 4 years ago

Hi, the library you are referring to is a different library than the one we use - there is no "correct" name for the library, they both exist. What is the reason for the change you are proposing? Are you having problems with the exec-based implementation of npm module zabbix-sender?

abrikosovv commented 4 years ago

Hi, in case when in code (monitor.js) stays 'zabbix-sender' after running pm-zabbix --dicsovery there is error 'zabbix-sender' module not't found. After changing name to 'node-zabbix-senser' it is OK, and discovery works correctly.