VMWare : KB2000015 : Collecting vCenter Server logs when an alarm is triggered Purpose

To trigger the collection of vCenter Server logs when a particular error occurs:

  1. Create an alarm on the host in vCenter Server with the desired settings.
  2. Click the Actions tab in the Alarm Settings dialog.
  3. Click Add and select Run a command in the Action dropdown.
  4. Click the Configuration field and enter the command to run when the alarm is triggered. To collect the vCenter Server logs, enter:

    C:\Windows\System32\cscript.exe "C:\Program Files\VMware\Infrastructure\VirtualCenter Server\scripts\vc-support.wsf" /z

    Note: Ensure that you select the correct status for the Action. The status must match the status defined in the Triggers tab.

When this action is triggered, the vCenter Server log files will be located in C:\Windows\System32\config\systemprofile\Desktop.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s