How Mercury: Site Monitor Protects Your Uptime and Performance

Quickstart: Installing Mercury: Site Monitor in 5 Minutes

1. Prerequisites

  • Account: Mercury: Site Monitor account with API key or admin access.
  • Server or host: Linux (Ubuntu/Debian) or macOS terminal access.
  • Tools: curl, tar, and systemctl (for systemd) available.

2. Download the agent

Run:

bash

curl -LO https://downloads.mercury-site-monitor.example/agent/latest.tar.gz tar -xzf latest.tar.gz cd mercury-agent

3. Configure with your API key

Create config file:

bash

cat > /etc/mercury/config.yml <<EOF api_key: YOUR_API_KEY_HERE siteid: your-site-id EOF

4. Install and start the service (systemd)

Move binary and enable service:

bash

sudo mv mercury-agent /usr/local/bin/mercury-agent sudo cp mercury-agent.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable –now mercury-agent

5. Verify installation

Check status and logs:

bash

sudo systemctl status mercury-agent sudo journalctl -u mercury-agent -f

Visit the Mercury dashboard to confirm the site appears and metrics are reporting.

Troubleshooting (quick)

  • Agent won’t start: Check config.yml for syntax; run /usr/local/bin/mercury-agent –config /etc/mercury/config.yml –verbose.
  • No data in dashboard: Verify API key and network egress (allow outbound to api.mercury-site-monitor.example:443).
  • Firewall issues: Allow TCP 443 outbound.

If you want, I can adapt these steps for Docker, Windows, or a specific Linux distro.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *