No description, website, or topics provided.
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
public
routes
views
.gitignore
README.md
config.sample.json
ddl.sql
package.json
server.js

README.md

Description

Crossmon services contains of two services. crossmon-server acts as http and storage server for the collected datas. The http server presents all the collected data in graphs trough the website. The second service crossmon-collect run on every machine you want to observe. This service starts periodically the collecting modules and send the collected datas to the crossmon-server.

A sample configuration file can be found in the module directory. At the startup crossmon-server searches for a configuration file.

This is the search order:

  • /etc/crossmon/config.json
  • [module-home-directory]/config.json
  • [module-home-directory]/config.sample.json

Depending on your configuration you need to install a database module:

  • npm install sqlite3 for storing the data in a sqlite-database
  • npm install mysql for storing the data in a mysql-database
  • other databases comming soon ...

Requirements

Installation

npm install crossmon-server -g

To start with a sample configuration gattering the cpu usage of the current machine you can use the simple setup script:

crossmon-server simplesetup

To configure the hole service including the allowed collecting machines (clients), you can run:

crossmon-server setup

Running

You can start the service with

crossmon-server start

Stop the service with

crossmon-server stop

Restarting the service with

crossmon-server restart

Getting information of the current configuration

crossmon-server info