IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CB Response: How To Generate A Sensor Installer Via cbsensorinstallergen In The Back-end

CB Response: How To Generate A Sensor Installer Via cbsensorinstallergen In The Back-end

Environment

  • CB Response Server: 6.X

Objective

How to generate specific versions of sensor installer for a specific sensor group at back-end server/master via the command line.

Resolution

Suggest using /usr/share/cb/cbsensorinstallergen to accomplish the task.


Help file:

/usr/share/cb/cbsensorinstallergen -h

Usage: cbsensorinstallergen [options]

This is a utility that can be used to create sensor installation packages.

The default location for sensor installers is:

/usr/share/cb/coreservices/installers

Options:

-h, --help show this help message and exit

--installer-file=INSTALLER_FILE File path to the sensor installer file(s) - if multiple files, separate by comma(s)

--os=OS_TYPE The os type that the package is for: [win|osx|linux]

--sensor-group=SENSOR_GROUP The sensor group to get the ini settings from [uses Default Group if none provided]

--package-path=PACKAGE_PATH Directory path to save the output package

 

Example usage:

/usr/share/cb/cbsensorinstallergen --installer-file=/usr/share/cb/coreservices/installers/osx/CarbonBlackClientSetup-osx-v6.0.4.70328.pkg --os=osx --sensor-group="Default Group" --package-path=/tmp/

This example uses the install package for OSX v6.0.4 from sensor group Default Group and puts the resulting zip file in the /tmp/ path.


Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎04-03-2019
Views:
583
Contributors