Zabbix instalación de acogida

Instalación Zabbix-agente

[Root @ tz ~] # yum -y instalar Zabbix-agente

Configuración de zabbix-agente

Primera copia de seguridad del archivo de configuración original

[root @ tz ~] # cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf.bak 
[root @ tz ~] # vim /etc/zabbix/zabbix_agentd.conf

Modificar el archivo de configuración

Donde nombre de host dirección zabbix.server dirección IP, las máquinas basadas en host

PidFile = / var / run / zabbix / zabbix_agentd.pid 
Archivo_registro = / var / log / zabbix / zabbix_agentd. registro 
LogFileSize = 0 
servidor = 192.168.1.200 
ServerActive = 192.168.1.200 
nombre de host = mysql 
Incluir = / etc / Zabbix / zabbix_agentd.d /*.conf

Start-agente Zabbix

[root @ MySQL ~] # systemctl empezar Zabbix-agent.service 
[root @ MySQL ~] # systemctl permiten Zabbix-agent.service 
[root @ MySQL ~] # netstat -lntup | grep 10050 
tcp 0 0 0.0 0.0.0.0:10050 .0.0: * LISTEN 8473 / zabbix_agentd 
tcp6 0 0 10050 ::: ::: * LISTEN 8473 / zabbix_agentd

Supongo que te gusta

Origin www.cnblogs.com/tz90/p/12499594.html
Recomendado
Clasificación