zabbix agent on gentoo
add Use Flag agent
antec ~ # grep zabb /etc/portage/package.use
net-analyzer/zabbix agent
antec ~ # grep zabb /etc/portage/package.use
net-analyzer/zabbix agent
emerge -a zabbix
For some reason the conf file is expected in /etc
antec ~ # cp /etc/zabbix/zabbix_agentd /etc/zabbix_agentd.conf
antec ~ # ls -l /etc/zabbix_agentd.conf
-rw-r----- 1 zabbix zabbix 7015 Apr 13 23:40 /etc/zabbix_agentd.conf
antec ~ # grep -s 192 /etc/zabbix_agentd.conf
Server=192.168.192.200
Also had to cread zabbix dir in /run
mkdir /run/zabbix
chown zabbix:zabbix /run/zabbix
systemctl start zabbix-agentd
Comments
Post a Comment