Getting started - macOS

On this page
  1. Prerequisites
  2. Install
  3. Permissions
  4. Sync config and run a test
  5. launchd background agent
  6. Verify

Install the NP4th Mac agent, grant required permissions, sync org config, and confirm background probes via launchd.

Prerequisites

Install

  1. Obtain the macOS package for your organization.
  2. Install NP4th.app to /Applications.
  3. Launch NP4th. If the package was not pre-baked, enter your tenant slug and agent key (from Settings → Agent keys).
Tip

Admins can bake tenantSlug and clientKey into the distributed package the same way Windows ZIPs ship client-config.json.

Permissions

Grant when prompted:

If ping (ICMP) is restricted by the OS, TCP and TLS checks still run. See Troubleshooting.

Sync config and run a test

  1. Click Update config to pull the latest targets, service packs, and Test interval from the server.
  2. Choose Run full test or Run selected.
  3. Confirm the run appears under Runs & map on the dashboard.
Dashboard runs
After a Mac run uploads, expand the machine name under Test runs.

launchd background agent

Background probes use launchd with NP4th --agent (headless):

  1. Copy packaging/com.didurlabs.np4th.plist into ~/Library/LaunchAgents/ (edit paths and StartInterval as needed).
  2. Ensure client-config.json sits next to the binary with apiBaseUrl, tenantSlug, and clientKey.
  3. Load: launchctl load ~/Library/LaunchAgents/com.didurlabs.np4th.plist

The agent syncs config on an interval, uploads scheduled runs, and honors dashboard Run now commands.

Device identity uses the Mac hardware UUID (IOPlatformUUID), so reinstalls on the same Mac keep the same agent record when the key remains valid.

Verify

  1. On the dashboard, open Installed agents and confirm the Mac shows as online (heartbeat or run upload within about 15 minutes).
  2. Open Runs & map, expand the computer, and inspect per-target results.
  3. If the agent is missing, confirm launchd is loaded and the agent key is enabled.