[checkmk-commits] [tribe29/checkmk] 67cc72: Fix problematic file IO in notification processing

Lars noreply at github.com
Thu Jun 27 09:20:42 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/tribe29/checkmk
  Commit: 67cc72af9b4a5969e9646cc9581e46e77edcd7ae
      https://github.com/tribe29/checkmk/commit/67cc72af9b4a5969e9646cc9581e46e77edcd7ae
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cmk_base/notify.py

  Log Message:
  -----------
  Fix problematic file IO in notification processing

* Replaced direct file IO with our cmk.store standard functions
* This also replaces some eval() calls

Change-Id: I3b326cbb1146022164cba5c66d1e9a0722bb6237


  Commit: b0c22b5ddb9f3dbfc6e3c936444c71020e2c7494
      https://github.com/tribe29/checkmk/commit/b0c22b5ddb9f3dbfc6e3c936444c71020e2c7494
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cmk/gui/wato/__init__.py

  Log Message:
  -----------
  Extract job processing to dedicated functions

Change-Id: I4d9f0ca8c14a041381d9f9e4e3357711acf90f86


  Commit: 9157c313a89b86761ea02bdf9c5fde63350df77c
      https://github.com/tribe29/checkmk/commit/9157c313a89b86761ea02bdf9c5fde63350df77c
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cmk/gui/wato/__init__.py

  Log Message:
  -----------
  Encapsulate all agent output parameters in FetchAgentOutputRequest objects

Change-Id: Iea164657af96b262464fb27c7ce19fcf9387ce1a


  Commit: c9f9c7d662d0269eba83dd5d6ca1ef6dc9cbb65a
      https://github.com/tribe29/checkmk/commit/c9f9c7d662d0269eba83dd5d6ca1ef6dc9cbb65a
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cmk/gui/wato/__init__.py
    M tests/unit/cmk/gui/watolib/test_watolib.py

  Log Message:
  -----------
  Agent / SNMP download: Move background job execution to sites

To prevent timeouts while fetching the agent output / SNMP walk,
the background job needs to be executed on the remote site instead
of the master site.

Change-Id: If0da1dc1ed6d0eb2cd97938adfbc099c331a3364


  Commit: c6c33eecdd888d6b6634299c1ac1f57f5b9f4ec3
      https://github.com/tribe29/checkmk/commit/c6c33eecdd888d6b6634299c1ac1f57f5b9f4ec3
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    A .werks/7895

  Log Message:
  -----------
  7895 FIX Download agent output: Fix timeouts in distributed setups

When executing the action "Download agent output" (or SNMP walk) for a host
that is montored by a remote site, this action could result in a timeout when
it takes longer than 120 seconds to fetch the data from the monitored system.

This has now been fixed by moving the background job execution to the remote
site.

Change-Id: I4ecd54c87ba627a2fa60cb2296d86aa06dc94698


  Commit: b7095f72e53d75626a7d73aa55b2b11e09dc1d3e
      https://github.com/tribe29/checkmk/commit/b7095f72e53d75626a7d73aa55b2b11e09dc1d3e
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    M cmk/gui/wato/__init__.py
    A cmk/gui/wato/pages/fetch_agent_output.py

  Log Message:
  -----------
  Move fetch agent output code to dedicated module

Change-Id: I918f33502da91f066b52d82341483c832cc9edb5


Compare: https://github.com/tribe29/checkmk/compare/9da8b56768a2...b7095f72e53d


More information about the checkmk-commits mailing list