Skip to content

Monitoring and Alerting service with Sysdig Monitor

Maria Martinez edited this page Aug 31, 2022 · 2 revisions

Setup

Please use the following steps to setup the Sysdig monitoring and alerting service:

  1. Compose a sysdig-team object manifest (YAML file). Here is a sample:

    apiVersion: ops.gov.bc.ca/v1alpha1
    kind: SysdigTeam
    metadata:
       name: d736c3-sysdigteam
       namespace: d736c3-tools
    spec:
       team:
          description: The Sysdig Team for the FSA Namespaces
          users:
             - name: [email protected]
               role: ROLE_TEAM_EDIT
             - name: [email protected]
               role: ROLE_TEAM_MANAGER
    
  2. Apply the sysdig-team manifiest to create the on Sysdig

2.1. Use the tools project

oc project <LICENSE_PLATE>-tools

Example:

oc project d736c3-tools

2.2. Apply the manifest

oc apply -f sysdig-team-file.yaml

Example:

oc apply -f C:\repo\nr-old-growth\appmonitorig\sysdig.yaml
  1. Verify that the sysdig team was applied and it is running successfully
    oc describe sysdig-team <LICENSE_PLATE>-sysdigteam
    

Example:

oc describe sysdig-team d736c3-sysdigteam
  1. Log in into Sysdig Cloud using the OpenID option and in the Company Name field use bcdevops.

  2. Finally, make sure your team has been created by checking the namespace on the Sysdig Cloud:

image

Troubleshooting

In case you don't see your sysdig team on the Sysdig Cloud, please follow the following steps:

  1. Check if there are any existing sysdig team

    oc -n <LICENSE_PLATE>-<ENVIRONMENT> get sysdig-teams
    
  2. If there is any, please delete it as follows

    oc delete sysdig-team d736c3-sysdigteam
    

Tutorials

https://developer.gov.bc.ca/Developer-Tools/Set-up-a-team-in-Sysdig-Monitor#troubleshooting

https://www.youtube.com/watch?v=wZrOdxlc_2c&t=2s

Clone this wiki locally