Skip to content

Deployment with NinjaOne

This guide tells you how to deploy the SenseOn Universal Sensor to Windows, Linux, and macOS devices with NinjaOne (formerly NinjaRMM).

To deploy SenseOn, NinjaOne runs the SenseOn install command as an Automation (custom script) on the target devices. The automation installs the latest published Universal Sensor on each device on which it runs. On macOS, you must also deploy a Full Disk Access configuration profile. This profile lets the agent read the system events that are necessary.

💡 NinjaOne agent required: Each target device must already have the NinjaOne agent and must be enrolled in your NinjaOne tenant. The SenseOn installation runs through the NinjaOne agent. Thus you cannot target a device that is not enrolled.


Windows

Step 1: Copy your install command

  1. Log in to SenseOn.
  2. Go to Settings > Universal Sensor.
  3. Copy the Windows install command.

Step 2: Create the NinjaOne automation

  1. In NinjaOne, go to Administration > Library > Automation.
  2. Click Add > New Script.
  3. Configure the script:
    • Name: SenseOn Install (Windows)
    • Description: Installs the SenseOn Universal Sensor via the SenseOn install command.
    • Language: PowerShell
    • Operating System: Windows
    • Run As: System
  4. Paste the script that follows into the Script Content area. Replace the tenant hostname and the installer key with your values from Step 1.

    $ErrorActionPreference = "Stop"
    $env:SENSEON_INSTALLER_KEY = "<your-installer-key>"
    Invoke-WebRequest -UseBasicParsing -Uri "https://<your-tenant>.senseon.io/install.ps1" |
        Invoke-Expression
    
  5. Click Save.

🛡 Optional: Verify the install script checksum

If your security policy makes checksum verification mandatory before you run remote scripts, first download the script on your admin workstation. Then compare the SHA-256 checksum of the script with the value shown in Settings > Universal Sensor.

To use the verified script in the NinjaOne automation, replace only the Invoke-WebRequest ... | Invoke-Expression line with the contents of the verified install.ps1. Keep the $ErrorActionPreference and $env:SENSEON_INSTALLER_KEY lines. If the installer-key environment variable is not there, the installer stops with an error.

Step 3: Deploy to Windows devices

You can run the automation on demand. As an alternative, you can attach the automation to a policy. The automation then runs automatically on each device in the scope.

Ad-hoc run:

  1. In NinjaOne, go to Groups or Organizations.
  2. Select your target Windows devices.
  3. Right-click the selection.
  4. Select Run automation.
  5. Select the SenseOn Install (Windows) automation.
  6. Click Run.

With a policy (recommended for larger fleets):

  1. Go to Administration > Policies > Agent Policies.
  2. Open the policy that applies to your Windows devices. This is usually the policy for the Windows workstation role or the server role.
  3. Under Scheduled automations, add the SenseOn Install (Windows) automation.
  4. Set the schedule to Run once. The automation then does not run again at each check-in.
  5. Save the policy.

The target hosts appear in Assets > Devices in a few minutes after the script completes.


Linux

Step 1: Copy your install command

  1. Log in to SenseOn.
  2. Go to Settings > Universal Sensor.
  3. Copy the Linux install command.

Step 2: Create the NinjaOne automation

  1. In NinjaOne, go to Administration > Library > Automation.
  2. Click Add > New Script.
  3. Configure the script:
    • Name: SenseOn Install (Linux)
    • Description: Installs the SenseOn Universal Sensor via the SenseOn install command.
    • Language: Bash / Shell
    • Operating System: Linux
    • Run As: Root
  4. Paste the script that follows into the Script Content area. Replace the tenant hostname and the installer key with your values.

    #!/bin/bash
    set -e
    curl -fsSL https://<your-tenant>.senseon.io/install.sh \
      | SENSEON_INSTALLER_KEY="<your-installer-key>" bash
    
  5. Click Save.

Step 3: Deploy to Linux devices

Ad-hoc run:

  1. In NinjaOne, go to Groups or Organizations.
  2. Select your target Linux devices.
  3. Right-click the selection.
  4. Select Run automation.
  5. Select the SenseOn Install (Linux) automation.
  6. Click Run.

With a policy:

  1. Go to Administration > Policies > Agent Policies.
  2. Open the policy that applies to your Linux devices.
  3. Under Scheduled automations, add the SenseOn Install (Linux) automation.
  4. Set the schedule to run one time.
  5. Save the policy.

The installer detects if the host uses apt or rpm and installs the applicable package. The target hosts appear in Assets > Devices in a few minutes.


macOS

The macOS deployment has two parts:

  1. Push a Full Disk Access configuration profile. This profile lets the SenseOn agent get access to the system events that are necessary.
  2. Run the SenseOn install command as an automation.

You must complete the two steps. If the installation runs before the configuration profile applies, the agent installs. But the agent cannot collect telemetry until it has Full Disk Access.

Step 1: Deploy the Full Disk Access configuration profile

Full Disk Access is necessary for the SenseOn endpoint agent to operate on macOS. NinjaOne can push the SenseOn Full Disk Access configuration profile through its built-in MDM.

💡 MDM enrolment required: Devices must be enrolled in the NinjaOne MDM (or a linked third-party MDM) for configuration profiles to apply. If only the NinjaOne agent manages your macOS devices and there is no MDM enrolment, NinjaOne cannot push the FDA profile automatically. Users then get a prompt to give Full Disk Access manually in System Settings > Privacy & Security > Full Disk Access.

  1. Download the SenseOn Full Disk Access profile: SEE-FDA.mobileconfig.
  2. In NinjaOne, go to Administration > Apps > MDM > Configuration Profiles.
  3. Click Add > Upload Profile.
  4. Give the profile a name, for example SenseOn Full Disk Access.
  5. Upload the SEE-FDA.mobileconfig file.
  6. Set the Scope to the macOS device group or groups to which you want to deploy SenseOn.
  7. Save the profile.
  8. Enable the profile.

Before you continue, make sure that a target device has the profile:

  1. On the macOS device, open System Settings > Privacy & Security > Profiles.
  2. Make sure that SenseOn Full Disk Access is in the list and shows as Verified.

💡 Using a linked MDM instead? If Jamf Pro or Kandji manages your macOS estate, and not NinjaOne MDM, first deploy the configuration profile through that MDM. For the steps to upload the profile in those tools, refer to Deployment with Jamf Pro and Deployment with Kandji. Then come back to this page for the install command step.

Step 2: Copy your install command

  1. Log in to SenseOn.
  2. Go to Settings > Universal Sensor.
  3. Copy the macOS install command.

Step 3: Create the NinjaOne automation

  1. In NinjaOne, go to Administration > Library > Automation.
  2. Click Add > New Script.
  3. Configure the script:
    • Name: SenseOn Install (macOS)
    • Description: Installs the SenseOn Universal Sensor via the SenseOn install command.
    • Language: Bash / Shell
    • Operating System: macOS
    • Run As: Root
  4. Paste the script that follows into the Script Content area. Replace the tenant hostname and the installer key with your values.

    #!/bin/bash
    set -e
    curl -fsSL https://<your-tenant>.senseon.io/install.sh \
      | SENSEON_INSTALLER_KEY="<your-installer-key>" bash
    
  5. Click Save.

Step 4: Deploy to macOS devices

Ad-hoc run:

  1. In NinjaOne, go to Groups or Organizations.
  2. Select your target macOS devices.
  3. Right-click the selection.
  4. Select Run automation.
  5. Select the SenseOn Install (macOS) automation.
  6. Click Run.

With a policy:

  1. Go to Administration > Policies > Agent Policies.
  2. Open the policy that applies to your macOS devices.
  3. Under Scheduled automations, add the SenseOn Install (macOS) automation.
  4. Set the schedule to run one time.
  5. Save the policy.

Verifying deployment

After NinjaOne reports that the automation is complete on a device:

  1. Log in to SenseOn.
  2. Go to Assets > Devices.
  3. Make sure that the device appears with the expected hostname and a recent Last Seen timestamp.

To see the deployment progress for each device in NinjaOne:

  1. Go to Administration > Library > Automation.
  2. Open the automation that you created.
  3. Examine the Run History tab. The tab shows each device with its exit status and any script output.

📝 Note: Devices that did not check in with NinjaOne after you scheduled the automation show as Pending. Devices that ran the script show as Completed with an exit code. The exit code 0 shows success. All other exit codes show a failure.

If a host does not appear in SenseOn, refer to Troubleshooting for diagnostics.


❓ Need help? If the installation was not successful, make sure that TLS interception does not occur. If TLS interception occurs, you must add *.snson.net and *.senseon.io to the allowlist. Then contact our support team for more help.