🔐 Tokens/API y contraseñas: en Vaultwarden. Usa usuarios de solo lectura para clientes.
Windows
$zip="$env:TEMP\zabbix.zip"
Invoke-WebRequest -Uri "<ZBX_URL_ZIP>" -OutFile $zip
Expand-Archive $zip -DestinationPath "C:\Zabbix" -Force
(Get-Content C:\Zabbix\conf\zabbix_agentd.conf) -replace "Server=127.0.0.1","Server=<ZBX_SERVER>" |
Set-Content C:\Zabbix\conf\zabbix_agentd.conf
& "C:\Zabbix\bin\zabbix_agentd.exe" --install
Start-Service zabbix_agentd
Linux
sudo apt-get update && sudo apt-get install -y zabbix-agent
sudo sed -i 's/^Server=.*/Server=<ZBX_SERVER>/' /etc/zabbix/zabbix_agentd.conf
sudo systemctl enable --now zabbix-agent
Prueba
zabbix_get -s <HOST_IP> -k agent.ping
# Revisar queue (atrasos)
zabbix_server -R log_level_increase
# Logs (server/proxy/agent)
journalctl -u zabbix-server -n 200
journalctl -u zabbix-agent -n 200
Runbook
agent.ping).