Is there a command to get the list of DSM Objects?

Document ID : KB000053823
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document explains how to use a command to get a list of all managed objects.

For more information about the topics covered, see Inside Systems Management. All CA NSM docs can be found online at:
https://support.ca.com/irj/portal/DocumentationResults?productID=130639&releaseID=ALL&languageID=ENU&actionID=2

Solution:

You can use tools such as obrowser, storectrl, DSMMonitor, and dsm_report to get information about all your DSM objects. The number of objects that a DSM is monitoring is an important characteristic to be aware of because the performance of a DSM is greatly affected by how many objects it must keep the status. When a DSM begins to slow down, or starts to use an excessive amount of system resources, one thing you should take a look at is the number of objects the DSM is monitoring.

Note: Many factors can influence the number of objects that a single DSM can handle (for example, machine size and capacity, polling intervals, network environments, and so forth).

Obrowser:

DSM View (obrowser.exe) lets you see the contents of the DSM Store, which is made up of DSM managed objects and their property values.

Run the command obrowser on a DSM computer.

When the DSM View window displays, click Search to display the DSM Objects count, as shown in the following screenshot.

Figure 1

Storectrl:

Use this command to fetch a list of DSM objects and their properties. It is an Agent Technology utility that lets you see what is currently loaded in the object store and displays all of the information related to a particular DSM policy class in the object store. If no information is returned, the corresponding DSM policy file was probably not loaded properly.

Note: Although Obrowser is a GUI, Storectrl is a command-line utility.

Example:
The following command will generate a "Store.out" file that contains DSM managed objects information.
storectrl Store %COMPUTERNAME% AwNsm@%COMPUTERNAME% Select __CLASS__=AWMO_OBJECT End GetAllProperties >C:\temp\Store.ou

The following command will display the DSM Object count as shown in the screenshot.
Storectrl Store %COMPUTERNAME% AwNsm@%COMPUTERNAME% Select __CLASS__=AWMO_OBJECT End GetProperties moObject_moID |find /C "Object :"

Figure 2

DSMMonitor:

You can also use the DSMMonitor to display the Managed Objects list and the Object count.
DSM Monitor View displays the status and the number of objects monitored by the DSM.

Figure 3

Dsm_report:

You can use the dsm_report command to get all managed objects and their status. Be sure to run the command dsm_report on the DSM computer. Running the dsm_report command creates a file named dsmrpt.csv in the directory where the command was run. Since it is a .csv (comma separated value) file, you can open it with Excel.

Example: dsm_report