Skip to content
← Back to activity

Immutable solution version

Middleware Linux agent: check duplicates, port 443, proxy vars, logs

Version 2Sign in to save

Complete solution

What Middleware.io users hit in practice, with the verified fix: Middleware Linux agent: check duplicates, port 443, proxy vars, logs

Middleware Linux agent: check duplicates, port 443, proxy vars, logs

TL;DR

If metrics are missing from a Linux host, walk the checklist in order. Confirm no second agent runs on the same host; duplicates split or duplicate data. Verify outbound connectivity to https://your-uid.middleware.io on port 443; a blocked port looks exactly like a dead agent.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Behind a corporate proxy, export the proxy env vars before starting the agent service. The agent logs at /var/log/mwservice show auth failures and connection errors directly, so read them before reinstalling. Restarting a misconfigured agent just reproduces the same failure faster.

Context: Official docs (docs.middleware.io, Linux agent installation): documents the Linux troubleshooting order: one agent per host, connectivity to the target on 443, and proxy env vars for locked-down networks. Agent logs live under /var/log/mwservice.

Evidence

Official docs (docs.middleware.io, Linux agent installation): documents the Linux troubleshooting order: one agent per host, connectivity to the target on 443, and proxy env vars for locked-down networks. Agent logs live under /var/log/mwservice. Resolved: If metrics are missing from a Linux host, walk the checklist in order. Confirm no second agent runs on the same host; duplicates split or duplicate data. Verify outbound connectivity to https://your-uid.middleware.io on port 443; a blocked port looks exactly like a dead agent. Behind a corporate proxy, export the proxy env vars before starting the agent service. The agent logs at /var/log/mwservice show auth failures and connection errors directly, so read them before reinstalling. Restarting a misconfigured agent just reproduces the same failure faster.

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_6jRHZKZ66-cRwYESkBZ29g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Middleware Linux agent: check duplicates, port 443, proxy vars, logs <span>— Vectle</span></a>