-
-
Notifications
You must be signed in to change notification settings - Fork 2
cmd sentry
Operate ɳSentry monitoring from the CLI: monitors, incidents, status pages, and alert channels against the hosted SaaS or a self-hosted bundle.
nself sentry <subcommand> [flags]
nself sentry is the CLI surface for ɳSentry. The status subcommand reads a public
status page. Every other subcommand talks to the ɳSentry REST API, either the hosted
SaaS at https://api.sentry.nself.org (default) or a self-hosted/local sentry bundle.
| Subcommand | Purpose |
|---|---|
login |
Validate and store an API key at ~/.nself/sentry.json (mode 0600) |
logout |
Remove the stored API key |
whoami |
Show account, tier, and quota usage |
monitors list|add|rm|pause|resume |
Manage uptime monitors |
incidents list|ack|resolve |
Incident lifecycle |
status-pages list|create |
Manage public status pages |
alerts channels|test |
List alert channels, send test notifications |
status |
Fetch a status page JSON and report component health |
API keys start with nsk_ and are created in the ɳSentry dashboard, or seeded locally
by the sentry dev preset. Resolution order for both the key and the API URL:
-
--api-key/--api-urlflags -
NSELF_SENTRY_API_KEY/NSELF_SENTRY_API_URLenvironment variables -
~/.nself/sentry.json(written bynself sentry login) - Default API URL
https://api.sentry.nself.org
A 401 response always suggests nself sentry login. Quota errors (402/429) include the
server message and an upgrade hint.
A symlink named nsentry behaves as this command group:
ln -s $(which nself) /usr/local/bin/nsentry
nsentry monitors list # same as: nself sentry monitors listEvery cloud subcommand accepts --json for script and AI-agent consumption. The same
operations are also exposed as MCP tools by cmd-mcp (sentry_monitors_list,
sentry_monitors_add, sentry_incidents_list, sentry_incidents_ack, sentry_status).
Common to all cloud subcommands:
| Flag | Type | Default | Description |
|---|---|---|---|
--api-url |
string | https://api.sentry.nself.org |
ɳSentry API base URL |
--api-key |
string | stored key | ɳSentry API key (nsk_*) |
--json |
bool | false |
Output JSON instead of tables |
monitors add flags:
| Flag | Type | Default | Description |
|---|---|---|---|
--url |
string | (required) | Target URL or host to monitor |
--name |
string | the URL | Display name |
--kind |
string | http |
Monitor kind: http, tcp, or ping
|
--interval |
duration | 60s |
Check interval (tier floors: free 5m, bundle 1m, ɳSelf+ 30s) |
# Log in to the hosted SaaS
nself sentry login --api-key nsk_abc123...# Add a monitor and list monitors
nself sentry monitors add --name api --url https://api.example.com --interval 60s
nself sentry monitors list# Triage incidents
nself sentry incidents list --status open
nself sentry incidents ack inc_123
nself sentry incidents resolve inc_123# Status pages and alert channels
nself sentry status-pages create --name "Public Status" --slug public
nself sentry alerts channels
nself sentry alerts test ch_email_1# Account, tier, and quota usage as JSON
nself sentry whoami --json# Fully local, zero cloud: sentry dev preset seeds a tenant + dev API key
nself init --preset sentry && nself build && nself start
nself sentry login --api-url http://localhost:3848 --api-key nsk_dev_local_0000000000000000
nself sentry monitors add --url https://example.com| Free | Sentry Bundle | ɳSelf+ | |
|---|---|---|---|
| Monitors | 10 at 5-min | 50 at 1-min | 100 at 30s |
| Status pages | 1 | 3 | 10 |
| API/CLI/MCP | read-only | full | full |
-
cmd-mcp — MCP server with the
sentry_*tools for AI agents -
cmd-init —
--preset sentryfor the local-first dev stack - cmd-doctor — nSelf diagnostics
ɳSelf CLI v1.0.9. MIT licensed. Docs CC BY 4.0.
GitHub · Issues · Discussions · nself.org · docs.nself.org
Getting Started
Commands
- Commands, Overview
- Lifecycle: cmd-init · cmd-build · cmd-start · cmd-stop · cmd-restart · cmd-dev
- Monitoring: cmd-status · cmd-logs · cmd-health · cmd-urls · cmd-doctor · cmd-monitor · cmd-alerts · cmd-sentry · cmd-watchdog · cmd-dogfood
- Data: cmd-db · cmd-backup · cmd-dr · cmd-queue · cmd-webhooks
- Config: cmd-config · cmd-service · cmd-env · cmd-promote
- Networking: cmd-ssl · cmd-trust · cmd-dns-setup
- Security: cmd-security · cmd-secrets · cmd-waf
- Tenancy: cmd-tenant · cmd-billing
- Plugins: cmd-plugin · cmd-license
- AI: cmd-ai · cmd-claw · cmd-model
- Templates: cmd-template
- Utilities: cmd-exec · cmd-clean · cmd-reset · cmd-update · cmd-upgrade · cmd-version · cmd-admin · cmd-migrate · cmd-migrate-firebase · cmd-migrate-supabase · cmd-completion
Features
- Features, Overview
- Feature-Auth
- Feature-Storage
- Feature-Search
- Feature-Functions
- Feature-Email
- Feature-Monitoring
- Feature-Plugins
- Feature-ɳClaw, AI Assistant
- Feature-ɳChat, Messaging
- Feature-ɳTV, Media Player
- Feature-ɳFamily, Family Social
- Feature-ɳCloud, Managed Hosting
- Feature-Memory-Rooms, Knowledge Organization
- Feature-Agent-Dashboard, Agent Metrics
- Feature-Image-Generation, AI Image Generation
Configuration
- Configuration, Overview
- Config-Env-Vars
- Config-Postgres
- Config-Hasura
- Config-Auth
- Config-Nginx
- Config-Optional-Services
- Config-Custom-Services
- Config-System
Plugins (87 + 10 monitoring)
Free (25)
- plugin-backup
- plugin-content-acquisition
- plugin-content-progress
- plugin-cron
- plugin-donorbox
- plugin-feature-flags
- plugin-github
- plugin-github-runner
- plugin-invitations
- plugin-jobs
- plugin-link-preview
- plugin-mdns
- plugin-mlflow
- plugin-monitoring
- plugin-notifications
- plugin-notify
- plugin-paypal
- plugin-search
- plugin-shopify
- plugin-stripe
- plugin-subtitle-manager
- plugin-tokens
- plugin-torrent-manager
- plugin-vpn
- plugin-webhooks
Pro (62)
- plugin-access-controls
- plugin-activity-feed
- plugin-admin-api
- nself-ai-gateway
- nself-ai-cc
- nself-ai-mcp
- plugin-analytics
- plugin-auth
- plugin-backup-pro
- plugin-bots
- plugin-browser
- plugin-calendar
- plugin-cdn
- plugin-chat
- plugin-claw
- plugin-claw-budget
- plugin-claw-news
- plugin-claw-web
- plugin-cloudflare
- plugin-cms
- plugin-compliance
- plugin-cron-pro
- plugin-ddns
- plugin-devices
- plugin-documents
- plugin-donorbox-pro
- plugin-entitlements
- plugin-epg
- plugin-file-processing
- plugin-game-metadata
- plugin-geocoding
- plugin-geolocation
- plugin-google
- plugin-home
- plugin-idme
- plugin-knowledge-base
- plugin-linkedin
- plugin-livekit
- plugin-media-processing
- plugin-meetings
- plugin-moderation
- plugin-mux
- plugin-notify-pro
- plugin-object-storage
- plugin-observability
- plugin-paypal-pro
- plugin-photos
- plugin-podcast
- plugin-post
- plugin-realtime
- plugin-recording
- plugin-retro-gaming
- plugin-rom-discovery
- plugin-shopify-pro
- plugin-social
- plugin-sports
- plugin-stream-gateway
- plugin-streaming
- plugin-stripe-pro
- plugin-support
- plugin-tmdb
- plugin-voice
- plugin-web3
- plugin-workflows
Planned (26)
plugin-auditplugin-blogplugin-checkoutplugin-commerceplugin-drmplugin-exportplugin-flowplugin-importplugin-ldapplugin-mailgunplugin-mediaplugin-oauth-providersplugin-pagesplugin-postmarkplugin-rate-limitplugin-reportsplugin-samlplugin-schedulerplugin-sendgridplugin-ssoplugin-subscriptionplugin-thumbplugin-transcoderplugin-twilioplugin-wafplugin-watermark
Guides
- Guide-Production-Deployment
- Guide-SSL-Setup
- Guide-Multi-Tenancy
- Guide-Security-Hardening
- Guide-Monitoring-Setup
- Guide-Backup-Restore
- Guide-Custom-Services
- Guide-Migration-from-v1
Architecture
Reference
- API-Reference
- reference-error-codes, Error Codes
Licensing
Security
Brand
Operations
- operations/release-cascade, Release Cascade
- operations/self-healing, Self-Healing Schema
- operations/redis-tuning, Redis Pool Tuning
- operations/meilisearch-warmup, MeiliSearch Warm-Up
- operations/jwt-rotation, JWT Key Rotation
- operations/windows-wsl2-setup, Windows / WSL2 Setup
- operations/gemini-oauth-reauth, Gemini OAuth Reauth
Contributing
Admin
- USER-ACTION-QUEUE, Pending Admin Actions