unraid-zabbix_agent/files/boot/config/plugins/zabbix_agent/zabbix_agentd.conf

36 lines
1.1 KiB
Plaintext

Server=0.0.0.0/0
LogType=system
AllowRoot=1
StartAgents=1
DenyKey=system.run[*]
AllowKey=agent.*
AllowKey=net.if.*
AllowKey=net.if.*[*]
AllowKey=proc.*
AllowKey=proc.*[*]
AllowKey=sensor[*]
AllowKey=system.*
AllowKey=system.*[*]
AllowKey=vfs.dev.*
AllowKey=vfs.dev.*[*]
AllowKey=vfs.fs.*
AllowKey=vfs.fs.*[*]
AllowKey=vm.memory.size[*]
AllowKey=unraid.*
AllowKey=unraid.*[*]
AllowKey=custom.*
AllowKey=custom.*[*]
DenyKey=*
UserParameter=unraid.disks.discovery,/usr/local/emhttp/plugins/zabbix_agent/scripts/disks.discovery.sh
UserParameter=unraid.disk[*],/usr/local/emhttp/plugins/zabbix_agent/scripts/disk.sh "$1"
UserParameter=unraid.disks.totals,/usr/local/emhttp/plugins/zabbix_agent/scripts/disks.totals.sh
UserParameter=unraid.qemu.discovery,/usr/local/emhttp/plugins/zabbix_agent/scripts/qemu.discovery.sh
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