- # switch-scraper.env — configuración del pusher externo de switches
- # gestionados (deploy/switch-scraper.sh). Copiar a
- # /opt/netpulse/switch-scraper.env con permisos 600 (root).
- # El timer systemd debe casar su OnUnitActiveSec con INTERVAL.
- # Switch a scrapear (web UI http)
- SWITCH_HOST="192.168.1.6"
- SWITCH_USER="admin"
- SWITCH_PASS="cambia-esta-clave"
- # Identidad ante NetPulse (token en /opt/netpulse/<slug>.token)
- AGENT_SLUG="switch16"
- # Servidor NetPulse y cadencia de push (segundos)
- NETPULSE_URL="http://127.0.0.1:3000"
- INTERVAL=300
|