Sensor Installation Summary
The overall installation procedure for a sensor image downloaded from the Stellar Cyber DP in the System | Deployment | Sensor Installation page is very similar regardless of the sensor type and target environment. The overarching steps are as follows:
-
Download the installation file(s) for your sensor type and environment in the Download Image tab.
-
Install the image using the installation instructions for your sensor type and environment.
-
Copy the token to be used for the authorization and configuration of the sensor from the Tokens tab. You can copy it either as a string or a file, depending on how you want to apply the token.
-
Apply the token to the installed sensor from the sensor CLI with the
set token
command using one of the options in the table below:You only need to use one of the options in the table below. These are just different ways to do the same thing – apply the token.
Option 1. Copy and Paste the Token String
Copy the token string from the Tokens tab and paste it into the CLI command. The syntax is as follows:
set token string <pasted string>
Option 2. Upload the Token as a File to the Sensor
Download the token as a file from the Tokens tab, upload it to the sensor, and reference it in the
set token
command. The syntax is as follows:set token file <path to local file>
For example, the following command points to the
token.text
file stored in the/tmp
folder:set token file /tmp/token.text
This technique only works for Server Sensors. There isn't a way to upload the token.text file to a newly installed modular sensor virtual machine.
Option 3. Host the Token on an HTTP Server
Download the token as a file from the Tokens tab, upload it to an HTTP server, and reference it in the
set token
command. The syntax is as follows:set token url http://<url to token>
You can also use an HTTPS server. In that case, the specified URL must also include the username and password for the server.
-
The CLI reports that the Sensor token is successfully set.
If you receive an error message instead, it's possible that the token has expired. Refer to the Tokens tab to see the expiration date. If you are using the File technique, it's also possible that an extra space or line may have crept into your text file – check the file to make sure it includes only the token text.
-
Wait a minute or so. Then, verify that the token was successfully applied using any combination of the following techniques:
-
Check the System | Sensors tab in the user interface to see that the sensor has registered itself successfully.
-
Verify that the
show system
command shows all services as running. -
Verify that the
show receiver
command displays a receiver. -
Verify that the
show json
command reports some data sent in theBYTE_SENT
column.
-
Refer to the installation topic specific to your sensor type and target environment for details.
Using Photon (Hardware) Sensors
You can also use Photon (hardware) sensors from Stellar Cyber with the cloud-based solution. Refer to PDF Installation Guides for information on installing a physical Photon sensor.