I installed the "Kubernetes nodes by HTTP" Template on Zabbix 6.0.3, but I can't get it to work because the Kubernetes discovery doesn't start.
I created a node for the k8s cluster and I also filled in correctly the macros {$ KUBE.API.ENDPOINT.URL} and {$ KUBE.API.TOKEN}.
In the Zabbix server log there are these messages:
332304: 20220825: 102300.961 [Kubernetes] ERROR: Error: cannot get URL: Couldn't connect to server.
332280: 20220825: 102300.964 [Kubernetes discovery] ERROR: Incorrect JSON. Check debug log for more information.
332280: 20220825: 102300.965 [Kubernetes discovery] ERROR: Incorrect JSON. Check debug log for more information.
I don't understand why the Zabbix server can't contact the kubernetes cluster.
Thanks in advance.
MG
I created a node for the k8s cluster and I also filled in correctly the macros {$ KUBE.API.ENDPOINT.URL} and {$ KUBE.API.TOKEN}.
In the Zabbix server log there are these messages:
332304: 20220825: 102300.961 [Kubernetes] ERROR: Error: cannot get URL: Couldn't connect to server.
332280: 20220825: 102300.964 [Kubernetes discovery] ERROR: Incorrect JSON. Check debug log for more information.
332280: 20220825: 102300.965 [Kubernetes discovery] ERROR: Incorrect JSON. Check debug log for more information.
I don't understand why the Zabbix server can't contact the kubernetes cluster.
Thanks in advance.
MG
Comment