🌐 Reemplaza
<OCS_URL>,<ZBX_SERVER>,<WAPT_URL>con tus endpoints. Instala con usuario admin local/Domain Admin (sin pegar credenciales aquí).
Windows (PowerShell, MSI silencioso):
$msi = "$env:TEMP\OCS-Agent.msi"
Invoke-WebRequest -Uri "<OCS_URL>/download/OCS-Agent.msi" -OutFile $msi
Start-Process msiexec.exe -Wait -ArgumentList "/i `"$msi`" /qn SERVERURL=<OCS_URL> /norestart"
Linux (Deb/Ubuntu):
sudo apt-get update && sudo apt-get install -y ocsinventory-agent
sudo ocsinventory-agent --server <OCS_URL>
Windows (PowerShell):
$zip="$env:TEMP\zabbix.zip"
Invoke-WebRequest -Uri "<ZBX_URL_ZIP>" -OutFile $zip
Expand-Archive $zip -DestinationPath "C:\Zabbix" -Force
& "C:\Zabbix\bin\zabbix_agentd.exe" --install -c "C:\Zabbix\conf\zabbix_agentd.conf"
(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
Start-Service zabbix_agentd
Linux (Deb/Ubuntu):
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 desde Zabbix server:
zabbix_get -s <HOST_IP> -k agent.ping
Windows (PowerShell):
$exe="$env:TEMP\waptsetup.exe"
Invoke-WebRequest -Uri "<WAPT_URL>/waptsetup.exe" -OutFile $exe
Start-Process $exe -ArgumentList "/S /server=<WAPT_URL>" -Wait
Linux:
wget -O /tmp/wapt.deb "<WAPT_URL>/waptclient.deb"
sudo apt install -y /tmp/wapt.deb
Usa esto para tips cortos, comandos, hallazgos. Máx. 10 líneas por nota.
Pon el cursor y arrastra capturas o PDFs pequeños; el wiki (Wasabi S3) los sube y enlaza.
| Fecha | Autor | Tema | Nota / Enlace |
|---|---|---|---|
| 2025-09-13 | {{técnico}} | {{tema}} | Escribe aquí… PDF/imagen opcional |
| — | — | — | — |
Fecha: 2025-MM-DD
Autor: {{técnico}}
Tema: {{breve}}
Nota:
Para mini-procedimientos que aún no merecen su propia página. Si crece, migrarlo a una página dedicada.
Contexto: ¿cuándo usar?
Requisitos previos: …
Pasos: