IBM Support

I would like to automate different queries that we do every day in Control Center.

How To


Summary

I would like to use an API to pull information on Alerts in an automated fashion.

Objective

I have configured Control Center to check with a Rule and a Alert if a Connect Direct server is down.
It is possible extract this information by REST API?
I would like to count how many alerts there are with the same rule and create one checklist with this data.

Steps

You can use the API's from the url sccwebclient/svc available from the Control Center launch page. You can review and test them here.
https://<Control Center FQDSN:port>/sccwebclient/svc/doc
Specifically with the activealerts API to pull .
To automate you can use a curl command similar to this.  Inputting the server address, correct user-id and password for your install.
curl -X -GET -H "Accept: application/json" -H "Content-Type: application/json" -u "admin:Password" "https://Control-Center-FQDSN:port/sccwebclient/svc/activealerts" --insecure

Related Information

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJC3O","label":"IBM Sterling Control Center Monitor"},"ARM Category":[{"code":"a8m0z000000cwWAAAY","label":"REST API"}],"ARM Case Number":"TS014808491","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
01 December 2023

UID

ibm17087265