Skip to content
Snippets Groups Projects
Name Last commit Last update
scripts
zabbix_agentd.conf.d
Readme.md
sudoers

Compile radvd_adv_count

g++ -Wall scripts/compile_to_radvd_adv_count.cpp -o scripts/radvd_adv_count

mkdir /etc/zabbix/scripts && cp scripts/* /etc/zabbix/scripts/

cp sudoers /etc/sudoers.d/zabbix

cp zabbix_agentd.conf.d/userparameter.conf /etc/zabbix/zabbix_agentd.conf.d/userparameter.conf

Bitte DEIN_GATEWAY_NAME mit dem Namen deines Gateways ersetzen

sed -i 's/Server=127.0.0.1/Server=zabbix.itstall.de/g' /etc/zabbix/zabbix_agentd.conf

sed -i 's/ServerActive=127.0.0.1/ServerActive=zabbix.itstall.de/g' /etc/zabbix/zabbix_agentd.conf

sed -i 's/Hostname=Zabbix server/Hostname=DEIN_GATEWAY_NAME/g' /etc/zabbix/zabbix_agentd.conf

sed -i 's/Include=/etc/zabbix/zabbix_agentd.conf.d//Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf/g' /etc/zabbix/zabbix_agentd.conf

service zabbix-agent restart