An open API service indexing awesome lists of open source software.

https://github.com/shreyaskarnik/monit-docker

Dockerized Monit
https://github.com/shreyaskarnik/monit-docker

Last synced: 5 months ago
JSON representation

Dockerized Monit

Awesome Lists containing this project

README

          

# Dockerized Monit

Clone this repo.

Edit [monitrc](http://mmonit.com/monit/documentation/monit.html#THE-MONIT-CONTROL-FILE) to set your monit config.

Add Configuration for Services/Process that you want to monitor in conf.d

For example, nginx monitoring can be added in conf.d as

```
check process nginx with pidfile /var/run/nginx.pid
start program = "/etc/init.d/nginx start"
stop program = "/etc/init.d/nginx stop"
```

Build Docker Image ```docker build -t .```

Monit Image is ready and can be invoked as ```docker run -d -p 2812:2812 ```

Monit is now running and is available at ```:2812```