CB Connect 2020 early-bird discount pricing expires on January 31. Learn more and reserve your spot today!
cancel
Showing results for 
Search instead for 
Did you mean: 

CB Response: How to Generate CB Diags for an On-Prem Server

CB Response: How to Generate CB Diags for an On-Prem Server

Environment

  • CB Response Server: All versions

Objective

Generate a server-side cbdiag report from any CB Response server (master or minion) and send it to Carbon Black for troubleshooting.

Resolution

  1. Log into the command line interface (CLI) of the master or minion server.
  2. Change directory to a partition with sufficient available disk space.
  3. Run:
sudo /usr/share/cb/cbdiag --post

Additional Notes

  • Verify there is sufficient disk space before running this command.
  • The server may become unresponsive is there's not enough disk space.
  • Repeat these steps for all master and minion servers as needed.
  • /tmp is used as a working directory to gather the report. If /tmp does not have enough space, specify alternative working directory:
sudo /usr/share/cb/cbdiag --tmpdir=/new/temp/directory --post
  • Completed reports are saved in the current working directory. The report must be manually deleted once uploaded
  • Required disk space will vary depending on the amount of data and logs.
  • The resulting cbdiag report will be automatically uploaded to Carbon Black's servers for troubleshooting purposes when using the --post flag.

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Author:
Creation Date:
‎11-21-2018
Views:
2077