debian:zabbix_agent

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версій Попередня ревізія
Наступна ревізія
Попередня ревізія
debian:zabbix_agent [2024/12/18 13:15] Methoddebian:zabbix_agent [2025/04/25 12:18] (поточний) Method
Рядок 6: Рядок 6:
   apt -y install zabbix-agent   apt -y install zabbix-agent
  
- +  nft add rule ip filter input ct state new tcp dport 10050 counter accept comment "ZABBIX"
-  # +
-  #ufw allow 10050/tcp +
-  #nft add rule ip filter input ct state new tcp dport 10050 counter accept comment "ZABBIX" +
- +
-  #netsh advfirewall firewall add rule name="Open Zabbix agentd port 10050 inbound" dir=in action=allow protocol=TCP localport=10050 +
-  #netsh advfirewall firewall add rule name="Open Zabbix agentd port 10050 outbound" dir=out action=allow protocol=TCP localport=10050 +
-  #netsh advfirewall firewall add rule name="Open Zabbix trapper port 10051 inbound" dir=in action=allow protocol=TCP localport=10051 +
-  #netsh advfirewall firewall add rule name="Open Zabbix trapper port 10051 outbound" dir=out action=allow protocol=TCP localport=10051 +
  
   systemctl enable zabbix-agent   systemctl enable zabbix-agent
-   
-  nano /etc/zabbix/zabbix_agentd.conf 
  
-  Server=zbx.example.com+  cat <<EOF > /etc/zabbix/zabbix_agentd.d/00_servers.conf 
 +  Server=172.16.0.21
   ServerActive=172.16.0.21   ServerActive=172.16.0.21
   Hostname=zbx.example.com   Hostname=zbx.example.com
 +  EOF
 +  nano /etc/zabbix/zabbix_agentd.d/00_servers.conf
  
   systemctl restart zabbix-agent   systemctl restart zabbix-agent