Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/littlemaneuver/open-m-monit

opensource version of m/monit
https://github.com/littlemaneuver/open-m-monit

Last synced: 3 months ago
JSON representation

opensource version of m/monit

Awesome Lists containing this project

README

        

# Open-m-monit on Nodejs

### how to run
1. Create the file config.json and add your monit servers:

```javascript
{"clusterName":
[
{
"hostname": "serverHostname or ip and port",
"username": "baseAuth username",
"password": "your baseAuth password",
"protocol": "https(optional, http by default)",
"alias" : "aliasName(optional, means short name)"
},
....
],
....
}
```
2. Configure your port. U can use **tcp** or **unix** socket. Change *port.json*:

```javascript
{
"type": "tcp",
"port": 3000
}
```
or:

```javascript
{
"type": "unix",
"socket": "path_to_file"
}
```
3. run `node app`
Your open-m-monit is at `your.hostname:port`.

All information about m-monit is available [here](http://mmonit.com/).