Menu

Tree [4eaaa2] master /
 History

HTTPS access


File Date Author Commit
 css 2010-01-19 Kayo Phoenix Kayo Phoenix [d4ff88] Pretty changes..
 debian 2010-01-21 Kayo Phoenix Kayo Phoenix [5be5e4] Merge branch 'master' of ssh://collectw.git.sou...
 ecm 2010-01-19 Kayo Phoenix Kayo Phoenix [d4ff88] Pretty changes..
 COPYING 2009-12-18 Kayo Phoenix Kayo Phoenix [513f35] Add text files.
 Makefile 2013-05-16 Kayo Phoenix Kayo Phoenix [4eaaa2] Added sort of scripts in build.
 README 2010-01-18 Kayo Phoenix Kayo Phoenix [5c7fab] package.docs added..
 collectw.c 2010-03-27 PhoeniX11 Kayo PhoeniX11 Kayo [692eb0] Merge branch 'master' of ssh://phoenix11@...
 collectw.h 2009-12-23 Kayo Phoenix Kayo Phoenix [70ee66] Add current time request.
 collectw.r 2010-03-27 PhoeniX11 Kayo PhoeniX11 Kayo [692eb0] Merge branch 'master' of ssh://phoenix11@...
 configure 2010-01-06 PhoeniX11 Kayo PhoeniX11 Kayo [9a50cb] Some build system modifications. Checking depen...
 default-collectw 2010-01-07 PhoeniX11 Kayo PhoeniX11 Kayo [c0bf0d] init.d script written..
 icon.png 2010-01-18 Kayo Phoenix Kayo Phoenix [b727ba] favicon added..
 icon.svg 2010-01-10 PhoeniX11 Kayo PhoeniX11 Kayo [40dd33] Icon updated..
 sapi_fcgx.c 2010-03-27 PhoeniX11 Kayo PhoeniX11 Kayo [692eb0] Merge branch 'master' of ssh://phoenix11@...
 sapi_fcgx.h 2009-12-17 Kayo Phoenix Kayo Phoenix [acdacc] FCGX SAPI now completed.
 sapi_fcgx.n 2009-12-17 Kayo Phoenix Kayo Phoenix [9b7bff] Add commandline help.
 sapi_fcgx.r 2010-03-27 PhoeniX11 Kayo PhoeniX11 Kayo [692eb0] Merge branch 'master' of ssh://phoenix11@...
 urlcode.c 2010-01-10 PhoeniX11 Kayo PhoeniX11 Kayo [d24f97] urlcode.{h,c} added.
 urlcode.h 2010-01-10 PhoeniX11 Kayo PhoeniX11 Kayo [d24f97] urlcode.{h,c} added.
 user-config.json 2010-01-10 PhoeniX11 Kayo PhoeniX11 Kayo [68ab40] Changes in example user-config.json

Read Me

CollectW - Modern Web UI for Collectd

* Build Dependencies

  librrd-dev    - RRD Tool API, needed for compilation core code.
  libfcgi-dev   - FCGX API, needed for compiling FastCGI SAPI.


* Installation Dependencies

  collectd	- CollectD engine for producing needed RRD databases.


* Configuration options

--prefix=/usr/local				- Global installation prefix
--bin-dir=/bin					- Directory (from prefix) for installation FastCGI data traversing engine.
--web-dir=/share/collectw			- Base Directory for installation Web UI files (also from prefix).
--with-interface=fcgx				- SAPI Interface, which will be used for build (now only fcgx available).
--with-rrd-basedir=/var/lib/collectd/rrd	- Where will be located RRD databases (by default).
--with-user-config=/etc/collectw.json		- Where will be located User Config for Web UI.

--with-libfcgi-include-dir=/path/to/fcgiapp.h
--with-libfcgi-lib-dir=/path/to/libfcgi.so
--with-librrd-include-dir=/path/to/rrd.h
--with-librrd-lib-dir=/path/to/librrd.so


* User's config

Format of this file is very simple. It represented hierarchical data structure in JSON (http://json.org/) format,
like this:

{
  'View Tab 1':{
    'Chart 1':{ // Graph
      'host/group1/element1':{ // Stroke
        title:'Value 1', color:'#F00', ....
      },
      'host/group2/element2:value':{},
      ....
    },
    'Chart 2': ....
  }
  'View Tab 2': ....
  ....
}


* Copyright notes

  jQuery - JavaScript Library
  http://jquery.com/
  Copyright (c) 2009 John Resig
  Dual licensed under the MIT and GPL licenses.
  http://docs.jquery.com/License
	
  Raphael - JavaScript Vector Library
  http://raphaeljs.com/
  Copyright (c) 2008 - 2009 Dmitry Baranovskiy
  Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.

  g.Raphael - Charting library, based on Raphaël
  http://g.raphaeljs.com/
  Copyright (c) 2009 Dmitry Baranovskiy
  Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.

  Date picker - JavaScript date selector
  http://www.eyecon.ro/
  Copyright (c) 2008 Stefan Petre
  Dual licensed under the MIT and GPL licenses

  CollectW - CollectD Web UI
  http://collectw.sf.net/
  Copyright (c) 2009 Phoenix Kayo
  Licensed under GPLv3.