Finding CIs using a saved query
By default, the Query list shows several queries that were installed with BMC Atrium Core. The following figure shows the out-of-the-box queries that are available after installation. For example, the sample queries enable you to search for all Computer CIs with a specified operating system, or all virtual machines.
You cannot modify or delete these out-of-the-box queries. However, you can copy them to use as templates when creating your own queries.
Queries, variable conditions, and results
After you run a query, the results are displayed in a list. You can copy the query results to BMC Atrium Explorer display pane.
You can drag a configuration item (CI) from the results list to a view only if the view's dataset is the same as the query's dataset. If the view's dataset differs from the query's dataset, a red X appears on the CI when you drag it and the CI is moved back to the results list. Additionally, the following message appears in the display pane:
CI dataset does not match view dataset
To find CIs by using a saved query
- Open the Query list.
The Query list can appear in various locations in BMC Atrium Configuration Management Database (BMC Atrium CMDB) products, including the Find section of BMC Atrium Explorer and the Add CI dialog box of BMC Atrium Impact Simulator.
- In the Query list, click Options.
- In the Dataset list, select the dataset against which the query is run.
- Click OK.
- In the Query list, select a query.
- Perform one of the following actions:
Run the query without changing conditions.
Click Run for a simple search.
Edit values for query conditions before running the query.
- Click the arrow by the query name.
- Select an operator and enter a value for any condition you want to edit.
- Click Search for an advanced search.
Configure options that determine the default behavior of all queries. For more information, see Configuring query options.
All CIs that match the query criteria appear in the results list.
- (optional) Perform one or more of the following actions for the CIs in the results list:
View properties for a selected CI in the Properties section of the navigation pane.
Click Show Properties.
Edit some of the attributes for a selected CI.
Note: You cannot edit CIs in the BMC Asset dataset. You must convert the Asset view to a new Sandbox view and then perform your edits.
For more information about editing CIs, see Editing CIs and relationships in BMC Atrium Explorer.
Copy or drag one or more selected CIs to a view in the display pane. For more information about working with CIs in the display pane, see Working with related CIs.
Click Show in View.
Compare two CIs within a single dataset or from two different datasets. For more information, see Comparing CI and relationship instances.
Click Compare Instances.
View audit history of a CI. For more information, see Viewing instance history.
Click View History.
Creates a report (in .csv format) that lists details about the CIs selected in the Table View of the display pane.
To see the Export Table to CSV button, you have to first click the Table View button:
Click Export Table to CSV.