Carbon Black Cloud Endpoint Standard (formerly Cb Defense)Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)
Issue/Introduction
Change the proxy configuration for a Linux sensor post installation.
Environment
Carbon Black Cloud Sensor: 2.11.1 and higher
Linux: All Supported Versions
Resolution
Create a separate configuration directory /etc/systemd/system/cbagentd.service.d
Create a file /etc/systemd/system/cbagentd.service.d/custom.conf with the following contents:
[Service]
EnvironmentFile=/etc/environment
Add the following contents to /etc/environment:
all_proxy=<ip_address_of_proxy>:<port number> or
https_proxy=<ip_address_of_proxy>:<port number>
Note that you can use the FQDN if the hostname is used instead of the IP address.
After making configuration changes, the sensor must be restarted; for example: