MantisOps · Installation Guide
Installing a Network Probe
The network probe is the component you install once per site to discover, scan and monitor the devices on that network, with no agent on each device. This guide covers installing it, enrolling it, keeping it updated and removing it.
Overview
One probe serves two products at once:
- Mantis360: network discovery, port and vulnerability scanning, and the other scan jobs you run from the Mantis360 console.
- MantisNMS: the monitoring collector that polls your sensors (SNMP, ping, HTTP and so on) and receives syslog, traps and flows.
The probe runs as a service and connects outbound to MantisOps. It registers under the host's machine name the first time it connects, then shows up in the Customer Portal (Agents & Probes → Deployed devices), in Mantis360 (Settings → Admin → Probes & Updates) and in MantisNMS (Manage → Probes).
Requirements
| Item | Requirement |
|---|---|
| Operating system | 64-bit (x64) Windows 10, Windows 11 or Windows Server 2016 or later; or Linux on x86-64 or ARM64 with systemd |
| Permissions | An elevated PowerShell (Windows) or root (Linux) to install |
| Placement | An always-on host (a small VM or spare server is fine) inside the network you want to cover, able to reach the devices you'll scan or monitor |
| Outbound access | HTTPS (TCP 443) to api.360.mantisops.net (the probe's connection, downloads and updates) and to api.nms.mantisops.net (MantisNMS monitoring; if that host is blocked, the probe falls back to sending through api.360.mantisops.net) |
| Inbound access | None from the internet. If you use syslog, SNMP traps or flow collection, your devices send those to the probe; see the MantisNMS guide. |
The probe's main connection is a long-lived WebSocket over port 443. If a proxy or TLS-inspecting firewall sits in the way, exempt these hosts from inspection and allow WebSocket upgrades.
Npcap (Windows, optional)
Windows probes don't need Npcap or any other driver. Without it, port scans use TCP connect scanning. If Npcap is already installed on the probe host, the probe detects it and uses faster SYN scanning instead. The probe never installs Npcap itself. Linux probes use SYN scanning where the system allows it.
Probe Enrollment Code
Probes enroll with the Probe installs enrollment code. The probe install commands in the Customer Portal (Agents & Probes → Network Probe), in Mantis360 (Settings → Admin → Sites → select a site → Probes → Show Install Instructions) and in MantisNMS (Manage → Probes → + Install a probe) already contain it. Account admins and owners can reveal and copy it; see Enrollment Codes for who can see codes and how to rotate or revoke them.
- A probe installed with an enrollment code is approved automatically, in both Mantis360 and MantisNMS. There's no approval queue.
- The probe keeps its code in
config.jsonfor good. The probe code can only enroll probes, so a code copied from a probe host can't be used to install agents. - Your account's default code also works for probes, but use the probe code: it's the one that can't install agents if it's ever copied from a probe host.
- Rotating or revoking the code doesn't disconnect probes that are already installed; it only stops new installs.
- For a probe that belongs to one company, use Portal → Companies → Install → 360 Probe. That command uses the company's probe code, so the probe is tied to that company when it first connects.
In the commands below, replace <YOUR-PROBE-ENROLLMENT-CODE> with your probe code, or copy the ready-made command from the Portal.
Install on Windows
WindowsOpen PowerShell as Administrator on the probe host and run:
This downloads the signed probe to C:\Program Files\MantisOps\Probe\mantisprobe.exe, writes its config.json, and registers the Windows service MantisProbe ("Mantis Unified Probe"), set to start automatically. The configuration files are locked to SYSTEM and Administrators.
Success looks like:
The probe appears in your probe lists within about a minute.
Prefer to do it by hand? Download https://api.360.mantisops.net/probe/download/mantis-probe-setup.exe, save it as mantisprobe.exe, put a config.json next to it (as in the command above) and run mantisprobe.exe install from an elevated prompt. The install step copies the probe and its config.json to C:\Program Files\MantisOps\Probe.
Install on Linux
LinuxRun as root (for example after sudo -i). The first line picks the amd64 or arm64 build automatically.
This installs the probe to /usr/local/bin/mantis-probe, its configuration to /etc/mantis-probe/config.json, and a systemd service mantis-probe that starts at boot and restarts if it stops. Check it with:
install and uninstall commands are Windows-only.config.json
The probe reads config.json from its own folder, or from the path in the MANTIS_CONFIG environment variable (the Linux service sets this to /etc/mantis-probe/config.json). Only serverUrl and token are required; the probe fills in the rest.
| Field | Meaning |
|---|---|
serverUrl | Required. wss://api.360.mantisops.net for both Mantis360 and MantisNMS. |
token | Required. Your probe enrollment code. (Probes installed before October 1, 2026 may still have your tenant ID here; they keep working, but a new probe with a tenant ID is refused.) |
probeId | The probe's own ID. Generated by the probe on first start and saved here, so the probe keeps its identity across restarts and renames. Don't edit it or copy it to another probe. |
hostname | Optional. The name the probe reports. Defaults to the machine name. |
log, logLevel | Optional. "log": true turns on verbose logging, and "logLevel": "debug" adds the most detail. Errors are always logged. |
nmsSecret | Written by the probe. Its own MantisNMS collector key, issued once the probe is trusted. |
The probe's device key is kept separately in identity.json, in the same folder as config.json. Both files hold credentials and are restricted to SYSTEM and Administrators (Windows) or root (Linux). Restart the probe service after editing config.json.
Multiple Probes & Sites
- Install one probe per site, or per routed network segment it can't reach from elsewhere. A probe can scan and poll everything it can reach on its network.
- Each probe registers separately under its host's name. Use the same command at every site; for per-company probes, use each company's command from Portal → Companies → Install.
- In Mantis360, assign probes to sites under Settings → Admin → Sites → select the site → Probes → Assign Existing. In MantisNMS, assign a probe to a site or company to give it that site's default SNMP credentials, and you can set a probe as an HA standby for another: it takes over the primary's sensors if the primary stops checking in.
Approval for Legacy Tenant-ID Probes
Probes installed with an enrollment code don't need approval. Since October 1, 2026 a new probe that uses your tenant ID as its token is refused. A probe that registered with the tenant ID before then and hasn't been approved shows Waiting for approval. It stays connected but receives no scan or deployment jobs, sensors or saved credentials until an admin approves it.
Approve (or reject) it in:
- Customer Portal → Agents & Probes → Deployed devices, Identity column (account admins and owners), or Mantis360 → Settings → Admin → Probes & Updates, for Mantis360 scanning;
- MantisNMS → Probes, for MantisNMS monitoring. MantisNMS approves its collector separately.
Approve only probes you or your team installed, and reject any you don't recognize: an approved probe receives the credentials its jobs use. To avoid approvals altogether, reinstall with the probe enrollment code. New tenant-ID probe installs have been refused since October 1, 2026; probes that are already installed aren't affected.
Updates
- Windows probes update themselves. The service regularly checks for the probe version MantisOps has published, waits until no jobs are running, then installs it and restarts, so an update never cuts a scan short. Auto-update is on by default and can be turned off per probe in Portal → Agents & Probes → Deployed devices (Auto-update column).
- Any probe, including Linux, can be updated on demand: Update next to the probe in the Portal's Deployed devices, or Update all in MantisNMS → Probes when probes are out of date.
- The probe installs signed releases only. It checks each release's signed manifest against MantisOps signing keys built into the probe, and the downloaded file against the manifest, before replacing anything. Unsigned or mismatched files are refused.
Reinstall & Uninstall
Reinstalling
- Windows: remove the service first, then run the install command again. Without this step,
installstops withservice "MantisProbe" already exists — run 'uninstall' first.& "C:\Program Files\MantisOps\Probe\mantisprobe.exe" uninstall - Linux: stop the service (
systemctl stop mantis-probe), then run the install command again. - The install command writes a fresh
config.json, so a reinstalled probe registers as a new probe with a new ID: approved at once with an enrollment code (a reinstall that uses the tenant ID is refused). The old entry stops checking in; delete it from your probe list once the new one is online.
Uninstalling
- From the console: Portal → Agents & Probes → Deployed devices → Uninstall on the probe. This stops and removes the probe service and deletes the probe record. If the host is offline, the uninstall runs when it reconnects. The old install can't register again; a fresh install can.
- On Windows: run the
uninstallcommand above from an elevated PowerShell. It stops and removes the service. - On Linux:
systemctl disable --now mantis-probe, delete/etc/systemd/system/mantis-probe.service, then runsystemctl daemon-reload.
Uninstalling removes the service, not the files. To remove everything, delete C:\Program Files\MantisOps\Probe on Windows, or /usr/local/bin/mantis-probe, /usr/local/bin/probe-debug.log* and /etc/mantis-probe on Linux. Delete in the Portal only removes the record: a probe that is still running registers again.
Device Key and Reset Key
Like the agent, each probe gets its own secret key automatically after it has been connected steadily for about 10 minutes (an unapproved probe gets none until it's approved). From then on, a connection as that probe must present the key. The probe list shows Secured, Key pending, Not yet secured or Key mismatch, as described in the agent guide.
Key mismatch means a connection as this probe was refused because it didn't have the key, for example after the host was restored from a backup or image, or its identity.json was lost. If you know why, click Reset key: in the Portal (Deployed devices, Identity column) or on the probe in Mantis360. The probe gets a new key once it reconnects. If you don't know why it happened, check the host first.
MantisNMS keeps a separate collector key for each probe. If MantisNMS → Probes shows a key warning on a probe that was reinstalled or had its configuration reset, use Reset key there. If a probe moves to a new network (new office, ISP or connection), MantisNMS shows New network — credentials withheld: its sensors keep running, but device credentials are held back until you click Trust this network.
Troubleshooting
| Symptom or message | Cause | Fix |
|---|---|---|
service "MantisProbe" already exists — run 'uninstall' first | The probe is already installed on this Windows host. | Run mantisprobe.exe uninstall, then install again (see Reinstalling). |
usage: … [install|uninstall|notice] | An unknown option was used, for example --install. | The commands are install and uninstall, with no dashes. |
service install is Windows-only | install was run on Linux. | Use the Linux command, which creates the systemd service. |
serverUrl and token required in … | config.json is missing a field, or the probe is reading a different file. | Check config.json (and MANTIS_CONFIG on Linux). |
| The probe never appears, and the log shows the code was refused (revoked, expired, isn't valid) | The code in config.json is wrong or no longer active. | Copy the current probe command from the Portal and reinstall. |
The log shows this probe was uninstalled from the tenant, so this install is no longer accepted — reinstall the probe to register it again | The probe was uninstalled from the console, but this copy is still running. | Reinstall it (a fresh install registers as a new probe), or remove it. |
The probe never appears, and the log shows New installs need an enrollment code | config.json uses your tenant ID as the token. New probes can't register that way since October 1, 2026. | Copy the current probe command from the Portal (it contains the probe code) and reinstall. |
| Waiting for approval | Installed with the tenant ID before October 1, 2026, and not approved yet. | Approve it, or reinstall with the probe code. See Approval. |
| Key mismatch | The host was restored or lost its identity.json, or something else is connecting as the probe. | See Device Key. |
| Online, but no scan results or no NMS data | The probe can't reach the target devices, isn't approved, or (NMS) is on a new network with credentials withheld. | Check routing and firewalls between the probe and the devices, approval status, and MantisNMS → Probes. |
| Offline or keeps reconnecting | Outbound 443 or WebSocket traffic is blocked or inspected. | Allow the hosts in Requirements and exempt them from TLS inspection. |
Logs
The probe writes probe-debug.log next to its program file. It rotates at 10 MB, keeping one older copy as probe-debug.log.1. Set "log": true (and "logLevel": "debug") in config.json for more detail, then restart the service.
| Platform | Log | Service check |
|---|---|---|
| Windows | C:\Program Files\MantisOps\Probe\probe-debug.log | Get-Service MantisProbe |
| Linux | /usr/local/bin/probe-debug.log | systemctl status mantis-probe |
Submit a support ticket via our support page or email support@mantisops.net. Include the probe's name and the last lines of probe-debug.log. We respond within one business day.