You can now put a custom config file snippet at /boot/config/plugins/zabbix_agent/zabbix_agentd.custom.conf.

This commit is contained in:
2020-11-25 06:29:57 +01:00
parent b4c2718f5b
commit 6f4dc0fead
2 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,8 @@ AllowKey=vfs.fs.*[*]
AllowKey=vm.memory.size[*]
AllowKey=unraid.*
AllowKey=unraid.*[*]
AllowKey=custom.*
AllowKey=custom.*[*]
DenyKey=*
@ -29,3 +31,5 @@ UserParameter=unraid.qemu.discovery,/usr/local/emhttp/plugins/zabbix_agent/scrip
UserParameter=unraid.qemu[*],/usr/local/emhttp/plugins/zabbix_agent/scripts/qemu.sh "$1"
UserParameter=unraid.temperatures,/usr/local/emhttp/plugins/zabbix_agent/scripts/temperatures.sh
UserParameter=unraid.ups,/usr/local/emhttp/plugins/zabbix_agent/scripts/ups.sh
Include=/boot/config/plugins/zabbix_agent/*.custom.conf