Install the Linux Server Agent & Cookie-Free RUM Beacon
Combine backend host visibility (CPU, RAM, disk mounts, load, offline detection) with real-visitor frontend telemetry (LCP, INP, CLS, TTFB, Apdex) without adding cookies or consent banners.
1. Generate a Host Agent Token
-
Create a Server Entry
In the ImpulseWatch Console, open Servers → + Add Server, give the host a descriptive name (e.g.,
prod-api-dfw-01), and copy the generated one-timeiw_agt_*bearer token.
2. Run the SHA-256 Verified Linux Installer
SSH into your Ubuntu, Debian, RHEL, Rocky, AlmaLinux, or Amazon Linux server (amd64 or arm64) and run:
curl -fsSL https://impulsewatch.io/install-agent.sh | sudo IMPULSE_AGENT_TOKEN="iw_agt_your_token_here" bash
# Optional: pass explicit CLI flags for custom interval or staging endpoint
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
Verify the systemd service is active and pushing snapshots:
sudo systemctl status impulsewatch-agent --no-pager
sudo journalctl -u impulsewatch-agent -n 20 --no-pager
3. Configure Host Threshold Alerts
Back in Servers → prod-api-dfw-01 → Alert Rules, set practical production guardrails:
- CPU: Alert if >
90%for 5 minutes. - RAM: Alert if >
85%for 5 minutes. - Disk (
/,/var/lib/postgresql): Alert if >85%. - Offline Host: Alert if no metric snapshot arrives for
90s.
4. Deploy the Cookie-Free RUM Beacon
-
Register Your Frontend Origin
Open RUM → + Add Site, enter your site name and exact allowed origins (e.g.,
https://app.yourdomain.com,https://www.yourdomain.com), and copy yourdata-sitekey. -
Embed the < 2 KB Deferred Script
Add this single deferred script tag inside your HTML
<head>:Cookie-Free RUM Snippet<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"></script>
beacon.min.js sets zero cookies and writes nothing to localStorage. Cloudflare Edge strips visitor IP addresses and raw User-Agent strings before storing aggregated Core Web Vitals.
5. Verify Live Metrics & Core Web Vitals
Within 30 seconds, your Linux host appears as Online with live CPU/RAM/Disk/Load bars under Servers. Load your web app in a browser tab and navigate across two routes—confirm p75 LCP, INP, CLS, TTFB, and Apdex populate under RUM.