Server Agents & Cookie-Free RUM Reference
Pair external uptime probing with internal Linux host telemetry (CPU, RAM, disk mounts, load average, offline detection) and privacy-first Real User Monitoring (< 2 KB gzipped, zero cookies, p75 Core Web Vitals & Apdex).
Linux Server Agent Architecture
The ImpulseWatch Server Agent is a single static Go binary compiled for linux-amd64 and linux-arm64 with zero runtime dependencies. It runs as an unprivileged impulsewatch-agent systemd user and pushes compact HTTPS JSON snapshots to https://api.impulsewatch.io/v1/agent/metrics—requiring zero inbound firewall ports.
- Supported Distros: Ubuntu, Debian, RHEL, Rocky Linux, AlmaLinux, Amazon Linux, and any systemd-based Linux distribution.
- Collected Metrics: CPU utilization %, memory & swap usage %, per-mount disk usage %, 1m/5m/15m load averages, uptime, and kernel/OS metadata.
- Offline Host Detection: If a host stops reporting for longer than your configured offline threshold (default
90s), the control plane opens an incident automatically.
Installer Flags & SHA-256 Verification
Every install via https://impulsewatch.io/install-agent.sh verifies the downloaded binary against the published SHA-256 checksum before placing it in /usr/local/bin/impulsewatch-agent and writing /etc/impulsewatch-agent/agent.env (mode 0600):
curl -fsSL https://impulsewatch.io/install-agent.sh | sudo IMPULSE_AGENT_TOKEN="iw_agt_your_token_here" bash
curl -fsSL https://impulsewatch.io/install-agent.sh | \
sudo bash -s -- \
--token "iw_agt_your_token_here" \
--endpoint "https://api.impulsewatch.io/v1/agent/metrics" \
--interval 30
| CLI Flag | Environment Variable | Default | Purpose |
|---|---|---|---|
--token | IMPULSE_AGENT_TOKEN | Required | Host bearer token created in Servers → + Add Server. |
--endpoint | IMPULSE_AGENT_ENDPOINT | https://api.impulsewatch.io/v1/agent/metrics | HTTPS metrics ingestion URL. |
--interval | IMPULSE_AGENT_INTERVAL | 30s | Push interval (seconds like 30 or Go duration like 30s). |
| — | IMPULSE_AGENT_MOUNTS | / | Comma-separated mount points to monitor (e.g., /,/var/lib/postgresql). |
Systemd Service & Alert Thresholds
sudo systemctl status impulsewatch-agent
sudo journalctl -u impulsewatch-agent -f --lines=50
sudo systemctl restart impulsewatch-agent
Attach per-host or group-level alert rules in the console and route them into your existing Alert Channels and Escalation Ladders:
- CPU Rule: e.g.
CPU > 90%sustained for 5 minutes. - RAM Rule: e.g.
Memory > 85%sustained for 5 minutes. - Disk Rule: e.g.
Disk > 85%on any watched mount point. - Load & Offline Rules: Alert on sustained load spikes or host heartbeat loss (
Offline > 90s).
Cookie-Free RUM (beacon.min.js)
ImpulseWatch RUM measures real visitor performance with a tiny < 2 KB gzipped script that requires zero cookies, zero localStorage, and zero consent banners:
- GDPR / CCPA / PECR Ready: Visitor IP addresses and raw User-Agent strings are stripped at the Cloudflare Edge before forwarding aggregated telemetry to the control plane.
- Origin Allowlist & Payload Guard: Every
POST /v1/rumbeacon is validated against your site's configuredallowed_originsand capped at 16 KB. - Non-Blocking Delivery: Uses
navigator.sendBeacon(withfetch keepalivefallback) so telemetry never delays page navigation or unload.
<script defer
src="https://cdn.impulsewatch.io/rum/beacon.min.js"
data-site="your-site-key"
data-endpoint="https://your-org-slug.telemetry.impulsewatch.io/v1/rum"
data-sample-rate="1.0"></script>
p75 Core Web Vitals, Apdex, Sampling & JS Errors
- LCP (Largest Contentful Paint): Good ≤ 2.5s · Needs Improvement ≤ 4.0s · Poor > 4.0s (evaluated at p75).
- INP (Interaction to Next Paint): Good ≤ 200ms · Needs Improvement ≤ 500ms · Poor > 500ms (evaluated at p75).
- CLS (Cumulative Layout Shift): Good ≤ 0.10 · Needs Improvement ≤ 0.25 · Poor > 0.25 (evaluated at p75).
- TTFB & Apdex: Measures Time to First Byte and calculates a
0.00–1.00Apdex satisfaction score segmented by route, browser family, OS, and country. - Sampling & JS Error Capture: Configure client-side sampling rates (
0.01–1.0) for high-traffic sites and capture unhandled JavaScript exceptions & promise rejections with source URL and stack summary.
Follow the hands-on Linux Agent & Cookie-Free RUM Tutorial for a step-by-step installation and verification checklist.