Testing your AIOps connection

About this task

After you configure AIOps, you might want to test that your AIOps setup is up and running successfully.

  • Map the AIOps service to https://localhost:4001.
    oc -n wxa4z-aiops port-forward service/wxa4z-aiops-server 4001
  • Get all z/OS systems.
    curl -k --location 'https://localhost:4001/ibm/bnz/v1/operation/zos-systems' \
    -H "Authorization: Bearer $TOKEN"
  • Get all the OMEGAMON situation events.
    curl -k --location 'https://localhost:4001/ibm/bnz/v1/operation/situation-events?component=zos' \
    -H "Authorization: Bearer $TOKEN"
  • Test the Db2 systems.
    curl -k --location 'https://localhost:4001/ibm/bnz/v1/operation/db2' \
    -H "Authorization: Bearer $TOKEN"