CMK version: 2.1 Enterprise OS version: Ubuntu 20.04
Error message:
[special_kube] Agent exited with code 1: 401, Reason: Unauthorized, Message: UnauthorizedCRIT, execution time 1.2 sec
Hi, I’ve been trying to set up kubernetes in the new checkmk 2.1. I’ve watched the tutorial and gone through the documentation. I’ve set it up accordingly but I’m stuck on a 401 unauthorized message.
I generated the token like so:
kubectl get secret $(kubectl get serviceaccount checkmk -o=jsonpath=’{.secrets[*].name}’ -n cmk-monitoring) -n cmk-monitoring -o=jsonpath=’{.data.token}’ | base64 --decode
I have never seen one of those
Can you provide a little more context, e.g. a screenshot of the hosts (incl. hostnames) of the hosts where this happens? e.g.
What I can see from here:
The Check_MK service has in the summary an [agent] part and a [piggyback] part. For the Kubernetes monitoring, an agent part is not necessary as all data comes via [piggyback].
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.