-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:dsabanin/monitmonit
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" /> |