Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 2c6ab36a9a5fd745700ca398ab52b11c73dc915c
https://github.com/tribe29/checkmk/commit/2c6ab36a9a5fd745700ca398ab52b11c7…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14684
M bin/livedump
Log Message:
-----------
14684 FIX Fixed handling of Livestatus socket specification in livedump/cmc
There were a few tiny bugs plus some surprising behavior when specifying the
Livestatus socket for livedump/cmcdump. With this change, the rules are
simple and consistent now: If there is a -s/--socket commandline option, use
that. Otherwise derive the UNIX socket from the OMD_ROOT environment
variable if that is set (probably the common case). And finally: If there
is no -s/--socket option and no OMD_ROOT, complain and exit.
Change-Id: I1eabde2ca1afaeebe83013070b4da1b46dd1fa54
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: f3ae0c6cdae494a28928fb9a6d0f1be507b11cc1
https://github.com/tribe29/checkmk/commit/f3ae0c6cdae494a28928fb9a6d0f1be50…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14684
M bin/livedump
Log Message:
-----------
14684 FIX Fixed handling of Livestatus socket specification in livedump/cmc
There were a few tiny bugs plus some surprising behavior when specifying the
Livestatus socket for livedump/cmcdump. With this change, the rules are
simple and consistent now: If there is a -s/--socket commandline option, use
that. Otherwise derive the UNIX socket from the OMD_ROOT environment
variable if that is set (probably the common case). And finally: If there
is no -s/--socket option and no OMD_ROOT, complain and exit.
Change-Id: I1eabde2ca1afaeebe83013070b4da1b46dd1fa54
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0c879118138cf1ee9e42c6df19d17d64af105c59
https://github.com/tribe29/checkmk/commit/0c879118138cf1ee9e42c6df19d17d64a…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M agents/cmk-agent-ctl/src/config.rs
M agents/cmk-agent-ctl/src/modes/registration.rs
M agents/cmk-agent-ctl/src/types.rs
Log Message:
-----------
Agent controller: Internal restructuring
* Dissolve OptPwdCredentials struct (leftover from when we were still
reading in registration presets, which were then merged with the cmd
line args).
* Nice side effect: We can improve the registration tests a bit.
Change-Id: I370b7b4911c29dab4afe11c116219ae52b08d0ff
Commit: c9550fab305c75783c3237041e402fecd292aa20
https://github.com/tribe29/checkmk/commit/c9550fab305c75783c3237041e402fecd…
Author: Joerg Herbel <joerg.herbel(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M agents/cmk-agent-ctl/Cargo.toml
Log Message:
-----------
Agent controller: Move tempfile crate to dev-dependencies
Change-Id: I21dbe6e9d9d0c50a9361059b102e4ce00fa88c0c
Commit: 61c209310243a2a938e12f4d59503b813844a21f
https://github.com/tribe29/checkmk/commit/61c209310243a2a938e12f4d59503b813…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A tests/unit/checks/test_fortigate_sync_status.py
Log Message:
-----------
fortigate_sync_status: Added unit tests
Change-Id: Ia90bbc4f2c873fe8010d1986f0cdd269fd03d293
Commit: 4d8693822cb3fe89af5bca60441361dc9b934a0a
https://github.com/tribe29/checkmk/commit/4d8693822cb3fe89af5bca60441361dc9…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14625
M checks/fortigate_sync_status
M tests/unit/checks/test_fortigate_sync_status.py
Log Message:
-----------
14625 FIX fortigate_sync_status: No longer crashes if the status is not available or is not known
The check used to crash if the status of a cluster was not available (i.e. empty string) or
if the status was not known (wasn't either 'synchronized' nor 'unsynchronized').
Now, if any of the above cases occur, the check turns to an UNKNOWN state and provides the appropriate description.
Change-Id: If9451397b34b363c90bafb5fc4e02fdab3309232
Commit: 284e9d5f2ad12a713e573ae428b6033aa4e7cf0c
https://github.com/tribe29/checkmk/commit/284e9d5f2ad12a713e573ae428b6033aa…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M checks/fortigate_sync_status
A cmk/base/plugins/agent_based/fortigate_sync_status.py
M tests/unit/checks/test_fortigate_sync_status.py
Log Message:
-----------
fortigate_sync_status: Migrated parse function to the new API
Change-Id: I9d08e1c1171144b870e859d84eb1c0ba480ad532
Commit: 05e0a12684c5292e3275111c0dc22d821e2e8a37
https://github.com/tribe29/checkmk/commit/05e0a12684c5292e3275111c0dc22d821…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
R checks/fortigate_sync_status
M cmk/base/plugins/agent_based/fortigate_sync_status.py
R tests/unit/checks/test_fortigate_sync_status.py
M tests/unit/checks/test_generic_legacy_conversion.py
A tests/unit/cmk/base/plugins/agent_based/test_fortigate_sync_status.py
Log Message:
-----------
fortigate_sync_status: Migrated check to new API
Change-Id: Ie7a966930e2618cc7ef749a189fa022a94c5cd52
Compare: https://github.com/tribe29/checkmk/compare/96a5b971278b...05e0a12684c5
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 474ab9158d774dcc0d4bea882708bafb83a267bd
https://github.com/tribe29/checkmk/commit/474ab9158d774dcc0d4bea882708bafb8…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14625
M checks/fortigate_sync_status
Log Message:
-----------
14625 FIX fortigate_sync_status: No longer crashes if the status is not available or is not known
The check used to crash if the status of a cluster was not available (i.e. empty string) or
if the status was not known (wasn't either 'synchronized' nor 'unsynchronized').
Now, if any of the above cases occur, the check turns to an UNKNOWN state and provides the appropriate description.
Change-Id: If9451397b34b363c90bafb5fc4e02fdab3309232
Commit: a649e367bb20d5ba06f499fff673180652afc821
https://github.com/tribe29/checkmk/commit/a649e367bb20d5ba06f499fff67318065…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14434
M cmk/base/plugins/agent_based/chrony.py
M tests/unit/cmk/base/plugins/agent_based/test_chrony.py
Log Message:
-----------
14434 FIX chrony check no longer crashes if chrony section is not available
Change-Id: I2519129ba0d80c054a414219f61a022fc89bfc0a
Compare: https://github.com/tribe29/checkmk/compare/ed2f9f938686...a649e367bb20
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: e6e4b54544818519bef1fc1baa2e69614074f3db
https://github.com/tribe29/checkmk/commit/e6e4b54544818519bef1fc1baa2e69614…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14625
M checks/fortigate_sync_status
Log Message:
-----------
14625 FIX fortigate_sync_status: No longer crashes if the status is not available or is not known
The check used to crash if the status of a cluster was not available (i.e. empty string) or
if the status was not known (wasn't either 'synchronized' or 'unsynchronized').
Now, if any of the above cases occur, the check turns to an UNKNOWN state and provides the appropriate description.
Change-Id: If9451397b34b363c90bafb5fc4e02fdab3309232
Commit: 3efd943dec1316a5d984270ac97fa2a775325fcd
https://github.com/tribe29/checkmk/commit/3efd943dec1316a5d984270ac97fa2a77…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14434
M cmk/base/plugins/agent_based/chrony.py
M tests/unit/cmk/base/plugins/agent_based/test_chrony.py
Log Message:
-----------
14434 FIX chrony check no longer crashes if chrony section is not available
Change-Id: I2519129ba0d80c054a414219f61a022fc89bfc0a
Compare: https://github.com/tribe29/checkmk/compare/63728df251ff...3efd943dec13
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 96a5b971278b95b12d88246ecefce6f589537928
https://github.com/tribe29/checkmk/commit/96a5b971278b95b12d88246ecefce6f58…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14298
A cmk/gui/autocompleters.py
M cmk/gui/plugins/main_modules/cre.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
R cmk/gui/plugins/webapi/__init__.py
R cmk/gui/plugins/webapi/autocompleters.py
R cmk/gui/plugins/webapi/bulk_discovery.py
R cmk/gui/plugins/webapi/execute_remote_automation.py
R cmk/gui/plugins/webapi/grafana.py
R cmk/gui/plugins/webapi/graphs.py
R cmk/gui/plugins/webapi/inventory.py
R cmk/gui/plugins/webapi/utils.py
R cmk/gui/plugins/webapi/webapi.py
M cmk/gui/userdb/__init__.py
M cmk/gui/watolib/host_attributes.py
R cmk/gui/webapi.py
R tests/integration/cmk/gui/plugins/webapi/test_webapi_plugin.py
M tests/unit/cmk/gui/test_main_modules.py
M tests/unit/cmk/gui/test_pages.py
M tests/unit/cmk/gui/test_permissions.py
R tests/unit/cmk/gui/test_webapi_unit.py
Log Message:
-----------
14298 Remove Web API
With Checkmk 2.1, announced by Werk #13640, the Web API was deprecated. This
release now removes the Web API.
We recommend migrating all existing scripts that use the Web API to the REST
API.
Change-Id: I6d41c6f85868d4c4effd8d17ab28f3aa9da79d21
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3475c6487f5fcad8207b01eda1bb49f91534ac01
https://github.com/tribe29/checkmk/commit/3475c6487f5fcad8207b01eda1bb49f91…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14627
M checks/storcli_vdrives
Log Message:
-----------
14627 FIX storcli_vrdives: KeyError(<ITEM>) raised in the check function if the item vanished
storcli_vrdives check function did not check for the existence of an item in the preprocessed
data and raised KeyError() in case it didn't exist.
This change aborts the check resulting in UNKN state in that case.
Change-Id: I71cb76de8b29c73f681bd6f910ef77a94a6b5273
Commit: f4b2d73ea0c594b288ca4f766c211cad9c1115bf
https://github.com/tribe29/checkmk/commit/f4b2d73ea0c594b288ca4f766c211cad9…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A tests/unit/checks/test_storcli_vdrives.py
Log Message:
-----------
storcli_vdrives: Added unit tests
Change-Id: Icb2faba558ae4cddb8904386843f47533b537906
Commit: a9959e0df25ef5898045b71132e17ce43c4e74de
https://github.com/tribe29/checkmk/commit/a9959e0df25ef5898045b71132e17ce43…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M checks/storcli_vdrives
Log Message:
-----------
storcli_vdrives: Prepare for migration
Change-Id: I7ff8abfd6318a4a4a5c2aff6fb1cf557ef2db0c9
Commit: 2cb02cfcaef9db1c91d5095ab9e553ee2ec43ebd
https://github.com/tribe29/checkmk/commit/2cb02cfcaef9db1c91d5095ab9e553ee2…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M checks/storcli_vdrives
A cmk/base/plugins/agent_based/storcli_vdrives.py
M tests/unit/checks/test_storcli_vdrives.py
Log Message:
-----------
storcli_vdrives: Migrated parse function
Change-Id: Ib9aabe276b29e225959bc639c0ce5b34b3ff2fe4
Commit: 05ae71e47e59c601ceecf347812263c4757fcc83
https://github.com/tribe29/checkmk/commit/05ae71e47e59c601ceecf347812263c47…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
R checks/storcli_vdrives
M cmk/base/plugins/agent_based/storcli_vdrives.py
M tests/unit/checks/test_generic_legacy_conversion.py
R tests/unit/checks/test_storcli_vdrives.py
A tests/unit/cmk/base/plugins/agent_based/test_storcli_vdrives.py
Log Message:
-----------
storcli_vdrives: Migrated check to new API
Change-Id: I35c28d74a1d144e17ad24c86961832bb639b92de
Compare: https://github.com/tribe29/checkmk/compare/fa808a8ca68c...05ae71e47e59
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 63728df251ffd97d4c973beb88982427f3c29bab
https://github.com/tribe29/checkmk/commit/63728df251ffd97d4c973beb88982427f…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14627
M checks/storcli_vdrives
Log Message:
-----------
14627 FIX storcli_vrdives: KeyError(<ITEM>) raised in the check function if the item vanished
storcli_vrdives check function did not check for the existence of an item in the preprocessed
data and raised KeyError() in case it didn't exist.
This change aborts the check resulting in UNKN state in that case.
Change-Id: I71cb76de8b29c73f681bd6f910ef77a94a6b5273
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: ed2f9f9386865e8535c3979658886351de4ae95a
https://github.com/tribe29/checkmk/commit/ed2f9f9386865e8535c3979658886351d…
Author: LukaRacic <luka.racic(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
A .werks/14627
M checks/storcli_vdrives
Log Message:
-----------
14627 FIX storcli_vrdives: KeyError(<ITEM>) raised in the check function if the item vanished
storcli_vrdives check function did not check for the existence of an item in the preprocessed
data and raised KeyError() in case it didn't exist.
This change aborts the check resulting in UNKN state in that case.
Change-Id: I71cb76de8b29c73f681bd6f910ef77a94a6b5273
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 1c8f19e7610950468bd798b0108d7eb9c9ad5102
https://github.com/tribe29/checkmk/commit/1c8f19e7610950468bd798b0108d7eb9c…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M omd/packages/omd/omdlib/backup.py
Log Message:
-----------
omd backup: pass error_handler instead of site
Change-Id: I30f36112ba2831ba3264b0d2dc468744c0a0195f
Commit: fa808a8ca68c98122a070f8d9bf9dee1718a7f05
https://github.com/tribe29/checkmk/commit/fa808a8ca68c98122a070f8d9bf9dee17…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M omd/packages/omd/omdlib/backup.py
M tests/unit/omdlib/test_omdlib_backup.py
Log Message:
-----------
omd backup: remove BackTarFile (I)
Inheriting from dependencies is a bad idea. Initially, we only remove
the add method. We do this by copying the implementation of tarfile.add
and then removing options, which are not relevant to our use case, i.e.,
* debug information
* passing None for arcname
* non-recursive mode
* modifying tarinfo after creation
Change-Id: I5f6dca73c52da27ed4ea357cdb8df92f8f2d57d6
Compare: https://github.com/tribe29/checkmk/compare/4171d6c0fb6e...fa808a8ca68c