zabbix-module-systemd
zabbix-module-systemd copied to clipboard
Native systemd monitoring for Zabbix
Hello. I'm trying to build module on Ubuntu 16.04, but got an error at MAKE stage: /usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: dbus/dbus-arch-deps.h: No such file or directory Please help.
Hi @cavaliercoder @jangaraj, This fix #44 See, ```bash libzbxsystemd.c: In function ‘SYSTEMD_UNIT_DISCOVERY’: libzbxsystemd.c:214:35: warning: comparison between pointer and zero character constant [-Wpointer-compare] 214 | if(NULL != filter || '\0' !=...
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/[email protected]`
remove unnecessary unrefs to dbus message introduced in https://github.com/cavaliercoder/zabbix-module-systemd/commit/c6c2c26f2c995167ba2da0508de013bddcc73b19 because they break `systemd.service.info[]` key this fix don't open memleak again just remove my excessive desire to free up memory.
Hi @cavaliercoder, gcc[1] reports this warning, ```shell libzbxsystemd.c: In function ‘SYSTEMD_UNIT_DISCOVERY’: libzbxsystemd.c:214:35: warning: comparison between pointer and zero character constant [-Wpointer-compare] 214 | if(NULL != filter || '\0' != filter)...
Some units can use custom slice setting. Use that one for reading of cgroup performance counters (cpu, mem, ....) instead of hardcoded `system.slice` path. For example: ``` $ zabbix_get -s...
I tried to garther some information from the cgroup accounting by service (CPU and mem). I enabled cgroup inside systemd default config file but the key seems to still be...
Error: Cannot accurately apply filter: no value received for macro "{#SERVICE.STARTUPNAME}". https://www.zabbix.com/documentation/3.2/manual/introduction/whatsnew3210 Example: ``` { "{#SERVICE.TYPE}": "service", "{#SERVICE.NAME}": "systemd-sysctl.service", "{#SERVICE.DISPLAYNAME}": "Apply Kernel Variables", "{#SERVICE.PATH}": "/lib/systemd/system/systemd-sysctl.service", "{#SERVICE.STARTUPNAME}": "static", "{#SERVICE.CONDITIONRESULT}": "yes" },...
Hi, I have a little issue when a system is in inactive state, the module gives me back a ZBX_NOTSUPPORTED: Failed to lookup object path: 1707:20180420:150015.966 In update_cpustats() 1707:20180420:150015.966 End...