Install zabbix UBUNTU 18

add-apt-repository universe

apt install zabbix-agent

cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf.ori

vim /etc/zabbix/zabbix_agentd.conf

PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/exploit/logs/zabbix_agentd.log
LogFileSize=100
Server=CCO_PRD_ZABBIX_1.ft.grp
ServerActive=127.0.0.1
Hostname=dcdsrv0031
Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf
UserParameter=zab_mem_free,/exploit/scripts/zab_mem_free.sh
UserParameter=zab_proc_mem[*],/exploit/scripts/zab_proc_mem.sh $1
UserParameter=zab_proc_cpu[*],/exploit/scripts/zab_proc_cpu.sh $1
UserParameter=zab_test_port[*],/exploit/scripts/zab_test_port.sh $1 $2

cd /exploit/scripts

scp root@vsch1.ft.grp:/exploit/scripts/zab_*.sh .

service zabbix-agent start

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *