Authentik is the open-source identity provider teams use to add SSO, OAuth2, and SAML authentication to their self-hosted services. Because Authentik sits in front of every protected application, its availability is a single point of failure for your entire authentication stack: if Authentik goes down, no one can log in to anything. If the outpost TCP port stops responding, forward auth on your reverse proxy fails silently. If the SSL certificate expires, every browser login attempt is blocked by a TLS error. Vigilmon gives you external visibility into Authentik's health metrics endpoint, login redirect, admin API, outpost TCP port, and SSL certificate.
What You'll Build
- A monitor on Authentik's
/api/v3/-/metrics/health endpoint - An HTTP monitor that verifies the login redirect is working
- A monitor for the Authentik admin API
- A TCP monitor for outpost availability (port 9443)
- SSL certificate monitoring for your Authentik domain
Prerequisites
- A running Authentik instance with a public or network-reachable domain
- HTTPS configured (e.g.,
https://auth.example.com) - An Authentik outpost deployed (embedded or standalone)
- A free account at vigilmon.online
Step 1: Verify Authentik's Health Endpoints
Authentik exposes two useful health endpoints. The dedicated readiness endpoint is the cleanest health signal:
curl https://auth.example.com/-/health/ready/
A healthy Authentik returns HTTP 200 when the server is fully initialized and ready to handle authentication requests — database connectivity, worker initialization, and flow loading are all confirmed. If Authentik is starting up or its database is unreachable, this endpoint returns a non-200 status.
curl https://auth.example.com/-/health/live/
The liveness endpoint returns 200 as long as the process is running (regardless of readiness). Use /ready/ as your primary health monitor; use /live/ to distinguish "process is alive but not ready" from "process is completely down."
Authentik also exposes a Prometheus-compatible metrics endpoint:
curl https://auth.example.com/api/v3/-/metrics/
This returns Prometheus-format metrics including worker counts and system state. Use it as a secondary check for deeper worker health visibility.
If your metrics endpoint requires authentication: Use an API token in the
Authorizationheader, or rely on the unauthenticated/ready/endpoint as your primary health signal.
Step 2: Create a Vigilmon HTTP Monitor for the Health Endpoint
- Log in to Vigilmon → Add Monitor → HTTP.
- URL:
https://auth.example.com/-/health/ready/. - Check interval: 60 seconds.
- Response timeout: 15 seconds.
- Expected status:
200. - Click Save.
This monitor catches:
- Authentik server crashes or restarts
- Database connectivity issues (Authentik requires PostgreSQL — not-ready state reflects DB failures)
- Redis connectivity failures (Authentik uses Redis for caching and task queues)
- Startup failures after upgrades or migration errors
Add a secondary monitor on the metrics endpoint for worker health visibility:
- Add Monitor → HTTP.
- URL:
https://auth.example.com/api/v3/-/metrics/. - Check interval: 5 minutes.
- Expected status:
200. - Keyword:
authentik_system. - Label:
Authentik Metrics (Workers). - Click Save.
Step 3: Monitor the Login Redirect
Authentik's root path (/) redirects unauthenticated users to the login flow. This redirect is the first thing users hit when they try to log in — a broken redirect means no one can authenticate, even if the API backend is healthy.
curl -I https://auth.example.com/
Authentik returns HTTP 302 redirecting to /if/flow/default-authentication-flow/ or similar. The exact destination depends on your configured default authentication flow.
- Add Monitor → HTTP.
- URL:
https://auth.example.com/. - Check interval: 60 seconds.
- Expected status:
302. - Label:
Authentik Login Redirect. - Click Save.
Alternative: If you prefer to follow the redirect, set expected status to
200and keyword toauthentik(appears in the login page HTML). This also validates that the flow rendering is working.
When the login redirect monitor fires but the health endpoint is green, you have a routing or flow configuration issue — the backend is alive but the authentication flow isn't being served correctly.
Login flow response time: Authentication latency directly affects user experience — a login page that takes 5 seconds to load drives users to contact IT support. Add a response time alert on this monitor:
- Open the login redirect monitor.
- Go to Advanced → Response Time.
- Set Alert when response time exceeds to
2000ms. - Save.
Slow login flow response is an early indicator of PostgreSQL query latency, Redis cache misses, or CPU pressure from concurrent LDAP/SCIM sync jobs.
Step 4: Monitor the Authentik Admin API
The Authentik REST API powers integrations, SCIM provisioning, and automation. Monitor it independently to catch API-specific failures:
curl https://auth.example.com/api/v3/core/users/me/ \
-H "Authorization: Bearer <your-api-token>"
For a simpler unauthenticated check, use the schema endpoint:
curl https://auth.example.com/api/v3/schema/?format=json
- Add Monitor → HTTP.
- URL:
https://auth.example.com/api/v3/schema/?format=json. - Check interval: 5 minutes.
- Expected status:
200. - Keyword:
openapi. - Label:
Authentik Admin API. - Click Save.
Step 5: Create a TCP Monitor for Outpost Port 9443
Authentik outposts are the components that handle forward auth on your reverse proxy. The embedded outpost exposes port 9443 for HTTPS forward auth. If this port stops responding, all applications using Authentik for authentication will fail their auth checks.
- Add Monitor → TCP.
- Host:
auth.example.com. - Port:
9443. - Check interval: 60 seconds.
- Response timeout: 10 seconds.
- Label:
Authentik Outpost TCP 9443. - Click Save.
When the TCP monitor fires but the metrics endpoint is green, the Authentik server is running but the outpost is down — forward auth will fail across all protected applications while the Authentik UI itself may still appear reachable.
Custom outpost ports: If you've configured the outpost on a different port (e.g.,
9300), update the port accordingly. Check your Authentik outpost configuration under System → Outposts.
Step 6: Monitor SSL Certificates
Authentik's SSL certificate covers every login flow your users go through. Expiry is particularly damaging because:
- All SSO logins fail with TLS certificate errors
- OAuth2 and SAML callbacks fail, breaking third-party integrations
- Every service relying on Authentik for authentication goes down simultaneously
- Add Monitor → SSL Certificate.
- Domain:
auth.example.com. - Alert when expiry is within: 30 days.
- Alert again: 14 days, 7 days, 3 days, 1 day.
- Click Save.
A 30-day warning gives you ample time to renew before impact. If you're using Let's Encrypt via Certbot or a Caddy-managed certificate, the warning means automatic renewal has failed.
Step 7: Configure Alerting
In Vigilmon under Settings → Notifications, configure your alert channels:
| Monitor | Trigger | Action |
|---|---|---|
| /-/health/ready/ | Non-200 | Check Authentik container; inspect PostgreSQL and Redis connectivity |
| Metrics (workers) | Non-200 or keyword missing | Worker process issue; check background task queue; inspect Authentik logs |
| Login redirect | Non-302 (or non-200 if following redirect) | Check authentication flow configuration; review Authentik logs |
| Login flow response time | > 2000ms | Check PostgreSQL latency; inspect Redis; look for concurrent sync jobs |
| Admin API schema | Non-200 or keyword missing | API routing issue; check reverse proxy config |
| Outpost TCP 9443 | Connection refused or timeout | Check outpost container status; review outpost logs |
| SSL certificate | < 30 days to expiry | Renew certificate; check ACME automation or reverse proxy TLS config |
Alert after: 2 consecutive failures for HTTP monitors (the login redirect can occasionally return a different code during flow updates). 1 failure for TCP monitors.
Common Authentik Failure Modes and What Vigilmon Catches
| Scenario | Vigilmon monitor |
|---|---|
| Authentik server crash | Health ready endpoint unreachable; alert within 60 s |
| PostgreSQL goes down | /ready/ returns non-200 (not-ready state); all logins fail |
| Redis goes down | Workers stop; background tasks halt; metrics may still return 200 |
| Outpost container stops | TCP monitor fires; all forward-auth protected apps fail |
| Flow configuration breaks login | Login redirect monitor fires; metrics may stay green |
| SSL certificate expires | SSL monitor alerts at 30 days; all browser logins blocked |
| DNS misconfiguration | All HTTP and SSL monitors fire simultaneously |
| Upgrade migration failure | Metrics endpoint may return 500 during migration |
Authentik is the gatekeeper for your entire self-hosted stack — every application that delegates authentication to it is dependent on its availability. Vigilmon watches the metrics endpoint, login redirect, admin API, outpost TCP port, and SSL certificate so you know the moment Authentik has a problem, before your users discover they can't log in to anything.
Start monitoring Authentik in under 5 minutes — register free at vigilmon.online.