Sterling Managed File Transfer

 View Only

Integration of Grafana dashboard with IBM Sterling B2B Integrator deployed on standalone Kubernetes cluster

By Nishant Mohan posted Wed February 19, 2020 12:13 PM

  

Integration of Grafana dashboard with IBM Sterling B2B Integrator deployed on standalone Kubernetes cluster

IBM B2BI deployed on standalone kubernetes cluster can also be integrated with the Grafana dashboard in order to serve the monitoring requirements. Grafana is mainly used for visualisation which requires Prometheus server to be running inside the cluster. Prometheus's job is to keep collecting the cluster level metrics in a time series fashion and make it available for any visualisation tool to pick up. Grafana pull these metrics data and visualise it using several dashboard.

Following steps will describe how this integration can be achieved.


Steps to deploy the grafana dashboard with prometheus as a datasource
:

  1. Download this monitoring.zip file. It contains the required yaml files for enabling the grafana on standalone kubernetes cluster of IBM B2BI

  2. Create the namespace for monitoring purpose 
    kubectl apply -f monitoring/namespace.yaml

  1. Deploy the Prometheus server
    helm repo update
    helm install stable/prometheus --namespace monitoring --name prometheus
    or (if needed to override some prometheus's attributes)
    helm install stable/prometheus --namespace monitoring --name prometheus -f prometheus/values.yaml 

  1. Create the config maps required for grafana for a datasoure and a bundled dashboard.
    kubectl apply -f grafana/dashboard-config.yaml
    kubectl apply -f grafana/datasource-config.yaml

 

  1. Deploy the Grafana UI
    helm install stable/grafana -f grafana/values.yaml --namespace monitoring --name grafana

           

Grafana once deployed, it's UI can be accessed on <IP>:<PORT> where PORT is 30030. Port can be changed under grafana/values.yaml

Get your 'admin' user password by running:

 

kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo

 

You can see "b2bi-cluster" dashboard already present on landing page.

Note: The name “b2bi-cluster” is changeable and can be done so by replacing the value of attribute "title” in dashboard-config.yaml file.


#DataExchange
#IBMSterlingB2BIntegratorandIBMSterlingFileGatewayDevelopers
0 comments
24 views

Permalink