debian:zabbix_agent

Розбіжності

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

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

Порівняння попередніх версій Попередня ревізія
Наступна ревізія
Попередня ревізія
debian:zabbix_agent [18/12/2024 13:15] Methoddebian:zabbix_agent [19/12/2024 09:48] (поточний) 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 
  
 +  cat <<EOF > /etc/zabbix/zabbix_agentd.d/agent.conf
   Server=zbx.example.com   Server=zbx.example.com
   ServerActive=172.16.0.21   ServerActive=172.16.0.21
   Hostname=zbx.example.com   Hostname=zbx.example.com
 +  EOF
  
   systemctl restart zabbix-agent   systemctl restart zabbix-agent
  
  
  • debian/zabbix_agent.1734527743.txt.gz
  • Востаннє змінено: 18/12/2024 13:15
  • повз Method