Skip to content

icaliman/saron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saron: Smart Web Monitor

Monitor and control remote servers and PCs using Node.js and Derby.

See it in action: http://youtu.be/06dIIVQUuJ4

Installation

Install Saron main app:

 > git clone https://github.com/icaliman/saron.git
 > cd saron
 > npm install
 > node server.js

Open browser at http://localhost:3000/login and register.

To start monitoring a server or PC, install Saron Daemon

> git clone https://github.com/icaliman/saron-daemon.git
> cd saron-daemon
> npm install

Now you must configure Saron Daemon. Open configuration.js file and edit it:

module.exports = {
  nodeName: "My Laptop", // a name for monitored server
  auth: {
    email: "[email protected]" // email whom you registered to Saron app
  },
  plugins: [ // plugins you want to use for this server
    "terminal", // you will have a terminal in browser connected to this server, useful for remote control
    "monitor",  // you will see in browser CPU, RAM and Hard Disk usage
    "logs"      // you will see in browser all logs from monitored log files
  ],
  logStreams: { // monitored log files, optional
    apache_stream_1: [
      "F:\\Programare\\Node.JS\\derby-0.6\\tests\\logs\\test_logs.txt"
    ],
    apache_stream_2: [
      "F:\\Programare\\Node.JS\\derby-0.6\\tests\\logs\\test_logs2.txt"
    ]
  },
  monitoredDrives: ['F', 'E', 'C'], // Disk drives you want to monitorize, on linux use '/'
  server: { // address to Saron server, you can use port and host or a full url
//    url: 'https://saron-monitor-c9-icaliman.c9.io',
    host: '127.0.0.1',
    port: 3000
  }
}

And finally start Saron Daemon:

> node index.js

Open browser at http://localhost:3000/admin and enjoy.

Releases

No releases published

Packages

No packages published