Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dsabanin/monitmonit
Browse files Browse the repository at this point in the history
  • Loading branch information
dsabanin committed Oct 23, 2013
2 parents a126210 + 8107e75 commit 3d9f7f9
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
# monitmonit

Dashboard to monitor and control services managed by monit across servers.
Simple dashboard to monitor and control services managed by monit across servers.

Connects through SSH using your ~/.ssh/config settings.
Connects through SSH using your `~/.ssh/config` settings.

## Screenshots
<img width="600" src="http://f.cl.ly/items/3n2X0U2w1Q1e3K2q0v2d/monitmonit.png" />

### Dashboard
## Requirements

<img width="500" src="http://f.cl.ly/items/3F0s2i1b0Y2w2a2T1H2l/monitmonit-dashboard.png" />

### Details

<img width="300" src="http://f.cl.ly/items/40230k0c3F2Z0K112V0n/monitmonit-details.png" />
* Java to run the dashboard (Tested with 1.7)
* Monit on your nodes
* Permissions to run monit command through SSH

## Getting Started

1. Copy the config.clj.example into config.clj and edit it
2. Make sure that ~/.ssh/config knows about the hosts you want to monitor
3. The user you're connecting to remote servers with should be able to run "sudo monit" without password
4. Start the application: `lein run`
1. Download and unzip the [latest release](https://github.com/dsabanin/monitmonit/releases).
2. Edit the config.clj file with the names of your nodes
3. Make sure that `~/.ssh/config` knows about the nodes you want to monitor
4. The user you're connecting to the nodes with should be able to run "sudo monit" without password
5. Start the application: `./run.sh`
5. Go to [localhost:8080](http://localhost:8080/)

## Troubleshooting

1. Make sure you can connect through SSH to all the nodes you listed in your `config.clj`
2. Make sure `sudo monit` command running on your nodes doesn't ask for password.
3. If you don't require `sudo` to run monit command, change the `monit-template` config parameter.

---

<img width="744" src="http://cdn.meme.li/i/p8atj.jpg" />

0 comments on commit 3d9f7f9

Please sign in to comment.