Agent Auto-registration

Cortex supports the ability to auto-register Agent devices by creating a simple JSON file, which includes your account media owner secret, or MOS (this should be obtained from Vistar). 
Note: This feature is only support on Cortex Agent 2.41.0 and higher.

 

Once you've obtained your media owner secret, please take the following steps:

  1. Download and install the Cortex Agent v2.41.0 or higher
  2. On the device, create a new file named secret.json, and store it in the following directory:
    Linux: ~/.cortex-agent/storage

    Windows: %appdata%\Roaming\Cortex\Agent\storage
  3. The contents of the file should look like the following, replacing MOS with your specific Media Owner Secret:
    {"mediaOwnerSecret": "MOS"}
  4. Run the Agent, which should now automatically register in Cortex Fleet. 
  5. Confirm the registration by checking the below file for a device_id:
    Linux: ~/.cortex-agent/storage/registration.json

    Windows: %appdata%\Roaming\Cortex\Agent\storage\registration.json
  6. You can also confirm the registration by searching for the device_id from step 5 in Cortex Fleet. The name of the Agent will be the MAC address of the registered device.
    Note: You can edit the name of this device individually, or in bulk by using the Bulk Edit feature in Fleet.
Was this article helpful?
1 out of 1 found this helpful