collecty.git
5 years agointerface: Collect interface stats twice a minute
Michael Tremer [Sat, 6 Jun 2015 09:40:29 +0000 (09:40 +0000)] 
interface: Collect interface stats twice a minute

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agolatency: Remove default interval
Michael Tremer [Sat, 6 Jun 2015 09:40:02 +0000 (09:40 +0000)] 
latency: Remove default interval

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoloadavg: Collect data only once a minute
Michael Tremer [Sat, 6 Jun 2015 09:39:36 +0000 (09:39 +0000)] 
loadavg: Collect data only once a minute

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoGenerate graphs in memory
Michael Tremer [Wed, 27 May 2015 23:07:55 +0000 (23:07 +0000)] 
Generate graphs in memory

Remove Python 2 hack that created a temporary file on disk
in which the graph was written and then read the file content
back in. The Python 3 module allows us to write the graph
directly into a buffer.

5 years agoExpand RRD files to hold data up to five years
Michael Tremer [Wed, 27 May 2015 23:02:54 +0000 (23:02 +0000)] 
Expand RRD files to hold data up to five years

5 years agoMigrate to Python 3
Michael Tremer [Wed, 27 May 2015 15:46:20 +0000 (15:46 +0000)] 
Migrate to Python 3

5 years agoAdd cpufreq plugin
Michael Tremer [Tue, 26 May 2015 23:14:00 +0000 (23:14 +0000)] 
Add cpufreq plugin

5 years agoImplement worker thread concept
Michael Tremer [Tue, 26 May 2015 17:18:38 +0000 (17:18 +0000)] 
Implement worker thread concept

The threading model has been move from the plugins into
a worker thread model that has a constant number of threads
and should therefore waste even less resources.

5 years agoDo not crash write queue when a RRD file could not be written
Michael Tremer [Mon, 25 May 2015 21:54:27 +0000 (21:54 +0000)] 
Do not crash write queue when a RRD file could not be written

5 years agoconfigure: Call python just python
Michael Tremer [Mon, 25 May 2015 21:14:42 +0000 (21:14 +0000)] 
configure: Call python just python

5 years agoAdd sensors.py to POTFILES.in
Michael Tremer [Mon, 25 May 2015 21:13:05 +0000 (21:13 +0000)] 
Add sensors.py to POTFILES.in

5 years agodisk: Convert temperatures to Kelvin
Michael Tremer [Mon, 25 May 2015 21:08:11 +0000 (21:08 +0000)] 
disk: Convert temperatures to Kelvin

5 years agoCreate the object table only once and cache it
Michael Tremer [Mon, 25 May 2015 20:58:12 +0000 (20:58 +0000)] 
Create the object table only once and cache it

5 years agoNormalise the filenames of the RRDs
Michael Tremer [Mon, 25 May 2015 20:57:49 +0000 (20:57 +0000)] 
Normalise the filenames of the RRDs

5 years agoAdd sensors plugin
Michael Tremer [Mon, 25 May 2015 20:56:09 +0000 (20:56 +0000)] 
Add sensors plugin

This plugin uses the lm_sensors library to monitor
all sorts of internal sensors of a system. Those
could be temperature sensors, fan sensors or
voltage sensors.

5 years agoconfigure: Fix systemd detection
Stefan Schantl [Sun, 24 May 2015 10:53:40 +0000 (10:53 +0000)] 
configure: Fix systemd detection

5 years agoAllow the plugins to return the results as a tuple or list
Michael Tremer [Sun, 24 May 2015 10:48:53 +0000 (10:48 +0000)] 
Allow the plugins to return the results as a tuple or list

Therefore we do not have the necessity to format the result
into a format that rrdtool can parse later.

5 years agoAdd disk plugin
Michael Tremer [Sun, 24 May 2015 10:38:05 +0000 (10:38 +0000)] 
Add disk plugin

The disk plugin collects information about read and written
sectors, IO operations, bad sectors and the temperature of
the disks.

It uses libatasmart to collect that information.

5 years agoRemove translation template
Michael Tremer [Sun, 24 May 2015 10:33:37 +0000 (10:33 +0000)] 
Remove translation template

This is automatically created when make is executed.

5 years agoBump version to 002 002
Michael Tremer [Wed, 20 May 2015 12:20:48 +0000 (14:20 +0200)] 
Bump version to 002

5 years agoUpdate POTFILES
Michael Tremer [Tue, 19 May 2015 11:07:30 +0000 (11:07 +0000)] 
Update POTFILES

5 years agointerface: Show the correct interface name in graph
Michael Tremer [Tue, 19 May 2015 11:03:06 +0000 (11:03 +0000)] 
interface: Show the correct interface name in graph

5 years agoconntrack: Add graph templates
Michael Tremer [Tue, 19 May 2015 11:00:23 +0000 (11:00 +0000)] 
conntrack: Add graph templates

5 years agograph templates: Make some atttibutes easier to set
Michael Tremer [Tue, 19 May 2015 10:11:51 +0000 (10:11 +0000)] 
graph templates: Make some atttibutes easier to set

Often used configuration settings like the title of the
graph and similar are now properties of the class and
can therefore be easier changed.

5 years agoSilence non-debugging output a bit
Michael Tremer [Sun, 10 May 2015 19:21:01 +0000 (19:21 +0000)] 
Silence non-debugging output a bit

5 years agoRemove unused error class
Michael Tremer [Sun, 10 May 2015 19:09:54 +0000 (19:09 +0000)] 
Remove unused error class

5 years agoconntrack: Show protocol in object representation
Michael Tremer [Sun, 10 May 2015 19:07:50 +0000 (19:07 +0000)] 
conntrack: Show protocol in object representation

5 years agoUpdate TODO
Michael Tremer [Sun, 10 May 2015 19:04:47 +0000 (19:04 +0000)] 
Update TODO

5 years agoChange default image format to SVG
Michael Tremer [Sun, 10 May 2015 18:46:20 +0000 (18:46 +0000)] 
Change default image format to SVG

SVG is much better scalable and much faster to generate.
It can be resized and exported very well and therefore is
our preferred choice for graph images for now.

The image format can be requested when generating a graph
image.

5 years agoAdd dbus interface
Michael Tremer [Sun, 10 May 2015 18:30:48 +0000 (18:30 +0000)] 
Add dbus interface

Collecty will be able to generate graph images and send them
to the collecty-client via dbus.

5 years agoAdd conntrack plugin
Michael Tremer [Sat, 9 May 2015 12:46:53 +0000 (12:46 +0000)] 
Add conntrack plugin

This plugin monitors the connection table and collects
statistics about the usage of layer 3 protocols and uppper
layers. For stateful protocols like TCP, statistics about
the states are collected as well.

5 years agoRewrite plugin architecture
Michael Tremer [Fri, 8 May 2015 14:20:02 +0000 (14:20 +0000)] 
Rewrite plugin architecture

The plugin architecture has been rewritten so that there
is now one thread for each plugin and not for each object
any more. The objects are now processed in a queue and
the results are stored in a write cache module that writes
data to the RRD databases regularly or when needed.

This enables us to achieve our goal for a zeroconf approach
much better because every time data is collected it is scanned
for the available disks or interfaces or what ever is monitored
again.

5 years agoChange DataSources to be called Plugins
Michael Tremer [Thu, 7 May 2015 11:32:12 +0000 (11:32 +0000)] 
Change DataSources to be called Plugins

5 years agoImprove logging by using the native journal module
Michael Tremer [Tue, 5 May 2015 17:58:58 +0000 (17:58 +0000)] 
Improve logging by using the native journal module

5 years agoRemove support for reading configuration files
Michael Tremer [Tue, 5 May 2015 17:16:33 +0000 (17:16 +0000)] 
Remove support for reading configuration files

We are trying for a zero-conf approach here because we
assume that a system is constantly changing and therefore
is a static configuration almost a hundred percent useless.

5 years agoUse autotools 001
Michael Tremer [Tue, 5 May 2015 14:58:41 +0000 (14:58 +0000)] 
Use autotools

7 years agoUpdate translations - i.e. import pt_BR.
Michael Tremer [Wed, 5 Sep 2012 20:16:22 +0000 (20:16 +0000)] 
Update translations - i.e. import pt_BR.

7 years agoInstall daemon to /usr/sbin.
Michael Tremer [Sat, 1 Sep 2012 18:56:19 +0000 (18:56 +0000)] 
Install daemon to /usr/sbin.

7 years agoUpdate translation.
Michael Tremer [Sat, 1 Sep 2012 18:34:04 +0000 (18:34 +0000)] 
Update translation.

7 years agoBump version to 0.0.2. 0.0.2
Michael Tremer [Sat, 1 Sep 2012 18:23:48 +0000 (18:23 +0000)] 
Bump version to 0.0.2.

7 years agoUpdate plugins to adapt the recent changes.
Michael Tremer [Sat, 1 Sep 2012 18:19:59 +0000 (18:19 +0000)] 
Update plugins to adapt the recent changes.

7 years agoSimplify RRD descriptions.
Michael Tremer [Sat, 1 Sep 2012 18:18:05 +0000 (18:18 +0000)] 
Simplify RRD descriptions.

7 years agoTake running time of plugins into account when calculating interval.
Michael Tremer [Sat, 1 Sep 2012 18:00:58 +0000 (18:00 +0000)] 
Take running time of plugins into account when calculating interval.

7 years agoRemove redundant --step argument.
Michael Tremer [Sat, 1 Sep 2012 17:57:12 +0000 (17:57 +0000)] 
Remove redundant --step argument.

7 years agoAdd some more verbose logging when creating/updating RRDs.
Michael Tremer [Sat, 1 Sep 2012 17:49:28 +0000 (17:49 +0000)] 
Add some more verbose logging when creating/updating RRDs.

7 years agoFix stepsize/heartbeat when creating RRDs.
Michael Tremer [Sat, 1 Sep 2012 17:47:03 +0000 (17:47 +0000)] 
Fix stepsize/heartbeat when creating RRDs.

7 years agoAdd delay option to Timer().
Michael Tremer [Sat, 1 Sep 2012 17:45:23 +0000 (17:45 +0000)] 
Add delay option to Timer().

7 years agoAdd latency plugin.
Michael Tremer [Sat, 1 Sep 2012 17:44:39 +0000 (17:44 +0000)] 
Add latency plugin.

7 years agointerface: Add graph templates.
Michael Tremer [Sat, 25 Aug 2012 21:24:48 +0000 (21:24 +0000)] 
interface: Add graph templates.

7 years agoSplit plugins into data sources and graph templates.
Michael Tremer [Sat, 25 Aug 2012 18:47:50 +0000 (18:47 +0000)] 
Split plugins into data sources and graph templates.

7 years agoAdd plugin to collect traffic data from interfaces.
Michael Tremer [Sat, 25 Aug 2012 16:02:50 +0000 (16:02 +0000)] 
Add plugin to collect traffic data from interfaces.

7 years agoplugins: Automatically create RRAs.
Michael Tremer [Sat, 25 Aug 2012 15:40:30 +0000 (15:40 +0000)] 
plugins: Automatically create RRAs.

7 years agoplugins: Filenames should contain the ID.
Michael Tremer [Sat, 25 Aug 2012 15:39:57 +0000 (15:39 +0000)] 
plugins: Filenames should contain the ID.

7 years agoplugin: Pass kwargs to custom init method.
Michael Tremer [Sat, 25 Aug 2012 15:37:50 +0000 (15:37 +0000)] 
plugin: Pass kwargs to custom init method.

7 years agoAdd CollectyClient to generate graph images.
Michael Tremer [Sat, 25 Aug 2012 11:22:31 +0000 (11:22 +0000)] 
Add CollectyClient to generate graph images.

7 years agocollectyd: Accept -d for debugging mode. Read configuration files.
Michael Tremer [Tue, 21 Aug 2012 18:05:55 +0000 (18:05 +0000)] 
collectyd: Accept -d for debugging mode. Read configuration files.

7 years agoAdd systemd unit file.
Michael Tremer [Tue, 21 Aug 2012 17:38:06 +0000 (17:38 +0000)] 
Add systemd unit file.

8 years agoAdd transifex configuration.
Michael Tremer [Wed, 8 Aug 2012 09:40:28 +0000 (09:40 +0000)] 
Add transifex configuration.

8 years agoAvoid unnecessary updates of the pot file.
Michael Tremer [Wed, 8 Aug 2012 09:40:00 +0000 (09:40 +0000)] 
Avoid unnecessary updates of the pot file.

8 years agoImport German translation.
Michael Tremer [Wed, 8 Aug 2012 09:38:43 +0000 (09:38 +0000)] 
Import German translation.

8 years agoAdd translation stuff.
Michael Tremer [Wed, 8 Aug 2012 08:55:25 +0000 (08:55 +0000)] 
Add translation stuff.

8 years agoWrite all data to disk on SIGUSR1.
Michael Tremer [Sun, 5 Aug 2012 19:07:11 +0000 (19:07 +0000)] 
Write all data to disk on SIGUSR1.

8 years agoentropy: New plugin.
Michael Tremer [Sun, 5 Aug 2012 10:36:49 +0000 (10:36 +0000)] 
entropy: New plugin.

Collects the amount of kernel entropy.

8 years agoReplace those complicated wait construct by a efficient Timer class.
Michael Tremer [Sat, 4 Aug 2012 17:13:20 +0000 (17:13 +0000)] 
Replace those complicated wait construct by a efficient Timer class.

Timer is a low-resolution timeout system that lets us have
long timeouts very energy-efficient and interuptable.

8 years agoLet the main thread regularly submit all data to disk.
Michael Tremer [Sat, 4 Aug 2012 16:20:50 +0000 (16:20 +0000)] 
Let the main thread regularly submit all data to disk.

8 years agomemory: Update plugin.
Michael Tremer [Sat, 4 Aug 2012 15:51:55 +0000 (15:51 +0000)] 
memory: Update plugin.

8 years agomemory: Update plugin.
Michael Tremer [Sat, 4 Aug 2012 15:44:22 +0000 (15:44 +0000)] 
memory: Update plugin.

8 years agocpu: Automatically create one instance.
Michael Tremer [Sat, 4 Aug 2012 15:43:48 +0000 (15:43 +0000)] 
cpu: Automatically create one instance.

8 years agoEnable plugins to automatically create instances of them.
Michael Tremer [Sat, 4 Aug 2012 15:42:12 +0000 (15:42 +0000)] 
Enable plugins to automatically create instances of them.

So, we have some kind of autoconfiguration for the most things.

8 years agoAdd constants file.
Michael Tremer [Sat, 4 Aug 2012 14:41:48 +0000 (14:41 +0000)] 
Add constants file.

8 years agoFormat log messages, so one can see the origin of the message.
Michael Tremer [Sat, 4 Aug 2012 14:40:57 +0000 (14:40 +0000)] 
Format log messages, so one can see the origin of the message.

8 years agoGet rid of python-daemon. Properly handle signals.
Michael Tremer [Sat, 4 Aug 2012 14:23:48 +0000 (14:23 +0000)] 
Get rid of python-daemon. Properly handle signals.

8 years agoUpdate the CPU plugin for new schema.
Michael Tremer [Sat, 4 Aug 2012 12:36:28 +0000 (12:36 +0000)] 
Update the CPU plugin for new schema.

8 years agoplugins: Restructure the plugin concept.
Michael Tremer [Sat, 4 Aug 2012 12:36:08 +0000 (12:36 +0000)] 
plugins: Restructure the plugin concept.

8 years agoAdd some basic logging.
Michael Tremer [Sat, 4 Aug 2012 12:35:38 +0000 (12:35 +0000)] 
Add some basic logging.

8 years agoFix installation.
Michael Tremer [Sat, 4 Aug 2012 10:27:44 +0000 (10:27 +0000)] 
Fix installation.

8 years agoplugins: Split all plugins into separate files.
Michael Tremer [Sat, 4 Aug 2012 10:21:52 +0000 (10:21 +0000)] 
plugins: Split all plugins into separate files.

8 years agoCreate an i18n submodule.
Michael Tremer [Sat, 4 Aug 2012 09:53:57 +0000 (09:53 +0000)] 
Create an i18n submodule.

8 years agoAdd proper license headers.
Michael Tremer [Fri, 3 Aug 2012 14:03:12 +0000 (14:03 +0000)] 
Add proper license headers.

10 years agoDocumentation updates.
Michael Tremer [Tue, 17 Nov 2009 08:51:13 +0000 (09:51 +0100)] 
Documentation updates.

10 years agoAdd ability to run as a daemon.
Michael Tremer [Tue, 17 Nov 2009 08:48:50 +0000 (09:48 +0100)] 
Add ability to run as a daemon.

10 years agocolletcyd: Some code cleanup and commenting.
Michael Tremer [Tue, 17 Nov 2009 08:21:38 +0000 (09:21 +0100)] 
colletcyd: Some code cleanup and commenting.

No functional changes.

10 years agoAdd some command line flags and help.
Michael Tremer [Sun, 11 Oct 2009 23:14:48 +0000 (01:14 +0200)] 
Add some command line flags and help.

Run collectyd --help for more information
about the usage.

10 years agoTrivial code improvement. No functional change.
Michael Tremer [Sun, 11 Oct 2009 22:57:09 +0000 (00:57 +0200)] 
Trivial code improvement. No functional change.

10 years agoAdd a .gitignore file.
Michael Tremer [Sun, 11 Oct 2009 22:56:00 +0000 (00:56 +0200)] 
Add a .gitignore file.

10 years agoFix file permission.
Michael Tremer [Sun, 11 Oct 2009 22:54:36 +0000 (00:54 +0200)] 
Fix file permission.

10 years agoTODO: Add plugin wishlist.
Michael Tremer [Wed, 30 Sep 2009 18:30:21 +0000 (20:30 +0200)] 
TODO: Add plugin wishlist.

10 years agoAdd "make dist" target. 0.0.1
Michael Tremer [Tue, 22 Sep 2009 12:27:17 +0000 (14:27 +0200)] 
Add "make dist" target.

This will save a tarball of the actual HEAD.

10 years agoAdd further documentation.
Michael Tremer [Sun, 6 Sep 2009 18:56:20 +0000 (20:56 +0200)] 
Add further documentation.

10 years agoAdd license information.
Michael Tremer [Sun, 6 Sep 2009 18:49:52 +0000 (20:49 +0200)] 
Add license information.

10 years agoInitial checkin.
Michael Tremer [Sun, 6 Sep 2009 18:33:58 +0000 (20:33 +0200)] 
Initial checkin.