{% extends "base.html" %} {% block title %}Private locations{% endblock %} {% block content %}
Run a tiny agent inside your own network, VPC or another region. It performs the request from there; Vigil evaluates the rules and alerts as usual. {{ rows|length }}/{{ limit }} used.
curl -fsSL {{ base_url }}/vigil-agent.py -o vigil-agent.py
VIGIL_URL={{ base_url }} VIGIL_TOKEN={{ r.a.token }} python3 vigil-agent.py
# Docker
docker run -d --name vigil-agent --restart unless-stopped -e VIGIL_URL={{ base_url }} -e VIGIL_TOKEN={{ r.a.token }} python:3.12-slim \
sh -c "python3 -c \"import urllib.request;open('a.py','wb').write(urllib.request.urlopen('{{ base_url }}/vigil-agent.py').read())\" && python3 a.py"
# systemd (/etc/systemd/system/vigil-agent.service)
[Service]
Environment=VIGIL_URL={{ base_url }} VIGIL_TOKEN={{ r.a.token }}
ExecStart=/usr/bin/python3 /opt/vigil-agent.py
Restart=always
[Install]
WantedBy=multi-user.target
# Kubernetes: a Deployment with the Docker command above; one replica per location.Create one, run the one-line agent where your internal services live, then assign monitors to it from the monitor form ("Check from").