项目作者: panubo

项目描述 :
Docker Monit image
高级语言: Shell
项目地址: git://github.com/panubo/docker-monit.git
创建时间: 2016-05-16T05:30:49Z
项目社区:https://github.com/panubo/docker-monit

开源协议:MIT License

下载


Monit Docker Image

Docker optimised Monit image.

Environment config

  • SMTP_HOST - define this or link with an SMTP container that provides SMTP_PORT_587_TCP_ADDR
  • USERNAME - auth username (default: admin)
  • PASSWORD - auth password (required)
  • ALERT_EMAIL - alert email address

Special features

  • Mount the host filesystems to /host and they will be added to the configuration automatically.
  • Mount /etc/monit/results to the host and place the exit code of services to have them monitored. eg example.service.result
  • Custom scripts in checks which will automatically be added and run.

Usage Example

  1. docker run --rm --hostname myhost \
  2. --security-opt label:disable \
  3. --privileged \
  4. -v /:/host/:ro \
  5. -v /dev:/host/dev \
  6. quay.io/panubo/monit