scanterog / zabbix-lxd

A loadable module for Zabbix Agent in order to monitor LXC/LXD containers
11 stars 6 forks source link

Update for new lxd :) #7

Open Watersoul opened 4 years ago

Watersoul commented 4 years ago

Hi, I'm running LXD 4.7 on Ubuntu 20.04 Since directories hierarchy of LXD stats has been changed from /sys/fs/cgroup/cpuset/lxc to something like /sys/fs/cgroup/cpuset/lxc.monitor.containername /sys/fs/cgroup/cpuset/lxc.payload.containername we are have some errors :)

3948212:20201105:235120.434 In zbx_load_modules() 3948212:20201105:235120.434 loading module "/usr/lib/zabbix/modules/zabbix_module_lxd.so" 3948212:20201105:235120.434 In zbx_module_api_version() 3948212:20201105:235120.434 In zbx_module_init() 3948212:20201105:235120.434 zabbix_module_lxd v0.1, compilation time: Nov 5 2020 23:50:50 3948212:20201105:235120.434 In zbx_lxd_dir_detect() 3948212:20201105:235120.435 Detected LXD stat directory: /sys/fs/cgroup/ 3948212:20201105:235120.435 ddir to test: /sys/fs/cgroup/cpuset/lxc/ 3948212:20201105:235120.435 Cannot detect used LXD driver

khoubeibba commented 3 years ago

Hi, it seems that the project is no longer maintained ... what a waste with lxd is growing up it's cool to have a real advanced agent module in zabbix