AIOps

 View Only

WAIOps v3.2 - Series 04 : Create Data and Tool Integrations

By Jeya Gandhi Rajan M posted Tue December 28, 2021 02:36 AM

  

This article explains about how to setup below Integration in Watson AIOps.

  • Humio Integration
  • ServiceNow Integration
  • Kubernetes Integration

The article is based on the the following.

  • RedHat OpenShift 4.8 on IBM Cloud (ROKS)
  • Watson AIOps 3.2.0

1. Setup Humio Integration

This section explains about how to setup Humio Integration in Watson AIOps.

  1. Goto the page Data and tool integrations

  2. Click on Add Integration

  1. In the Humio card click on the Add Integration link

  1. Click on Connect

  1. Enter the below field values

To know more about humio url and token refer to the url :

  1. Click on Next

 

  1. Click on Test Connection to check the connection with humio

  2. Click on Next

  1. Enter the below field values
  • Dataflow : Off
  • Mode: Historical ..
  • Start Date : yesterday date
  • End Date : tommorrow date
  1. Click on Done

  1. Humio connection created

2. Setup ServiceNow Integration

This section explains about how to setup ServiceNow Integration in Watson AIOps.

  1. Goto the page Data and tool integrations

  2. Click on Add Integration

  1. In the ServiceNow card click on the Add Integration link

  1. Click on Connect

  1. Enter the below field values
  • Name
  • Description
  • ServiceNow URL
  • User
  • Password
  1. Click on Next

  1. Click on Test Connection to check the connection with humio

  2. Click on Next

  1. Click on Next

  1. Enter the below field values
  • Dataflow : Off
  • Mode: Historical ..
  • Start Date : Last year date
  • End Date : tommorrow date
  1. Click on Done

  1. ServiceNow connection created

3. Setup Kubernetes Integration or Observer

This section explains about how to setup Kubernetes Observer in Watson AIOps.

1. Get Kubernetes Cluster Access Details

As part of the kubernetes observer, it is required to communicate with the target cluster. So it is required to have the URL and Access token details of the target cluster.

Do the following.

   1. Login

Login into Kubernetes cluster using cli.

  2. Access token

There is a script file files/00-create-kube-observer-token.sh to generate access token in Kubernetes cluster

Run the script.

sh files/00-create-kube-observer-token.sh

This will print the access token, you can copy and keep it in notepad.

  3. URL and Port

Need to get the URL and Port of the Kubernetes Cluster

In the IBM Cloud, cluster detail page, Click on the Copy Link link under the Servive Point URL to get the Kubernetes URL.

It may give a url like this

https://c111.us-south.containers.cloud.ibm.com:32429

2. Create Kube Observer Connection

  1. Click on Add Connection

  1. Click on Add Connection

  1. Click on Connect

  1. Enter any value in Name, Description and Data Center

  1. Enter the following
  • Connection Type : Load
  • IP Address : URL portion of the Service Enpoint URL retrieved in the above section
  • Port : Port portion of the Service Enpoint URL retrieved in the above section
  • Token : Access Token retrieved in the above section
  • Namespace : Any name where you have deployed your app to observe
  1. Click on Next

  1. Enter the following
  • Schedule Request : On
  • Interval : 5
  1. Click on Done

  1. Kubernetes connection is created successfully. This might have observer the resources found in the given namespace of the kubernetes cluster and create a Resource group




Released by :

Jeya Gandhi Rajan M
Vijaya Bhaskar R Siddareddi
Vijay Sukthankar (Squad Leader)

Hybrid-Cloud Squad
GSI Labs


#setup


#howto
#configure
#install
#CloudPakforWatsonAIOps
#cp4aiops
#demo
#Integration
#Kubernetes
0 comments
7 views

Permalink