-
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
ZBX_NOTSUPPORTED: Cannot open cpuacct.stat file on AWS ECS #85
Comments
Seems the problem is the fact that Amazon created their own 'folder structure'for storing the cgroup stuff.
Instead of
So the folder is different (ecs <> docker) and the task definition is used in the folder path. |
Valid point, Thomas. Module tries to detect proper cgroup dir location only once, during module initialization. It's not prepared for this ECS case. |
I think this can be resolved by a small fix. For ECS, docker inspect has the following value set:
for Non ECS, this value is set:
So technically, taking the CgroupParent folder into account should be sufficient |
Yes, 👍 It looks like ECS uses:
It will need additional docker inspect call. |
Hi everyone! |
Hi, |
Hi lads, Did you try use ECS_ENABLE_TASK_CPU_MEM_LIMIT=false on your ecs.config file? |
Having an issue whit monitoring of docker containers that were started by Amazon ECS.
I am using the dockbix xxl agent
When I check the location of the file it does indeed not exist (the folder). However, the docker container is running when checked via docker ps.
Docker containers that were started on the same server, but manually (so not with ECS), are being monitored fine
This is the error that is being thrown by the agent
The text was updated successfully, but these errors were encountered: