-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metric filepath in Kubernetes pod containers are not found. #94
Comments
It looks like your Docker uses |
Jangaraj, It's very similar but our issue is more complicated. As you can see from the file fullpath: These values are not able to get before the pod is create. |
Could you please provide |
I recreated the pod.
|
Yes, cgrouParent is there:
It's the same problem as #85. There is WIP branch https://github.com/monitoringartist/zabbix-docker-monitoring/tree/cgroup-parent. The module will read CgroupParent value from the Docker API and it will use it to construct right cgroup filepath. PR is welcomed. |
Thanks a lot! I will try this version. |
It's WIP = work in progress. It doesn't work without additional devel/test work atm. |
I see. I will check the code first and test if it works. |
@jangaraj |
No/Yes. |
All right. It seems that the bug was still not fixed yet. Do you have any suggestions about the bug fix before compilation? |
nope |
Hi,
I created a pod with zabbix-agent container in Kubernetes environment. In the container, I followed the instructions to load zabbix_module_docker.so. But when I checked the log, I found the following error:
When I find in /sys/fs/cgroup, I found the file with the same container ID under kubepods.slice:
How could I modify it to make the module support kubernetes environment?
Thanks a lot!
The text was updated successfully, but these errors were encountered: