Loading...
Loading...
Use this skill when the user asks to "investigate incident", "triage this alert", "what's firing", "who got paged", "incident response", "check incident status", "SLO breaching", "error budget burned", "check service level", "SLI status", "who was notified", "check notification delivery", "verify alert routing", "MTTR", "incident severity", "error budget", "burn rate", "acknowledge incident", "resolve incident", "production incident", "what alerts are active", "incident timeline", "on-call triage", or wants to triage, manage, or respond to incidents using alerts, SLOs, and notifications.
npx skill4agent add coralogix/cx-cli cx-incident-managementcx-alertscx-telemetry-querying| Command | Subcommands | Purpose |
|---|---|---|
| | Manage and triage incidents |
| | Monitor and manage SLO definitions |
| | Check which alerts are firing (see |
| | Verify notification connector configuration |
| | Verify notification routing rules |
| | Check notification preset templates |
| | Test notification delivery |
cx incidents list--status--severity--assignee-o json-p <profile>cx slos create/update--from-file <path>-cx incidents list -o json
cx incidents list --status TRIGGERED -o json
cx incidents list --severity CRITICAL -o jsoncx incidents list -o json | jq '[.[] | select(.severity == "CRITICAL") | {id, name, status, severity, started_at}]'cx incidents get <incident-id> -o json
cx incidents events --incident-id <incident-id> -o jsoncx alerts list -o jsoncx-alertscx alerts list -o json | jq '[.[] | select(.is_active == true) | {id, name, severity, last_triggered}]'cx slos list -o json
cx slos get <slo-id> -o jsoncx slos list -o json | jq '[.[] | {name, status, remaining_budget_percentage}]'cx notifications connectors list -o json
cx notifications routers list -o json
cx notifications presets list -o jsoncx-telemetry-queryingcx incidents acknowledge <incident-id>
cx incidents acknowledge <id1> <id2> <id3>cx incidents resolve <incident-id>
cx incidents resolve <id1> <id2> <id3>cx incidents assign <incident-id> --user-id <user-id>cx incidents close <incident-id>cx slos get <existing-slo-id> -o json > slo-template.json
# Edit slo-template.json with new service/threshold
cx slos create --from-file slo-template.json# All SLOs with their status
cx slos list -o json | jq '[.[] | {name, status, target_percentage, remaining_budget}]'
# SLOs that are breaching
cx slos list -o json | jq '[.[] | select(.status != "OK")]'cx notifications connectors list -o json | jq '[.[] | {id, name, type}]'cx notifications routers list -o json | jq '[.[] | {id, name, entity_type}]'cx notifications test connector --from-file test-connector.json
cx notifications test destination --from-file test-destination.json
cx notifications test preset --from-file test-preset.json
cx notifications test routing-condition --from-file test-condition.jsoncx incidents aggregations -o jsoncx-telemetry-queryingcx incidents eventscx-alertscx-telemetry-queryingcx-observability-setup