Skip to content

akunich/open-m-monit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Open-m-monit on Nodejs

###Clone this repo and do the follow:

  1. Create the file config.json and add your monit servers:
{"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)"
            },
            ....
        ],
        ....
    }
  1. Configure your port. U can use tcp or unix socket. Change port.json:
{
    "type": "tcp",
    "port": 3000
}

or:

{
    "type": "unix",
    "socket": "path_to_file"
}
  1. Get inside the containing directory (if you haven't already) and type node app Your open-m-monit is at your.hostname:port.

All information about m-monit is available here.

About

opensource version of m/monit

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.3%
  • HTML 3.3%
  • CSS 1.4%