API On/Off Switch?

Hi,
is there actually a way to turn off the API in the latest CMK CEE version?
So some kind of switch?

I’m asking because we have integrated checkmk into various automations and I would like to deactivate the API during a major update of the checkmk environment, for example, so that nothing may interrupts my update process.

regards
Christian

Hi Christian.

I think there is no switch to switch API On/Off. API is part oft the UI, so if UI is up the API also startet.

regards, Christian

Hallo,
maybe an entry for the feature request portal.
Ralf

Hi,
heres the link to this request, please vote :smiley:

regards
Christian

You can set the configuration to “read-only” in the global settings.
This stops API and GUI requests.

IMHO there is no need for a new feature.

Is it possible to update checkmk during config is set to read only?

In my opinion there could be a difference between disabling just the API or setting the whole environment up read only…

Curios why? Users can make changes to the config during major updates via API or GUI

In our environment (with over 10.000 servers) we just inform our stakeholders that the API might be unavailable during upgrade and they have to disable their automation, if they don’t to, not our problem basically.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.