Debuging slow SNMP-queries
![](https://secure.gravatar.com/avatar/9113800bbd271c46f4585a9549d85c15.jpg?s=120&d=mm&r=g)
Hey guys, I noticed I have some devices in my network that are responding very slow on just some specific SNMP-queries so I hacked together a small script that will parse the debug-output of Observium poller or discovery and then show you a list of the snmp-commands that took the longest to complete.
I wrote a blogpost on how to use it here: http://blog.best-practice.se/2016/06/observium-performance-tuning.html
and you can download the script from github: https://github.com/ZerxXxes/observium-logparser
[image: Infogad bild 1] It was very helpful in finding what devices needed a software update ;)
I hope it can be useful for others too
/Markus
![](https://secure.gravatar.com/avatar/6d46a0bd2d95fb54eef573711930223c.jpg?s=120&d=mm&r=g)
Aren't all of these times already in mysql?
On Jun 27, 2016 8:34 AM, "Markus Klock" markus@best-practice.se wrote:
Hey guys, I noticed I have some devices in my network that are responding very slow on just some specific SNMP-queries so I hacked together a small script that will parse the debug-output of Observium poller or discovery and then show you a list of the snmp-commands that took the longest to complete.
I wrote a blogpost on how to use it here: http://blog.best-practice.se/2016/06/observium-performance-tuning.html
and you can download the script from github: https://github.com/ZerxXxes/observium-logparser
[image: Infogad bild 1] It was very helpful in finding what devices needed a software update ;)
I hope it can be useful for others too
/Markus
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/9113800bbd271c46f4585a9549d85c15.jpg?s=120&d=mm&r=g)
Not to my knowledge, no. Only the runtimes for whole poller modules.
/Markus Den 27 juni 2016 4:21 em skrev "Graeme Davis" graeme@graeme.org:
Aren't all of these times already in mysql?
On Jun 27, 2016 8:34 AM, "Markus Klock" markus@best-practice.se wrote:
Hey guys, I noticed I have some devices in my network that are responding very slow on just some specific SNMP-queries so I hacked together a small script that will parse the debug-output of Observium poller or discovery and then show you a list of the snmp-commands that took the longest to complete.
I wrote a blogpost on how to use it here: http://blog.best-practice.se/2016/06/observium-performance-tuning.html
and you can download the script from github: https://github.com/ZerxXxes/observium-logparser
[image: Infogad bild 1] It was very helpful in finding what devices needed a software update ;)
I hope it can be useful for others too
/Markus
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Graeme Davis
-
Markus Klock