Environment
- Carbon Black Response
- Clustered Environment
- All
Objective
- When changing the /etc/cb/nginx/conf.d/cb.conf (cb.multihome.conf) to have a different sensor communication port sensor will still be able to check in but data is not submitted to the minion.
- Sensor Diagnostic file (SensorComms) shows custom port for the master, but remains 443 when pushing to the sensor.
Resolution
- Update postgres with the below command to match the nginx sensor port without the brackets (<>)
psql -p 5002 cb -c "UPDATE cluster_node_sensor_addresses SET port = <portnumber>";
Additional Notes
This field is only changed during the Cb Init or Add Node period. If the sensor ports were changed after, Postgres will not be updated automatically to match the configuration.