zabbix-tools / zabbix-module-systemd

Native systemd monitoring for Zabbix
MIT License
90 stars 17 forks source link

fix cgroup memory get metric file when unit have @ in name #42

Open Viste opened 4 years ago

Viste commented 4 years ago

Service with @ in name keep their metrics in /sys/fs/cgroup/memory/system.slice/system-dbus.slice/dbus.service/memory.stat for example: /sys/fs/cgroup/memory/system.slice/system-somectl.scheduler.slice/someclt.scheduler@38809.service

Viste commented 4 years ago

@cavaliercoder @jangaraj