API interactive GUI URL is of backend webserver

CMK version: 2.0.0p15
Debian 12

I run an Apache webserver acting as a front end to several web services (checkmk, subversion, nextcloud, …). When I visit the URL for my checkmk site then everything works fine, except when I try to access Help–>REST api interactive GUI, at which point the URL in the form refers to the backend checkmk server directly, and it is without a http-ish protocol:

//chifferi.pasta.net:5000/default/check_mk/api/1.0/openapi-swagger-ui.yaml

Below the form is the error:

NetworkError when attempting to fetch resource. //chifferi.pasta.net:5000/default/check_mk/api/1.0/openapi-swagger-ui.yaml

I suspect there are two issues here: missing protocol and backend instead of frontend webserver in the URL, but I might be wrong.

Can anybody advise please?

(I have a remote host that uses some shell scripts to check access to a website and I would like that remote host to submit service status (meaning “that website is not reachable” or “that website is reachable”) to my checkmk installation via the REST API. I don’t know if this is possible,but I wanted to explore the REST API using the API GUI to determine that.)

Alexis

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.