We have an on premise DOI environment in our site. We want to monitor Kubernetes by using APM agent. We followed the steps at the documentation and installed APM agent to our internal test Kubernetes environment. We are able to see the agents at metric's tab. But nothing at Agents tab or no metric coming from Kubernetes environment.
Release : 20.2
Component : CA DOI Foundations
The pod log (kubectl logs podname) showed an error in the OpenShift Monitor startup
In the caagent-kubernetesmonitor.yml file is a section
- name: interval
value: \\"60\\"
Change this to
- name: interval
value: "60"
the delete and recreate the deployment i.e.
kubectl delete -f caagent-kubernetesmonitor.yml
kubectl create -f caagent-kubernetesmonitor.yml
The source of this is the sample yml displayed from the agent download section of on premise agent for the Cloud Native Kubernetes agent download