prometheus-alertmanager-cli
v1.0.0
Published
Prometheus Alertmanager configuration generator CLI
Maintainers
Readme
prometheus-alertmanager-cli
Prometheus Alertmanager configuration generator CLI
Installation
npm install -g prometheus-alertmanager-cliUsage
Initialize configuration
prometheus-alertmanager init
prometheus-alertmanager init --template advanced
prometheus-alertmanager init --output custom-config.jsonValidate configuration
prometheus-alertmanager validate
prometheus-alertmanager validate path/to/config.jsonView configuration
prometheus-alertmanager show
prometheus-alertmanager show --env production
prometheus-alertmanager show --jsonModify configuration
prometheus-alertmanager set settings.debug true
prometheus-alertmanager set settings.logLevel \"warn\"Compare configurations
prometheus-alertmanager diff config-dev.json config-prod.jsonList templates
prometheus-alertmanager templatesTemplates
| Template | Description |
|----------|-------------|
| minimal | Bare minimum configuration |
| standard | Recommended defaults for most projects |
| advanced | Full-featured with security, caching, and multi-environment support |
Why prometheus-alertmanager-cli?
- Zero dependencies at runtime — just
commanderandchalk - Template-based — start with minimal, standard, or advanced presets
- Validation built-in — catch config errors before deployment
- Environment-aware — manage dev/staging/production configs in one file
- Diff support — compare configs across environments
License
MIT
