Installing the Universal Sensor
Use one command to install the Universal Sensor. Each operating system has a different command. The SenseOn platform makes the command for your tenant. The command contains your installer key. When you run the command, the installer automatically downloads and installs the latest published version of the Universal Sensor.
Do not run the install command on a device that must stay on the legacy agent (version 6 or earlier). This page installs version 7.0 and later. Use version 7.0 and later for new deployments. If a device already runs the legacy agent, the install command replaces that agent with version 7.0. The command does not repair the legacy agent. To rebuild a device that must stay on the legacy agent, refer to Installing the legacy agent. If you do not know which generation a device runs, refer to Troubleshooting: Is the bootstrapper installed?.
Where to find your install command: Log in to SenseOn with a Manager or Admin account. Go to Settings > Universal Sensor. The page shows a command for each supported operating system. Each command is ready to copy and already contains the installer key of your tenant.
If you rotate the installer key, update each stored copy of the key. When you rotate the installer key from Settings > Universal Sensor, the previous key immediately becomes invalid. Each install that still uses the old key then stops with an error. Update the key in each other location that stores it. These locations include MDM tools such as Kandji, Intune, or Jamf, and all deployment scripts. Automated and scripted installs then continue to use a valid key. After you rotate the key, copy the current command from Settings > Universal Sensor. Use that command to update the stored copies.
What the Install Command Does
The command does these steps on the endpoint:
- The command downloads the install script (
install.shorinstall.ps1) from the SenseOn domain of your tenant. - The command makes sure that the
SENSEON_INSTALLER_KEYenvironment variable is present. - The command finds the correct package for the operating system and architecture of the host.
- The command downloads and installs the bootstrapper.
- The bootstrapper then downloads and installs the latest published version of the Universal Sensor. This usually occurs in approximately ten minutes. At that time, the Seed Service starts and the host registers in Assets > Devices. This does not occur when the install command finishes.
Do not run the install command again on a Windows host that has the SenseOn bootstrapper. The command does not register the agent again, and it can stop with an error. To install SenseOn again on a Windows host, first uninstall SenseOn (refer to 'Uninstalling SenseOn'). Then run the install command.
Version management: The install command always installs the latest published Universal Sensor version. To pin or change the version that a device runs after installation, use Settings > Device Configuration.
Ubuntu / Debian
Requires: Ubuntu 18.04 or later, or Debian-based distribution with apt.
Copy the command from Settings > Universal Sensor. Run the command on the target host. The command has this structure:
curl -fsSL https://<your-tenant>.senseon.io/install.sh \
| sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash
The platform shows a SHA-256 checksum next to the command. If your security policy makes a checksum check necessary before you run remote scripts, download the script first. Then do a check of the checksum. Then run the script:
curl -fsSL https://<your-tenant>.senseon.io/install.sh -o install.sh
sha256sum install.sh # compare against the value shown in Settings > Universal Sensor
sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash install.sh
Red Hat / CentOS
Requires: CentOS 7 or later, RHEL 7 or later, or another RPM-based distribution.
The command is the same as the Ubuntu / Debian command. install.sh detects the package manager and automatically uses rpm:
curl -fsSL https://<your-tenant>.senseon.io/install.sh \
| sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash
The platform shows a SHA-256 checksum next to the command. If your security policy makes a checksum check necessary before you run remote scripts, download the script first. Then do a check of the checksum. Then run the script:
curl -fsSL https://<your-tenant>.senseon.io/install.sh -o install.sh
sha256sum install.sh # compare against the value shown in Settings > Universal Sensor
sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash install.sh
macOS
Requires: macOS Catalina (10.15) or later. Apple Silicon (M1 or later) is supported.
curl -fsSL https://<your-tenant>.senseon.io/install.sh \
| sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash
The platform shows a SHA-256 checksum next to the command. If your security policy makes a checksum check necessary before you run remote scripts, download the script first. Then do a check of the checksum. Then run the script:
curl -fsSL https://<your-tenant>.senseon.io/install.sh -o install.sh
shasum -a 256 install.sh # compare against the value shown in Settings > Universal Sensor
sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash install.sh
After installation, give Full Disk Access to the SenseOn agent:
- Open System Settings > Privacy & Security.
- Scroll to Full Disk Access.
- Select Full Disk Access.
- Set the toggle for
senseon-see.appto on. - Enter your password.
- Restart the agent:
sudo seectl stop && sudo seectl start.
Windows
Requires: Windows 8.1 or later, Windows Server 2012 R2 or later.
Run the command in an elevated PowerShell terminal. The install script must have administrator privileges. If you run the script in a standard session, the script stops with an error.
To open an elevated PowerShell terminal:
- Open
Start. - Search for
PowerShell. - Right-click
PowerShell. - Select Run as administrator.
Run the command:
$env:SENSEON_INSTALLER_KEY="<your-installer-key>"; `
iwr -useb https://<your-tenant>.senseon.io/install.ps1 | iex
The platform shows a SHA-256 checksum next to the command. If your security policy makes a checksum check necessary before you run remote scripts, download the script first. Then do a check of the checksum. Then run the script:
# Step 1: Download the script
Invoke-WebRequest -UseBasicParsing -Uri "https://<your-tenant>.senseon.io/install.ps1" -OutFile install.ps1
# Step 2: Verify the checksum (compare against the value shown in Settings > Universal Sensor)
Get-FileHash install.ps1 -Algorithm SHA256
# Step 3: Run the script
$env:SENSEON_INSTALLER_KEY="<your-installer-key>"
powershell.exe -ExecutionPolicy Bypass -File install.ps1
For a remote / unattended install through your software management tool, put the command in a script. Then configure your MDM to run the script with administrator privileges. For the instructions for each tool, refer to the Automated Deployment guides. If you use Active Directory and do not have an endpoint management tool, refer to Deployment with Group Policy (GPO).
If the install does not work, refer to Troubleshooting: Running the Install Script in Verbose Mode. That section gives the steps to get diagnostic output.
Installing Through or Around a Proxy
By default, the install script uses the system or environment proxy settings of the host. The first contact of the bootstrapper with the platform also uses these settings. If you do not want this on a host, you can give one of two options to the install script. You cannot use the two options together:
Linux / macOS (install.sh) |
Windows (install.ps1) |
Effect |
|---|---|---|
--proxy host:port |
-Proxy host:port |
The script sends its own install requests through the HTTP CONNECT proxy that you give. The first fetch of the bootstrapper also goes through this proxy. The script saves this proxy as the proxy that the sensor uses while it runs. |
--direct |
-Direct |
The script uses a direct connection and ignores all system or environment proxies. The script also removes a proxy that an earlier install saved. Use this option on on-premises hosts if the configured proxy cannot connect to the appliance. |
Do not use
--proxyand--directtogether. Use only one of the two options. If you give the two options together, the script stops with an error before it makes a network request.
To give an option to the script, download the script. Then run the script with the option at the end of the command. This is the same method as in the checksum-verification examples in the Ubuntu / Debian section:
# Force a direct connection, ignoring any system proxy
curl -fsSL https://<your-tenant>.senseon.io/install.sh -o install.sh
sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash install.sh --direct
# Or route install traffic through a specific proxy
sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash install.sh --proxy proxy.corp.local:3128
You can also add the option to the end of the piped command with bash -s --:
curl -fsSL https://<your-tenant>.senseon.io/install.sh \
| sudo SENSEON_INSTALLER_KEY="<your-installer-key>" bash -s -- --direct
Do these steps in an elevated PowerShell terminal (refer to Windows).
Invoke-WebRequest -UseBasicParsing -Uri "https://<your-tenant>.senseon.io/install.ps1" -OutFile install.ps1
$env:SENSEON_INSTALLER_KEY = "<your-installer-key>"
# Force a direct connection, ignoring any system (WinINET) proxy
powershell.exe -ExecutionPolicy Bypass -File install.ps1 -Direct
# Or route install traffic through a specific proxy
powershell.exe -ExecutionPolicy Bypass -File install.ps1 -Proxy proxy.corp.local:3128
Note: On Universal Sensor 7.0.50 and later, the install writes the
--proxyvalue to theproxy.jsonfile of the sensor. As a result, the sensor continues to use that proxy for all of its traffic while it runs. This traffic includes telemetry and Endpoint Protection updates. An upgrade keeps the file. An uninstall removes the file.
--directdeletes aproxy.jsonfile that an earlier install left. If you run the script with neither option, the script does not change aproxy.jsonfile that exists. To change or remove the proxy that a host uses after installation, edit or delete that file. Refer to Proxy Configuration.
Installing the Legacy Agent (version 6 and earlier)
The legacy agent is the generation before version 7.0. SenseOn continues to support the legacy agent. Devices that already run the legacy agent continue to operate. Use this route only when you rebuild or replace a device that must stay on the legacy agent. For new devices, use the install command at the top of this page. Also use that install command for devices that you move forward one generation.
Do not use the install command on this page to install the legacy agent. Before you start, get two items from SenseOn. The command in Settings > Universal Sensor installs the version 7.0 bootstrapper. The
install.shandinstall.ps1scripts that the command downloads also install the version 7.0 bootstrapper. Contact support@senseon.io for the legacy package for your platform and version. Also ask for the install key file of your tenant. You cannot get these two items from your tenant. The installer key that Settings > Universal Sensor shows is for version 7.0 and later. It is not for this route.
How Legacy Enrolment Works
The legacy agent has no bootstrapper and no install token. The legacy agent enrols from an install key file. The install key file is one base64 string that SenseOn supplies for your tenant. Save the string as a plain text file at the path for your platform:
| Platform | Install key file |
|---|---|
| Windows | C:\Windows\Temp\senseon_install.txt |
| Linux | /tmp/senseon_install.txt |
| macOS | /tmp/senseon_install.txt |
The install key file enrols a device in your tenant, so let only administrators read it. On Linux and macOS, write the key to a new private file and then move it into place as root. This also replaces any earlier file or link at that path:
sudo sh -c 'umask 077; t=$(mktemp /tmp/senseon_key.XXXXXX) && printf %s "<install-key>" > "$t" && mv -f "$t" /tmp/senseon_install.txt'
The package does not read that file. When the senseon-seed service starts, the service reads the file. The service then writes the certificates and the see.flags file that the install key file contains. Then the service deletes the install key file. Until the service finds a valid key, it tries again approximately one time each minute. Each time, the service records in the log that it could not start because it could not find a valid install key.
As a result, you can do the two steps in either sequence. The best route is to write the key file first, because the device then enrols immediately when the service starts. If you install the package without a key file, write the file after the installation. The device then enrols when the service tries again, usually in one minute or less.
Enrolment uses local files only and does not use a network connection. As a result, a device behind a proxy enrols before you configure its proxy. The proxy is important for the continuous connection between the sensor and the platform. The section 'Proxy on a Legacy Device' gives the details.
Installing the Package
First, put the install key file in position. Then install the package. On all three platforms, an administrator or root must do the installation.
The package is SEE-<version>.msi. Run this command in an elevated PowerShell terminal:
msiexec.exe /i C:\path\to\SEE-<version>.msi /quiet /norestart
The MSI installs the senseon-seed and senseon-quarantine services and starts them. The MSI does not accept enrolment properties or proxy properties. As a result, there are no other items to give on the command line.
The package names are senseon-see_<version>_<release>.amd64.deb and senseon-see-<version>-<release>.x86_64.rpm. <release> is a build suffix. Install the file with the name that support gave it. Do not change the file name.
# Ubuntu / Debian
sudo apt install -y ./senseon-see_<version>_<release>.amd64.deb
# RHEL / CentOS
sudo yum install -y ./senseon-see-<version>-<release>.x86_64.rpm
The package creates the senseon-epns user and group. Then the package enables and starts senseon-seed.
The package is senseon-see-<version>-<arch>.pkg. <arch> is x86_64, arm64 or universal.
sudo installer -pkg senseon-see-<version>-<arch>.pkg -target /
The package creates the senseon-epns user and group and loads the io.senseon.endpoint-sensor LaunchDaemon.
After the installation, give Full Disk Access. Refer to the macOS section for the steps.
Proxy on a Legacy Device
A legacy device reads its proxy from the configuration path of the sensor, not from the configuration path of the bootstrapper:
- Windows:
C:\ProgramData\senseon-see\proxy.json - Linux and macOS:
/var/senseon-see/proxy.json
The --proxy and --direct options belong to the version 7.0 install script. These options do not apply to a legacy device. The legacy packages do not accept proxy arguments. First, install the package. Then write proxy.json. Then restart the sensor.
For the file format, refer to Proxy Configuration. proxy_port is a number, not a quoted string.
Note: Version 6.0 added support for
proxy.json. You cannot use this method to configure a device that has a version earlier than 6.0.
After Installing
The host requirements are the same for the two generations. As a result, a separate check is not necessary. Refer to Endpoint Requirements.
Make sure that the services are present and that they run:
- Windows:
senseon-seedandsenseon-quarantinein Services. - Linux:
systemctl status senseon-seed. - macOS:
sudo launchctl list io.senseon.endpoint-sensor. The sensor runs as a system LaunchDaemon. As a result, you must run this command withsudo.
Then make sure that the device registered. Refer to the section 'Verifying the Install'. If the list does not show the device, make sure that the service read and deleted the install key file. Also make sure that see.flags contains data. Refer to Troubleshooting: Check the configuration.
Note: SenseOn controls automatic updates for legacy agents. Your tenant settings do not control these updates. By default, automatic updates are disabled. While automatic updates stay disabled, a device keeps the version that you install on it. The version controls for each segment under Settings > Device Configuration apply to version 7.0 and later only. As a result, you cannot use them to pin a legacy device.
Verifying the Install
After you run the install command:
- Log in to SenseOn.
- Go to Assets > Devices.
- Make sure that the list shows the host with its expected hostname and a recent Last Seen timestamp.
On version 7.0 and later, wait for approximately ten minutes. The install command finishes when the bootstrapper is in position. The bootstrapper then installs the sensor, and the sensor registers the host. A legacy install registers the host immediately when the sensor starts, because there is no bootstrapper step between the two.
If the list does not show the host, refer to Troubleshooting for diagnostics.