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.
This release is compatible with below dashobards which can be further consumed by Sysdig.
- CFEEDiego.json
- CFEERouter.json
- CFEECell.json
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
- CFEE-cfapitester-internal-metrics.json
- CFEE-cfapitester-push-test.json
- CFEE-cfapitester-runtimes.json They are only valid on current CFEE release 6.0
- Follow this link to get Sysdig API Token
- Follow this link to check your Sysdig instance region and endpoint. End Point
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
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
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
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'
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
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
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
curl -X GET -H "Authorization: Bearer " -H "Accept: application/json" https://eu-de.monitoring.cloud.ibm.com/api/alerts
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
curl -v -X DELETE -H "Authorization: Bearer " https://eu-de.monitoring.cloud.ibm.com/api/alerts/ID