Push alerts that are generated in OpenShift into Cloud Pak for AIOps by using a webhook integration

  • Follow the steps that are documented in Self-monitoring with alerts.

    Note: You can configure a webhook to only send the AIOpsKafka related alerts and severity levels.

    AIOpsKafka alerts and severity levels
    Figure. AIOpsKafka alerts and severity levels

  • For the certificate manager to trust the webhook url without any certificate issues, add the Cloud Pak for AIOps CA signing cert to the OpenShift CA bundle.

    For use in insecure mode:

    
    receivers:
    - name: Default
      webhook_configs:
        - url: >-
            https://whconn-6d6f3a29-ddaf-4d5f-938b-6935791b5144-cp4waiops.apps.groot.cp.fyre.ibm.com/webhook-connector/6oon1rwn4vn
          http_config:
            tls_config:
              insecure_skip_verify: true
    - name: Watchdog
    - name: Critical
      webhook_configs:
        - url: >-
            https://whconn-6d6f3a29-ddaf-4d5f-938b-6935791b5144-cp4waiops.apps.groot.cp.fyre.ibm.com/webhook-connector/6oon1rwn4vn
          http_config:
            tls_config:
              insecure_skip_verify: true
    
  • Alert surfacing in Cloud Pak for AIOps:

    Alert surfacing in Cloud Pak for AIOps
    Figure. Alert surfacing in Cloud Pak for AIOps

  • Alert details in Cloud Pak for AIOps:

    Cloud Pak for AIOps alert details
    Figure. Cloud Pak for AIOps alert details