omni-lchen / zabbix-mongodb

MIT License
58 stars 73 forks source link

Clean up & error handling #9

Closed dahlinPL closed 6 years ago

dahlinPL commented 6 years ago
  1. remove unneeded socket and json import
  2. change oplog query to avoid stopIteration issue (issue #3)
  3. check if storage engine is wiredTiger before try to get metrics to avoid error
  4. unified database connection method
dahlinPL commented 6 years ago

Hi, I closed this pull request because I found some errors. As soon as I will have some time, I will request it again with fixes.