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

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


  Branch: refs/heads/1.6.0
  Home:   https://github.com/tribe29/checkmk
  Commit: ca76c56ded6cf603b4676b53f726a7c65feff674
      https://github.com/tribe29/checkmk/commit/ca76c56ded6cf603b4676b53f726a7c65feff674
  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: a4664c5a7fbfbbebf040983c22dc14596b4f15ce
      https://github.com/tribe29/checkmk/commit/a4664c5a7fbfbbebf040983c22dc14596b4f15ce
  Author: Lars Michelsen <lm at tribe29.com>
  Date:   2019-06-27 (Thu, 27 Jun 2019)

  Changed paths:
    A .werks/7899
    M cmk/gui/watolib/host_attributes.py

  Log Message:
  -----------
  7899 FIX Fix configuring empty tag ID tags on hosts / folders

CMK-2277

Change-Id: Ib152de01a826e3f8f1c07a40b4eb3129fd1b453a


  Commit: dc5d318d768b8ea2c5f3008c7599d3c16ed44115
      https://github.com/tribe29/checkmk/commit/dc5d318d768b8ea2c5f3008c7599d3c16ed44115
  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: ded4ad151aff91abf13932f261e700ca9805a6b7
      https://github.com/tribe29/checkmk/commit/ded4ad151aff91abf13932f261e700ca9805a6b7
  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: 30ad465b2167055902d0378b77d2f9760f18c49e
      https://github.com/tribe29/checkmk/commit/30ad465b2167055902d0378b77d2f9760f18c49e
  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: 51354111369b3fc6ba58b157a33e77e538f7663d
      https://github.com/tribe29/checkmk/commit/51354111369b3fc6ba58b157a33e77e538f7663d
  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: 2e90745fe7eaf14fef1f6f4b7fa61da60dd74c69
      https://github.com/tribe29/checkmk/commit/2e90745fe7eaf14fef1f6f4b7fa61da60dd74c69
  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/e81a79b0703e...2e90745fe7ea


More information about the checkmk-commits mailing list