The configdata
API uses the POST method to obtain the configuration data of monitor instances.
API | Description |
---|---|
login | Obtains the authToken required to perform all other operations |
configdata | Retrieves configuration data of monitor instances |
perfdata | Retrieves performance data of monitor instances |
API | Description |
---|---|
devices | Retrieves a list of monitored devices |
instances | Retrieves a list of monitored instances |
monitortypes | Retrieves a list of monitor types |
tenants | Retrieves a list of tenants |
You must have used the login
API to obtain the authToken, which authenticates the user performing the operation. For details, see TSWS authentication.
https://<PresentationServerHostName>/tsws/10.0/api/omprovider/configdata
Element | Description |
---|---|
authToken | Value of authToken |
tenantId | Tenant name Example: BmcRealm |
Options (Use one per request) | |
monUniqName | Use the monitortypes operation to get the monUniqName. |
instKeyList | includes serverId, monTypeId, and monInstId. Use the instances operation to get the serverId, monTypeId, and monInstId. |
After accessing the REST client, perform the following steps:
Using monUniqName
Using instKeyList that includes serverId, monTypeId, and monInstId
The response information follows the standard HTTP response status codes.
Sample JSON response for the configuration data of monitor instances API:
2 Comments
Trevor Morgan
How can we get the list of attributes that a given monitor instance has ?
I can't see a way to do this via the API, and I have to refer to the documentation on the BMC site to get this which seems a bit backward when everything else is available in the API.
Harihara Subramanian
Trevor Morgan, Thanks for your comments. I am forwarding your request to the product development teams.