utility for monitoring services on a Unix system
50K+
Monit is a utility for managing and monitoring processes, programs, files, directories and filesystems on a Unix system.
~/fig/monit/
├── docker-compose.yml
└── data/
├── conf.d/
│ ├── network.cfg
│ ├── setting.cfg
│ └── system.cfg
└── monitrc
Make sure config file endswith
.cfg.
monit:
image: vimagick/monit
volumes:
- ./data:/etc/monit
pid: host
net: host
restart: always
The control file
/etc/monit/monitrcmust have permissions no more than-rwx------ (0700)
$ cd ~/fig/monit/
$ docker-compose up -d
$ docker exec monit_monit_1 monit status
$ firefox http://admin:monit@server:2812
Content type
Image
Digest
sha256:8bd122ceb…
Size
3 MB
Last updated
about 5 years ago
docker pull vimagick/monit