wernerfred / check_synology

This plugin will check a lot of different values on your Synology DiskStation.
MIT License
17 stars 25 forks source link

Use "easysnmp" and "snmpwalk" for huge efficiency gains #19

Closed amotl closed 2 years ago

amotl commented 2 years ago

Dear Frederic,

coming from https://github.com/wernerfred/check_synology/pull/4#discussion_r824540325, this is the patch rebased on current master. All credits and kudos go to @kainhofer - thank you!

The switch to easynmp means that instead of ~90 seconds (~4 seconds per snmpget) the program now takes between 0.5 and 3 seconds to complete.

With kind regards, Andreas.

/cc @tonkenfo

wernerfred commented 2 years ago

I will wait for the other PRs to be discussed and merged before releasing 1.0.0 Thanks for your contributions!