Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Collecting diagnostic information for vCenter Chargeback (1020274)

Symptoms

VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product.

This article provides procedures for obtaining diagnostic information for vCenter Chargeback.

The diagnostic information collected can then be uploaded to VMware Technical Support. To uniquely identify your information, use the Support Request (SR) number you received when you opened your Support Request.

Resolution

To collect diagnostic information for vCenter Chargeback:

  1. Collect the vCenter Chargeback logs.

    • To collect the vCenter Chargeback logs on Windows servers:

      1. Open an elevated command prompt. For additional information see Opening a command or shell prompt (1003892).
      2. Navigate to:

        cd Installation_Directory\vCenter-CB-Tools\troubleshooting\bin

      3. Run the command:

        vCenterCB-support.bat

        Notes:

        • You must belong to the Administrator's group to run this utility. 
          • If the collector fails with the error: 

            Could not acquire lock on file...  


            Ensure your account has administrative privileges and you are running the command prompt as Administrator.
        • When prompted, provide the folder name and directory path where the generated logs are to be stored.
          • In vCenter Chargeback 2.5.x, the log bundle will automatically be generated in: 
            <Installation_Directory>\vCenter-CB-Tools\troubleshooting\collected_logs
        • You can also run this utility by selecting Collect Chargeback Logs from the Start > Programs > VMware > VMware vCenter Chargeback > vCenter Chargeback Tools menu.

    • To collect the vCenter Chargeback logs on Linux servers (vCenter Chargeback Virtual Appliance):

      1. Open a terminal. For additional information see Opening a command or shell prompt (1003892).
      2. Navigate to:

        cd /opt/vmware/cbm/vCenter-CB-Tools/troubleshooting/bin

      3. Run the command:

        vCenter-CB-support.sh

        Note: You must log in as root to successfully run this utility.

  2. When prompted, provide the folder name and directory path where the generated logs are to be stored.

    Note: Steps 3, 4, and 5 are not applicable for the Chargeback Virtual Appliance.

  3. Indicate if you want to collect the system event logs. On Windows, the Application.log and System.log files are collected. On Linux, the /var/log/messages file is collected.
  4. Enter the number of standalone data collector instances (not embedded) installed on the same machine.
  5. If you have a standalone Data Collector instance running, you must provide the path of each data collector installation.


Zip file content

The vCenterCB-support.bat and vCenter-CB-support.sh utilities generate a .zip file called vCenter-CB-TroubleshootInfo-date.zip and stores it in the specified destination folder.

The .zip file contains:
  • A .csv file for each table in the vCenter Chargeback database that stores event‐related information.
  • The system logs:

    • On Windows: The Application.log and System.log files.
    • On Linux: The /var/log/messages file.

  • Configuration files for the data collector, installation, load balancer, vCenter Chargeback server (Tomcat Server), and vCenter Chargeback application.
  • Log files for the data collector, installation, load balancer, and vCenter Chargeback server (Tomcat Server), and application.


Additional Information

For more information on increasing the logging level for vCenter Chargeback, see Change the data collector logging level (1012328).

See Also

Update History

12/20/2011 - Linked article 1012328. 03/08/2012 - Added product versions 1.5, 1.6. 10/16/2012 - Added product version 2.x

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 9 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 9 Ratings
Actions
KB: