N-central Help

Perform a Mac agent silent install

As an alternate installation option for Mac OS agent installs, you can install the agent from a probe. You need to change configuration options on the Mac device to enable this install to occur.

You need a universal administrative account on every OS X device to facilitate agent installation. It is recommended that you create at minimum one account for your workstations and a separate account for servers.

For further information, see Install a Mac agent.

You need a device's agent activation key to install the agent software. Activation keys are located on the All Devices view. To copy the agent activation key, hover your mouse over the key icon and copy.

The MacOS agent supports the following operating systems:

  • 10.14 (Mojave)
  • 10.13 (High Sierra)
  • 10.12 (Sierra)
  • 10.11 (El Capitan)
  • 10.10 (Yosemite)
  • 10.9 (Mavericks)

Enable remote login on the Mac device.

Enabling remote login allows the probe to access the device to perform the install.

  1. Click the Apple MenuSystem PreferencesSharing.
  2. Click the check box for Remote Management.
  3. Select either all users or a specific administrative account.
  4. Click Computer Settings and select the options required.

Temporarily allow applications downloaded from anywhere in GateKeeper.

The GateKeeper in macOS ensures that only trusted software can be installed and run on a Mac. SolarWinds N-central agents are built on the N-central Server during the SolarWinds N-central install or upgrade and the agent is not signed by an identified developer's certificate from Apple. Because the agent is not downloaded from the App Store, the GateKeeper can block the installation of this software.

Verify that the Mac device has the permissions to download and install the agent software.

  1. Click the Apple MenuSystem PreferencesSecurity & Privacy.
  2. In the Allow apps downloaded from area, ensure App Store and identified developers is selected.

Once the agent install is complete, change this setting back to App Store.

Configure the discovery job

Configure your Discovery Job with the credentials for all the Mac OSX devices you want to install the agent on. Ensure you add the Workstation - OSX class to the Import and Install Agent lists on the Auto Import tab.

Once Remote Login is enabled on a Mac OSX device, you can use the SSH object in an Automation Policy to remotely disable and enable GateKeeper. For more information see the article How to Disable Gatekeeper from Command Line in Mac OS X.

Use these setup steps as the referenced Install Available Mac Updates automation policy script, replacing Softwareupdate -i -a with the required commands to disable/enable GateKeeper.