Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Create advanced SQL report that shows the unmanaged Elastic Sky X (ESX) guests

Create advanced SQL report that shows the unmanaged Elastic Sky X (ESX) guests

Table of contents


This article provides two ways to create an advanced SQL report showing the unmanaged Elastic Sky X (ESX) guests in NPM. 


All SAM versions


Create a SQL report using the Report Writer:

1. Click Start > All Programs > Reporting > Report Writer.

2. Click New  Report > Historical - VMWare ESX Reports > OK. 


5307 - 1.png

3. Enter a title in the Report Title field.

4. Enter the following query in the Description field:

SELECT VIM_VirtualMachines.Name as 'Guest', VIM_Hosts.HostName as 'ESX Host' FROM VIM_VirtualMachines
Inner join VIM_Hosts on VIM_VirtualMachines.Hostid=VIM_Hosts.HostID
where VIM_VirtualMachines.NodeID is null.

5307 - 2.png

5. Click Execute SQL Query.

6. Click Save.

Create a SQL report using the Web Console:

1. Click Start > SolarWinds Orion > Orion Web Console > Settings > Manage Reports.

2. Enter VMWare in the Search field. 

5307- 3.png

3. Select Historical VMWare ESX Reports, and click Edit Report. 

5307- 4.png

4. Enter a title for the report and click Add Content.

5307- 5.png

5. Select Custom Table, and then click Select and continue.

5307- 6.png

6. Select Advanced Database Query in the selection method,

7. Select SQL as the Query Type.

8.  Enter the following SQL query in the space provided, and then click Preview Results:
    SELECT VIM_VirtualMachines.Name as 'Guest', VIM_Hosts.HostName as 'ESX Host' FROM     VIM_VirtualMachines
    Inner join VIM_Hosts on VIM_VirtualMachines.Hostid=VIM_Hosts.HostID
    where VIM_VirtualMachines.NodeID is null.

5307- 7.png
9. Once the table is displayed, click Next, and then Submit.

For help on custom SQL Reporting and Scripting you can post your queries on Thwack Community Forum: Custom Reporting


Last modified