HenriWahl / Nagstamon

Nagios status monitor for your desktop.
https://nagstamon.de
Other
419 stars 173 forks source link

Fix downtime and recheck functions for CheckMK 2.3 #1047

Closed jkim2492 closed 2 months ago

jkim2492 commented 2 months ago

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:

Changes made in this PR have been tested against:

Contact: jkim@xelerance.com