monit-docker user documentation¶
Monitor Docker containers and optionally execute rules when conditions match. Both modes use the same selectors and rule syntax.
Simple mode: run a check, read statistics or execute a rule, then exit. Optionally schedule it with cron. No HTTP server or monitoring stack is needed.
Serve mode: keep monitoring and expose cached status and metrics over HTTP. Optionally add Prometheus for history and Grafana for charts.
For installation and the command reference, see the project README.
Simple mode
- Simple mode: one command, then exit
- Named scenarios (since 0.0.70)
- One-shot monitoring from cron
- Wait for a sustained condition before acting
- Disk space, inode and mount mode checks
- File and directory access checks (since 0.0.69)
- Docker healthchecks
- OOM, repeated starts and PID checks
- Bounded automatic restarts
- Temporary maintenance (since 0.0.69)
Serve mode
- Install with Docker Compose
- Installer avec Docker Compose
- Reproduce a memory incident with Compose
- Continuous monitoring and HTTP endpoints
- HTTP API and metrics compatibility contract
- Optional lightweight interface
- Serve, Prometheus and Grafana with Docker Compose
- Prometheus metrics reference
- Prometheus alerts for serve mode
- Email and Slack notifications
- Action and notification journal
- Journal schema compatibility
- Convert a retained journal to schema 2
- Send Alertmanager notifications to Redis
- HTTP notifications with DWho
- Grafana example dashboard
Reference, upgrades and troubleshooting
- Validate configuration before running
- Configuration validation
- Textual terminal interface
- monit-docker 1.3.3
- monit-docker 1.3.2
- monit-docker 1.3.1
- monit-docker 1.3.0
- monit-docker 1.2.0
- monit-docker 1.1.4
- monit-docker 1.1.3
- monit-docker 1.1.2
- monit-docker 1.1.1
- monit-docker 1.1.0
- Configuration and CLI compatibility contract
- Read-only terminal interface
- Supported environments and check prerequisites
- Installation, upgrade and rollback rehearsals
- Deprecation and migration policy
- Troubleshooting
- monit-docker 1.0.1
- monit-docker 1.0.0
Contributor documentation¶
Changing the project? Use the separate Contributor documentation guide.
For contributors