Checkmk and hivemanager-ng on prem

we wanted to monitor our hivemanager-ng on premise with checkmk.
The new on prem version of hivemanager-ng has the API integrated, but the check does not work.
We alwas get the following error:

UNKN - [special_hivemanager_ng] Agent exited with code 1: Error: Request to the API failed. Please check your connection settings

API token in hivemanager-ng is generated and all fields in the hivemanager-ng rule filled.

Forget this

Try to contact the host with debug option:

cmk -d --debug

This should give you more information why the connection failed, if I understand the special agent script correctly.


Run the special agent directly with the debug option:

~/share/check_mk/agents/special/agent_hivemanager_ng -d [url] [vhm_id] ...

1 Like

Thanks for the hint.

Running it at the command line gave us the real error:

SSLError(“bad handshake: Error([(‘SSL routines’, ‘ssl3_get_server_certificate’, ‘certificate verify failed’)],)”,)

I will try to get a valid certificate to our hivemanager-ng.


In case someone else is trying this. With a valid certificate it works with hivemanager-ng on prem.