listInstruments command to list the instruments defined by the policy templates in the system, as well as the attribute names and segments for each. You can use this information as arguments for the
btmcli listInstruments -s sphereUrl -l username:password
|-s||-sphereUrl||The URL of the sphere.
This flag is not required if you have set the AP_SPHERE_URL environment variable for your sphere.
|-l||-userLogin||The username and password associated with the sphere, in the format: username:password. This set of credentials must belong to a user in the btmadmin role.
See Security Options in Accessing CLI Commands for information on furnishing login credentials.
You can encrypt passwords using the
Here is some sample output for the
Avg Response Time Attribute Name: averageResponseTime Description: The average amount of time a transaction requires to complete, or a service/operation requires to respond. Segmented By: operation containingManagedObjectId clientAddress clientName businessObjectId businessObjectKey Faults Attribute Name: faultCount Description: The number of faults generated by a service or operation. Segmented By: operation containingManagedObjectId clientAddress clientName faultCode businessObjectId businessObjectKey
The following example shows the
btmcli listInstruments -s http://localhost:8080/btmcentral/sphere/ -l admin:abracadabra