0.1.0 • Published 11 years ago
wts-monit v0.1.0
wts-monit
Send commands to remote terminal to execute and then show result on the web console.
WTS monitor launch a socket server as RPC server, any remote(or maybe the monitor self) terminal can create a socket then connect to the RPC server.
Also WTS monitor will launch a websocket server to manage all remote clients.
The system architecture:

runtime screenshots:

Usage
- install via npm
npm install wts-monit- install dependencies
npm install- conf server(s) port
vim conf/index.js- run as debug
node --harmony index.js # Node.js v0.12+
node/iojs index.js # iojs- deploy via
pm2
pm2 start pm2_deploy.jsonthen open http://[YOUR HOST]:[YOUR PORT] in browser.
socket clients written by different languages
- Node.js client: wts-node
Todo
login access control
command access control
License
Copyright (c) 2015, chemdemo (MIT License)
0.1.0
11 years ago