Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

How to enable debugging mode using "b9cli" command

How to enable debugging mode using "b9cli" command

Environment

  • Cb Protection 6.x - 8.x
  • All Supported Mac OS X and Linux


Objective

  • This document provides information on how to enable debugging mode using "b9cli" command. This is useful for capturing information in to the agent log files when reproducing an issue for investigation.


Resolution

  1. Follow the steps from this document - How to use the "b9cli" command
  2. Elevate permission by using the CLI or Global password.
    1. CLI password can be found on the Computer Details page from the console.
    2. Global password is set by the admin
    3. Example: ./b9cli --password ABCD-EFGH-IJKL-MNOP
  3. Debugging Level
    1. ValueLevel
      0Off (default)
      3High
      4Verbose
    2. High level is the usual level used for investigation. Verbose level is useful too, but can get too noisy and create much bigger log files.
  4. Run the following command to enable the debugging mode and set the correct level:
    1. ./b9cli --debuglevel 3
    2. ./b9cli --debuglevel 4 (only if specifically requested by Support)
  5. When reproducing the issue is complete, turn off the debugging mode. Leaving it on will cause the agent to be too busy and create large log files that could use a lot of disk space. To turn it off, run this command:
    1. ./b9cli --debuglevel 0

Additional Notes

If you receive "Access denied" message when running the command here, please run the "./b9cli --password <CLI or Global password" again to elevate your permission.

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎11-17-2017
Views:
1550
Contributors