Module: check_mk
Branch: master
Commit: 5263d429bcd192c825d95d6b5e418c198017d2de
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5263d429bcd192…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 10 07:44:12 2018 +0100
6930 Service discovery page can now handle long running tasks
The service discovery page of the configuration GUI could end up
in timeouts when working with devices that need a long time to
process the discovery process. This mostly affected either large
or slow responding SNMP devices.
The discovery page is now initially loading almost immediately
and then starts fetching the content in the background. The
potential long running tasks (full scan or autmatic refresh) are
performed in the background. While these actions are performed,
the GUI shows the already known check table in a read only mode.
Communication with remote pre 1.6 sites is still possible but can
still end up in timeouts.
CMK-1427
Change-Id: I3895aaa5859e1ba893b19b43e6a6e773313b7253
---
.werks/6930 | 23 +
cmk/gui/htmllib.py | 38 +-
cmk/gui/plugins/wato/__init__.py | 6 +-
cmk/gui/plugins/wato/utils/__init__.py | 6 +-
cmk/gui/wato/pages/activate_changes.py | 2 +-
cmk/gui/wato/pages/services.py | 1567 ++++++++++++++++++++++----------
cmk_base/automations/check_mk.py | 3 +
tests/unit/cmk/gui/test_watolib.py | 1 +
web/htdocs/js/wato.js | 341 +++++--
web/htdocs/wato.css | 12 +
10 files changed, 1437 insertions(+), 562 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5263d429bc…