Module: check_mk
Branch: master
Commit: 7df3feb508bdf2f21de728e55296b47fee9e4ac8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7df3feb508bdf2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Sep 15 14:28:34 2015 +0200
#2606 FIX cisco_temperature: Reduced SNMP overhead for large devices
The cisco_temperature check makes use of the SNMP table
.1.3.6.1.2.1.47.1.1.1.1.2 to gather the description of the sensors.
This table can be very large on some devices. Check_MK normally
needs to fetch the whole table because of it's architecture e.g.
to make the service discovery possible.
But since this table is normally static, it is not needed to fetch
this large table during every check.
Check_MK is now caching this table during checking. The cache is
renewed when performing service discovery (either manually or
automatically via the discovery service).
---
.werks/2606 | 21 +++++++
ChangeLog | 1 +
checks/cisco_temperature | 2 +-
modules/automation.py | 3 +-
modules/check_mk_base.py | 6 +-
modules/discovery.py | 8 ++-
modules/snmp.py | 152 +++++++++++++++++++++++++++++++++-------------
7 files changed, 144 insertions(+), 49 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7df3feb508…