Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix downtime and recheck functions for CheckMK 2.3 #1047

Merged
merged 5 commits into from
Jul 27, 2024

Conversation

jkim2492
Copy link
Contributor

Since the upgrade from version 2.2 to 2.3 of CheckMK, the downtime and recheck commands stopped working from Nagstamon (acknowledge is still working). It seems like CheckMK is trying to deprecate the legacy API in favor of the new REST API.

We haven't been able to pin-point the exact change that caused this incompatibility. However, we were able to find evidences that CheckMK is trying to drop the legacy API in favor of the REST API. Below are some examples of changes that force users to use the REST API:

Commandline call plugins for special agents and active checks in this folder will still work, but we provide a new API for those as well now (see Werk #16259). They will stop working in Checkmk 2.4.

We recommend migrating all existing scripts that use the Web API to the REST API as soon as possible to catch issues early before you move to CheckMK 2.2.

Changes made in this PR have been tested against:

  • Legacy CheckMK 1.2.6p12 on Bionic
  • OMD CheckMK 2.2.0p26.cre on Focal
  • OMD CheckMK 2.3.0p3.cre on Jammy

Contact: [email protected]

@HenriWahl HenriWahl changed the base branch from master to checkmk_updates July 27, 2024 08:49
@HenriWahl HenriWahl merged commit f9e5441 into HenriWahl:checkmk_updates Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants