-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
This zenpack uses hardcoded path to cgroup metrics. For example
/sys/fs/cgroup/cpuacct/docker/${here/id}/cpuacct.stat
But this path depends on used Docker version (execution driver, ..), so it can be also:
/sys/fs/cgroup/cpuacct/system.slice/${here/id}/cpuacct.stat
/sys/fs/cgroup/cpuacct/lxc/${here/id}/cpuacct.stat
/sys/fs/cgroup/cpuacct/libvirt/lxc/${here/id}/cpuacct.stat
...
Implement auto detection of the correct path in the modeller plugin. I was solving this problem in
https://github.com/jangaraj/Zabbix-Docker-Monitoring/blob/master/src/modules/zabbix_module_docker/zabbix_module_docker.c#L469
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels