Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4d724cce2c3a4dea653e452cabfcacb8aa8e04a7
https://github.com/tribe29/checkmk/commit/4d724cce2c3a4dea653e452cabfcacb8a…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/base/agent_based/checking/__init__.py
M cmk/base/agent_based/data_provider.py
M cmk/base/agent_based/discovery/__init__.py
M cmk/base/agent_based/inventory.py
M cmk/base/automations/check_mk.py
M cmk/base/core_nagios.py
M cmk/base/dump_host.py
M cmk/base/modes/check_mk.py
M cmk/base/sources/_abstract.py
M cmk/base/sources/_checkers.py
M cmk/base/sources/agent.py
M cmk/base/sources/fetcher_configuration.py
M cmk/base/sources/ipmi.py
M cmk/base/sources/piggyback.py
M cmk/base/sources/programs.py
M cmk/base/sources/snmp.py
M cmk/base/sources/tcp.py
M tests/unit/cmk/base/agent_based/test_data_provider_collect_host_sections.py
M tests/unit/cmk/base/sources/test_data_sources.py
M tests/unit/cmk/base/sources/test_ipmi_management_board_data_source.py
M tests/unit/cmk/base/sources/test_piggy_back_data_source.py
M tests/unit/cmk/base/sources/test_program_data_source.py
M tests/unit/cmk/base/sources/test_snmp_data_source.py
M tests/unit/cmk/base/sources/test_tcp_data_source.py
M tests/unit/cmk/base/test_automations_check_mk.py
M tests/unit/cmk/base/test_modes_check_mk.py
Log Message:
-----------
Make source list creation independent of Mode
The creation of the list of sources is indeed indendant of the Mode.
This patch reflects this fact in the type system.
The resulting API for the `Source` is now consistent with
the Fetchers API, cf. Fetcher.fetch(Mode) => Source.fetch(Mode) and
Summarizer.summarize(HostConfig, *, Mode) =>
Source.summarize(HostConfig, *, Mode).
This is a mechanical change performed with the help of mypy.
Change-Id: I2c35874ba506eaca937eed16df1d6c9bf2f1a80f
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 3849202f1e3e00a42b8ac2eae3c40a69e85c8848
https://github.com/tribe29/checkmk/commit/3849202f1e3e00a42b8ac2eae3c40a69e…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M web/htdocs/js/modules/valuespecs.js
M web/htdocs/themes/facelift/scss/_main.scss
Log Message:
-----------
Remove text autocomplete
CMK-6935
Change-Id: Iac56dc31d39e17c934c625bbd4adaca59180b94d
Commit: 6e97584856ce19201b1b68c30f1852490157a643
https://github.com/tribe29/checkmk/commit/6e97584856ce19201b1b68c30f1852490…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/htmllib.py
M cmk/gui/plugins/dashboard/graph.py
M cmk/gui/plugins/metrics/utils.py
M cmk/gui/plugins/visuals/filters.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/valuespec.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/sites.py
M cmk/gui/watolib/__init__.py
M web/htdocs/js/modules/forms.js
M web/htdocs/js/modules/valuespecs.js
Log Message:
-----------
Change text autocompletions by select2dropdowns
Text autocompletion was originally designed only for monitored hostnames
and configured hostnames. The text field allowed users to enter any
value and also to edit configured values. Additionally pasting a string
with particular characters(independent of autocomplete), would split it
in the case of listofstring valuespec and create new fields.
The text autocomplete suffered from some bugs and limitations:
- Options availability bug. Sometimes the request would block and no
new options would be fetched. Sometimes the workaround of clearing the
field, changing focus and returning would restart the query. Sometimes
worse in the case of configured hostnames, it was necessary to exit the
page.
- When request were not blocked, a request fired every onkeyup and when
request came back it overwrote the user input.
This commit exchanges the adhoc select2 dialog that floats on top of the
html.input with a clean drop-down, managed entirely by select2 which
directly ajax calls to request data. This allows for separated
concerns, the python valuespec does not need to inject JS to place hooks
to query the webapi. This fixes the following
- The data availability bug, changing input starts a new query. Thus
results are always found
- Requests are triggered 250ms after User stops typing. This saves on
requests.
- Select2 cancels previous request as soon as the user changes input and
only updates contents from the response of last request. This solves the
bug of previous request updating results and confusing user.
Old autocomplete valuespecs now inherit thus from dropdownchoice rather than text ascii.
- Monitored Hostname. Now has regex input validation. User custom input is permitted
- Configured Hostname. Now has regex input validation. User custom input is permitted
- Monitored Service. Now has regex input validation. User custom input is permitted
- Metric name. Now has input validation, metric name is strictly bound to known metrics
- Hostname and service filters. Render directly the dropdowns as filters
don't yet use the valuespecs.
- Configured Hostname, can be embedded in listofstrings. List of strings is
extended to expand on text input and text paste when the underlying
datatype is a dropdown. It works as before.
CMK-6935
Change-Id: I7c0dac8f4ee6deeaba7d614804500b7e98c1b95d
Commit: 46c4f218636a01afc5bb620081feda4bcac87fcf
https://github.com/tribe29/checkmk/commit/46c4f218636a01afc5bb620081feda4bc…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/plugins/visuals/filters.py
M cmk/gui/plugins/visuals/infos.py
M cmk/gui/valuespec.py
M tests/unit/cmk/gui/test_pages.py
M web/htdocs/js/modules/valuespecs.js
M web/htdocs/themes/facelift/scss/_page_menu.scss
Log Message:
-----------
Customgraphs editor use only select2
In order to use the modern autocomplete dropdowns for input in host,
service, and metric the old valuespec is completely removed.
Functionality is good enough
- There is no automatic refresh on any form action. This is even a
feature request: SUP-2485, SUP-5399, SUP-5949
- Added an apply button to save changes
- No need for metric & scalar selector ajax pages. The autocompleter
covers all
- Because no form & page refresh, can drop the JS part that did that,
and caused some bugfixing headaches when styles were changes. All
dropdowns use id instead of name like text_input
In the single info cases and custom graphs editor, where only a specific
hostname, service, and metric make sense enforce that constrain instead
of allowing user to write anything.
Filters have direct html render, enforce the exact match op=="=" for
only what is autocompleted.
Change-Id: I685fc48418ae3f743068cbdbd27f2ea3839f5c5c
Commit: 431674fe246ee169e9a376fc804ede5f850b6c1f
https://github.com/tribe29/checkmk/commit/431674fe246ee169e9a376fc804ede5f8…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/valuespec.py
M web/htdocs/js/modules/valuespecs.js
Log Message:
-----------
Autocompleter options mention incomplete results first
This announces user that the list could be incomplete.
User can't select as option, it is a warning only not an option
Change-Id: If87bc39c91fbbcdf03b428cb023fa051193cbb7d
Commit: 6aaf20a4883ffad2245e51e02e6fb8c5ff798b16
https://github.com/tribe29/checkmk/commit/6aaf20a4883ffad2245e51e02e6fb8c5f…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
A .werks/12491
Log Message:
-----------
12491 No autorefresh in Custom Graph editor
The custom graph editor in a pursuit of convenience would save changes and
refresh the page on every change. This convenience resulted in a high
performance penalty when editing graphs with multiple metrics, as the entire
page would need to be rendered again, and specially recollecting data from the
RRD files.
With this Werk, the custom graph editor does not execute the page reload upon
changes. The user is now responsible for this interaction. Following our UX
project, now there is an "Apply" button on the top left corner of the editor to
save and apply the changes to the graph. This allows users to place multiple
changes at once, without incurring in a performance penalty, due to the constant
refreshing of the editor.
Users do need to press the "Apply" button to save changes, it is now not enough
to just do changes and leave the editor.
Change-Id: Ibd3e8f44859300fe9e2de895884348621c877245
Commit: da65fbdebcc0f7df6324344dc003ae16cd3b2bde
https://github.com/tribe29/checkmk/commit/da65fbdebcc0f7df6324344dc003ae16c…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/visuals.py
Log Message:
-----------
Fix Dashboards show context info in title
Context filters can be configured on the dashboard settings. Those
filters were applied yet did not appear on the title. Only after using
the sidebar filter actions would they be loaded on the url and then
applied to the title.
The context is already merged on the dashboard, and that should be the
only source for action. No last instant query to the uri vars. Views
load at some point the merged context to the uri, that should be
refactored away. Dashboard with context filters is new and that has not
been incorporated( good ).
This commit uses the merge context as the source of information for the
context sensitive title. Hopefully in later refactor can the filters
stop peaking to the uri vars for action.
SUP-6284
Change-Id: I2274f56491d0173d69a5bc386a54f13f2dd179ac
Commit: 9c88fd3af75d8426af5f905aa11b2dd3333c5ff7
https://github.com/tribe29/checkmk/commit/9c88fd3af75d8426af5f905aa11b2dd33…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/fields/__init__.py
Log Message:
-----------
REST API: remove abstract IP class
Change-Id: I20e7220bed3ac5ea4842cce12cf75df4edcce6e6
Commit: a6866c25e91d2e67132d543dc87efeaca004437d
https://github.com/tribe29/checkmk/commit/a6866c25e91d2e67132d543dc87efeaca…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/inventory.py
Log Message:
-----------
Format line
Change-Id: Ieede7f5499859aa664e43f3fb541b237303d001b
Compare: https://github.com/tribe29/checkmk/compare/318d6dddea8b...a6866c25e91d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c4c232b0e711be10e945677b55429a5118a30e61
https://github.com/tribe29/checkmk/commit/c4c232b0e711be10e945677b55429a511…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
R .werks/12878
M checks/systemd_units
M tests/unit/checks/test_systemd_units.py
Log Message:
-----------
Revert "12878 FIX <tt>systemd_units</tt>: Handle "●" as marker for broken units correctly"
This commit uncovers a lot of issues with previously failed systemd
units. It also shows a lot of check-mk-agent.socket failures. Most of
these uncovered "issues" are mostly not actionable problems right now
because hey shows failures states that happened in the past and have
been fixed in the meantime (just missed to acknowledge the failure
state).
Even if this change is correct, we first need to figure out how to we
and users can deal with these failures before publishing it as part of a
patch release.
This reverts commit 6ac707ed8384600a0f09fbf57691cf4b1ace7871.
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: ad0d130850dd36197212837ed430c540d79c3708
https://github.com/tribe29/checkmk/commit/ad0d130850dd36197212837ed430c540d…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
A .werks/12323
Log Message:
-----------
12323 Windows agent reports warning if update failed due to wrong Python environment
With this release, the user will receive a clear and unambiguous warning if the
MSI-package used for the automatic update contains the wrong version of Python.
Change-Id: I5713517c280295ba5ef86426ed5b2167002fcffd
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 79826b8883457ec494974daa6cefd995e557e08e
https://github.com/tribe29/checkmk/commit/79826b8883457ec494974daa6cefd995e…
Author: Kenneth Okoh <kenneth.okoh(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/plugins/sidebar/search.py
M cmk/gui/type_defs.py
Log Message:
-----------
Fix HTML tag in search result tooltips
Change-Id: I8b7162b92d13237b0a770fea7427f268d1df99d5
Commit: 318d6dddea8b1ee69a950cef2a0cd79bbfb91fde
https://github.com/tribe29/checkmk/commit/318d6dddea8b1ee69a950cef2a0cd79bb…
Author: Kenneth Okoh <kenneth.okoh(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/plugins/sidebar/main_menu.py
M cmk/gui/plugins/sidebar/search.py
M web/htdocs/js/modules/popup_menu.js
M web/htdocs/js/modules/search.js
M web/htdocs/js/modules/utils.js
M web/htdocs/themes/facelift/scss/_mega_menu.scss
Log Message:
-----------
Mega menu: Improved vertical alignment of topics (CMK-7825)
Change-Id: I18262abd86060fc98f91d7c321b23cf7f14f581c
Compare: https://github.com/tribe29/checkmk/compare/a35a8fb88689...318d6dddea8b
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 5033a8ae1cd3e6cb399bedf7cb0ffa1e006b732d
https://github.com/tribe29/checkmk/commit/5033a8ae1cd3e6cb399bedf7cb0ffa1e0…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M buildscripts/scripts/lib/gerrit_stages.groovy
R buildscripts/scripts/stages.yml
M buildscripts/scripts/test-gerrit.jenkins
R buildscripts/scripts/verify_changes
Log Message:
-----------
Revert "Jenkinsfiles: outsource information about build stages and make them available locally"
This reverts commit 85b38a1ffe154241cd11f669346d23beba0c541b.
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 85b38a1ffe154241cd11f669346d23beba0c541b
https://github.com/tribe29/checkmk/commit/85b38a1ffe154241cd11f669346d23beb…
Author: Frans Fürst <frans.fuerst(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M buildscripts/scripts/lib/gerrit_stages.groovy
A buildscripts/scripts/stages.yml
M buildscripts/scripts/test-gerrit.jenkins
A buildscripts/scripts/verify_changes
Log Message:
-----------
Jenkinsfiles: outsource information about build stages and make them available locally
Change-Id: Ic3119b7436fb43097aa7837395cba46e6a35e862
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c57d366c696951ee22540663039cc18637b08114
https://github.com/tribe29/checkmk/commit/c57d366c696951ee22540663039cc1863…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M cmk/gui/visuals.py
Log Message:
-----------
Fix Dashboards show context info in title
Context filters can be configured on the dashboard settings. Those
filters were applied yet did not appear on the title. Only after using
the sidebar filter actions would they be loaded on the url and then
applied to the title.
The context is already merged on the dashboard, and that should be the
only source for action. No last instant query to the uri vars. Views
load at some point the merged context to the uri, that should be
refactored away. Dashboard with context filters is new and that has not
been incorporated( good ).
This commit uses the merge context as the source of information for the
context sensitive title. Hopefully in later refactor can the filters
stop peaking to the uri vars for action.
SUP-6284
Change-Id: I2274f56491d0173d69a5bc386a54f13f2dd179ac