switch-scraper.env.example 546 B

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