Git Product home page Git Product logo

cfee-dashboards's Introduction

Intro

IBM Cloud Monitoring with Sysdig is powered by Sysdig in partnership with IBM, which is proposed monitoring solution for IBM IKS and CFEE. Follow the steps below to create CFEE operation dashboard and Alerts in Sysdig.

CFEE releases

CFEE release 5.0

This release is compatible with below dashobards which can be further consumed by Sysdig.

  1. CFEEDiego.json
  2. CFEERouter.json
  3. CFEECell.json

CFEE release 6.0

In this release we have CFEE with eirini plan implemented. Dashboard CFEERouter.json is the common dashboard works all CFEE plans. CFEECell.json and CFEEDiego.json will work with CFEE without eiriniplan only.

We have added new dashboards for cfapitester component. They are the common dashboards applicable for CFEE on Eirini and non-Eirini clusters

  1. CFEE-cfapitester-internal-metrics.json
  2. CFEE-cfapitester-push-test.json
  3. CFEE-cfapitester-runtimes.json They are only valid on current CFEE release 6.0

Prerequisites

  • Follow this link to get Sysdig API Token
  • Follow this link to check your Sysdig instance region and endpoint. End Point

Steps to create the dashboards

Use the shell script dashboard-create.sh in this repository to create the dashboards.

Usage :

./dashboard-create.sh <sysdig_region> <sysdig_api_token>

<sysdig_region> value is one of us-south, eu-de,eu-gb,jp-tok,us-east,au-syd

<sysdig_api_token> is the API token to authenticate with the IBM Cloud Monitoring with Sysdig service

Steps to create the Alerts

Use the shell script alert-create.sh in this repository to create the Alerts.

Usage :

./alert-create.sh <sysdig_region> <sysdig_api_token>

<sysdig_region> value is one of us-south, eu-de,eu-gb,jp-tok,us-east,au-syd

<sysdig_api_token> is the API token to authenticate with the IBM Cloud Monitoring with Sysdig service

Troubleshooting

Create dashboard from json file in this repository,

curl -X POST https://us-south.monitoring.cloud.ibm.com/api/v2/dashboards -H 'Authorization: Bearer <sysdig_api_token>' -H 'Content-Type: application/json' -d @ json file

Deleting the dashboard

curl -X DELETE https://us-south.monitoring.cloud.ibm.com/api/v2/dashboards/ID -H 'Authorization: Bearer <sysdig_api_token>' -H 'Content-Type: application/json'

Save all dashboards:

curl -X GET https://us-south.monitoring.cloud.ibm.com/api/v2/dashboards -H 'Authorization: Bearer <sysdig_api_token>' -H 'Content-Type: application/json' >> json file

Save single dashboard:

curl -X GET https://us-south.monitoring.cloud.ibm.com/api/v2/dashboards/ID -H 'Authorization: Bearer <sysdig_api_token>' -H 'Content-Type: application/json' >> json file

Update existing dashboard:

curl -X PUT https://us-south.monitoring.cloud.ibm.com/api/v2/dashboards/ID -H 'Authorization: Bearer <sysdig_api_token>' -H 'Content-Type: application/json' -d @ json file

Get the complete list of existing alerts

curl -X GET -H "Authorization: Bearer " -H "Accept: application/json" https://eu-de.monitoring.cloud.ibm.com/api/alerts

Get an alert

curl -X GET -H "Authorization: Bearer " -H "Accept: application/json" -H "Content-Type: application/json;charset=UTF-8" https://eu-de.monitoring.cloud.ibm.com/api/alerts/ID

Delete an alert

curl -v -X DELETE -H "Authorization: Bearer " https://eu-de.monitoring.cloud.ibm.com/api/alerts/ID

cfee-dashboards's People

Contributors

fredplex avatar kiranjain2 avatar millgner avatar heavywombat avatar scarlettanager avatar starcraftnight avatar

Watchers

James Cloos avatar  avatar Alex Tarpinian avatar  avatar

Forkers

kiranjain2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.