oddments/collecty.git
3 months agolocale: Use LANGUAGE instead of legacy LANG master
Michael Tremer [Mon, 28 Sep 2020 17:26:26 +0000 (17:26 +0000)] 
locale: Use LANGUAGE instead of legacy LANG

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoi18n: Update German translation
Michael Tremer [Mon, 28 Sep 2020 17:25:17 +0000 (17:25 +0000)] 
i18n: Update German translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoAuto-generate POTFILES.in and update translations
Michael Tremer [Mon, 28 Sep 2020 17:08:06 +0000 (17:08 +0000)] 
Auto-generate POTFILES.in and update translations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Swap widths and height
Michael Tremer [Mon, 28 Sep 2020 17:05:09 +0000 (17:05 +0000)] 
graphs: Swap widths and height

I messed this up

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agolocales: Drop our custom module
Michael Tremer [Mon, 28 Sep 2020 17:04:09 +0000 (17:04 +0000)] 
locales: Drop our custom module

Gettext can handle this for us

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoRemove or move as many constants as possible
Michael Tremer [Mon, 28 Sep 2020 16:40:13 +0000 (16:40 +0000)] 
Remove or move as many constants as possible

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Increase default width to 960px
Michael Tremer [Mon, 28 Sep 2020 16:22:38 +0000 (16:22 +0000)] 
graphs: Increase default width to 960px

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Make backgrounds transparent
Michael Tremer [Mon, 28 Sep 2020 16:21:16 +0000 (16:21 +0000)] 
graphs: Make backgrounds transparent

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoAvoid unnecessary module load
Michael Tremer [Mon, 28 Sep 2020 16:18:16 +0000 (16:18 +0000)] 
Avoid unnecessary module load

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Move collectyd to /usr/sbin
Michael Tremer [Mon, 28 Sep 2020 16:16:00 +0000 (16:16 +0000)] 
daemon: Move collectyd to /usr/sbin

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoRename collecty-client to collecty
Michael Tremer [Mon, 28 Sep 2020 16:07:03 +0000 (16:07 +0000)] 
Rename collecty-client to collecty

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodbus: Move bus domain into bus submodule
Michael Tremer [Mon, 28 Sep 2020 16:05:02 +0000 (16:05 +0000)] 
dbus: Move bus domain into bus submodule

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoclient: Rename CollectyClient to Collecty
Michael Tremer [Mon, 28 Sep 2020 16:02:40 +0000 (16:02 +0000)] 
client: Rename CollectyClient to Collecty

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agocollectly-client: Move CLI code into CLI script
Michael Tremer [Mon, 28 Sep 2020 16:00:45 +0000 (16:00 +0000)] 
collectly-client: Move CLI code into CLI script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agocollectd: Rewrite script according to modern Python standards
Michael Tremer [Mon, 28 Sep 2020 15:35:24 +0000 (15:35 +0000)] 
collectd: Rewrite script according to modern Python standards

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Rename class and do not load with main module
Michael Tremer [Mon, 28 Sep 2020 15:30:07 +0000 (15:30 +0000)] 
daemon: Rename class and do not load with main module

This avoids the whole daemon code being loaded in clients

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoplugins: Remove unused variable
Michael Tremer [Mon, 28 Sep 2020 15:24:31 +0000 (15:24 +0000)] 
plugins: Remove unused variable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Refactor WriteQueue without Python's queue module
Michael Tremer [Mon, 28 Sep 2020 11:39:07 +0000 (11:39 +0000)] 
daemon: Refactor WriteQueue without Python's queue module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Refactor some parts of the write queue
Michael Tremer [Mon, 28 Sep 2020 11:28:20 +0000 (11:28 +0000)] 
daemon: Refactor some parts of the write queue

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Make WriteQueue thread-safe
Michael Tremer [Mon, 28 Sep 2020 11:18:04 +0000 (11:18 +0000)] 
daemon: Make WriteQueue thread-safe

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoTidy up collection and remove double-handling of unexpected exceptions
Michael Tremer [Mon, 28 Sep 2020 11:10:55 +0000 (11:10 +0000)] 
Tidy up collection and remove double-handling of unexpected exceptions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoconntrack: Refactor plugin
Michael Tremer [Mon, 28 Sep 2020 10:49:51 +0000 (10:49 +0000)] 
conntrack: Refactor plugin

This drops most of the functionality which is not sustainable
with a large number of connections.

Fixes: #12475
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Remove deprecated STACK command
Michael Tremer [Thu, 24 Sep 2020 15:01:00 +0000 (15:01 +0000)] 
graphs: Remove deprecated STACK command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessor: Add outlines like all other graphs
Michael Tremer [Thu, 24 Sep 2020 14:58:16 +0000 (14:58 +0000)] 
processor: Add outlines like all other graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Make areas less opaque
Michael Tremer [Thu, 24 Sep 2020 14:52:09 +0000 (14:52 +0000)] 
graphs: Make areas less opaque

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agomemory: Refactor plugin to store data in kilobytes instead of percentages
Michael Tremer [Thu, 24 Sep 2020 14:48:52 +0000 (14:48 +0000)] 
memory: Refactor plugin to store data in kilobytes instead of percentages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agomemory: Refactor graph
Michael Tremer [Thu, 24 Sep 2020 14:17:16 +0000 (14:17 +0000)] 
memory: Refactor graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoloadavg: Refactor graph
Michael Tremer [Thu, 24 Sep 2020 14:09:10 +0000 (14:09 +0000)] 
loadavg: Refactor graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agolatency: Refactor graph
Michael Tremer [Thu, 24 Sep 2020 14:01:42 +0000 (14:01 +0000)] 
latency: Refactor graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoipfrag: Refactor graphs
Michael Tremer [Thu, 24 Sep 2020 13:45:07 +0000 (13:45 +0000)] 
ipfrag: Refactor graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agointerrupts: Refactor graphs
Michael Tremer [Thu, 24 Sep 2020 13:36:31 +0000 (13:36 +0000)] 
interrupts: Refactor graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agointerfaces: Refactor graphs
Michael Tremer [Thu, 24 Sep 2020 13:34:10 +0000 (13:34 +0000)] 
interfaces: Refactor graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodisk: Refactor bad sectors graph
Michael Tremer [Thu, 24 Sep 2020 12:52:00 +0000 (12:52 +0000)] 
disk: Refactor bad sectors graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodf: Refactor graphs
Michael Tremer [Thu, 24 Sep 2020 12:37:37 +0000 (12:37 +0000)] 
df: Refactor graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Correctly apply area opacity
Michael Tremer [Thu, 24 Sep 2020 12:23:59 +0000 (12:23 +0000)] 
graphs: Correctly apply area opacity

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Make the first column slightly wider
Michael Tremer [Thu, 24 Sep 2020 12:16:34 +0000 (12:16 +0000)] 
graphs: Make the first column slightly wider

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agocontext switches: Refactor graph
Michael Tremer [Thu, 24 Sep 2020 12:08:25 +0000 (12:08 +0000)] 
context switches: Refactor graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessor: Redesign graph
Michael Tremer [Thu, 24 Sep 2020 12:00:24 +0000 (12:00 +0000)] 
processor: Redesign graph

Justify everything to use the full width and remove
idle percentages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agographs: Justify all legends
Michael Tremer [Thu, 24 Sep 2020 11:20:49 +0000 (11:20 +0000)] 
graphs: Justify all legends

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessors: Add line with total usage
Michael Tremer [Thu, 24 Sep 2020 11:12:46 +0000 (11:12 +0000)] 
processors: Add line with total usage

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agolatency: Ping 10 times within 10 seconds
Michael Tremer [Mon, 21 Sep 2020 15:03:27 +0000 (15:03 +0000)] 
latency: Ping 10 times within 10 seconds

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agointerrupts: Rename to interrupts from system-interrupts
Michael Tremer [Mon, 21 Sep 2020 14:45:45 +0000 (14:45 +0000)] 
interrupts: Rename to interrupts from system-interrupts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agointerrupts: Fix graph title when showing a specific interrupt
Michael Tremer [Mon, 21 Sep 2020 14:42:50 +0000 (14:42 +0000)] 
interrupts: Fix graph title when showing a specific interrupt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agointerrupts: Collect data for all interrupts
Michael Tremer [Mon, 21 Sep 2020 14:37:49 +0000 (14:37 +0000)] 
interrupts: Collect data for all interrupts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoAdd a simply backup mechanism
Michael Tremer [Mon, 21 Sep 2020 14:22:28 +0000 (14:22 +0000)] 
Add a simply backup mechanism

This is now called through DBUS and I am not sure whether
that is a good idea or not.

The upsides are that the client will never access files
directory, the downside is that the backup process blocks
the DBUS thread.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoDrop loading some unused modules
Michael Tremer [Mon, 21 Sep 2020 13:04:15 +0000 (13:04 +0000)] 
Drop loading some unused modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessor: Add guest_nice usage, too
Michael Tremer [Mon, 21 Sep 2020 10:50:37 +0000 (10:50 +0000)] 
processor: Add guest_nice usage, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessors: Plot steal and guest usage in graphs
Michael Tremer [Mon, 21 Sep 2020 09:58:02 +0000 (09:58 +0000)] 
processors: Plot steal and guest usage in graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoprocessors: Collect usage for all individual cores
Michael Tremer [Mon, 21 Sep 2020 09:50:03 +0000 (09:50 +0000)] 
processors: Collect usage for all individual cores

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Collect every plugin immediately after daemon launched
Michael Tremer [Mon, 21 Sep 2020 09:27:19 +0000 (09:27 +0000)] 
daemon: Collect every plugin immediately after daemon launched

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoplugins: Add a simple helper function to read integers from files
Michael Tremer [Sun, 20 Sep 2020 15:07:13 +0000 (15:07 +0000)] 
plugins: Add a simple helper function to read integers from files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoOpen all files in a with statement block
Michael Tremer [Sun, 20 Sep 2020 14:47:40 +0000 (14:47 +0000)] 
Open all files in a with statement block

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoTidy up imports of other modules
Michael Tremer [Sun, 20 Sep 2020 14:40:05 +0000 (14:40 +0000)] 
Tidy up imports of other modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agocolours: Fix importing functions
Michael Tremer [Sun, 20 Sep 2020 14:32:56 +0000 (14:32 +0000)] 
colours: Fix importing functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoloadavg: Fix legend alignment
Michael Tremer [Sun, 20 Sep 2020 14:27:09 +0000 (14:27 +0000)] 
loadavg: Fix legend alignment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Add plugins to scheduler when the daemon launches
Michael Tremer [Sun, 20 Sep 2020 14:23:19 +0000 (14:23 +0000)] 
daemon: Add plugins to scheduler when the daemon launches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoDo not load util submodule in __init__.py
Michael Tremer [Sun, 20 Sep 2020 14:19:40 +0000 (14:19 +0000)] 
Do not load util submodule in __init__.py

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoRemove unused list
Michael Tremer [Sun, 20 Sep 2020 14:15:17 +0000 (14:15 +0000)] 
Remove unused list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agore: Avoid pre-compiling regular expressions
Michael Tremer [Sun, 20 Sep 2020 14:10:13 +0000 (14:10 +0000)] 
re: Avoid pre-compiling regular expressions

Python has a cache for these

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoDrop unused Timer class
Michael Tremer [Sun, 20 Sep 2020 14:05:27 +0000 (14:05 +0000)] 
Drop unused Timer class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agolatency: Give plugin a lower priority
Michael Tremer [Sun, 20 Sep 2020 14:02:06 +0000 (14:02 +0000)] 
latency: Give plugin a lower priority

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Allow launch without any plugins
Michael Tremer [Sun, 20 Sep 2020 13:59:57 +0000 (13:59 +0000)] 
daemon: Allow launch without any plugins

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoDo not log supported locales
Michael Tremer [Sun, 20 Sep 2020 13:58:49 +0000 (13:58 +0000)] 
Do not log supported locales

This does not seem to be very helpful to me

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agodaemon: Drop our own scheduler and use sched
Michael Tremer [Sun, 20 Sep 2020 13:54:54 +0000 (13:54 +0000)] 
daemon: Drop our own scheduler and use sched

Our own implementation was trying to be very accurate which
comes with a large overhead and is largely unnecessary.

This patch removes the threading approach which kept multiple
timers and replaces it with one simple deadline scheduler.

Plugins will have to ensure that they are not blocking the
collection.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agocolours: Fix string formatting for transparency
Michael Tremer [Sun, 20 Sep 2020 13:11:51 +0000 (13:11 +0000)] 
colours: Fix string formatting for transparency

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agologging: Tidy up code and align with other projects
Michael Tremer [Sun, 20 Sep 2020 12:56:27 +0000 (12:56 +0000)] 
logging: Tidy up code and align with other projects

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoFix import of _collecty module
Michael Tremer [Sun, 20 Sep 2020 12:53:11 +0000 (12:53 +0000)] 
Fix import of _collecty module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoMove color functions into the color module
Michael Tremer [Sun, 20 Sep 2020 12:50:46 +0000 (12:50 +0000)] 
Move color functions into the color module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoDrop entropy plugin
Michael Tremer [Sun, 10 May 2020 18:41:27 +0000 (19:41 +0100)] 
Drop entropy plugin

This is no longer useful.

The Linux kernel has changed to only use the its internal PRNG
for /dev/random and /dev/urandom.

Once it is seeded, it will spit out as many random data as you
would like, but would not require an entropy pool being filled
up as much.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoMakefile: Fix generating man-pages only
Michael Tremer [Fri, 2 Jun 2017 11:36:42 +0000 (12:36 +0100)] 
Makefile: Fix generating man-pages only

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoRemove TODO list
Michael Tremer [Fri, 21 Oct 2016 21:11:16 +0000 (23:11 +0200)] 
Remove TODO list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agolatency: Show "Default Gateway" in headline for gateway
Michael Tremer [Fri, 21 Oct 2016 21:04:19 +0000 (23:04 +0200)] 
latency: Show "Default Gateway" in headline for gateway

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoprocessor: Show processor usage in percent instead of jiffies
Michael Tremer [Fri, 21 Oct 2016 20:41:31 +0000 (22:41 +0200)] 
processor: Show processor usage in percent instead of jiffies

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodisk: Fix exporting graphs
Arne Fitzenreiter [Thu, 20 Oct 2016 19:55:52 +0000 (19:55 +0000)] 
disk: Fix exporting graphs

Colour module was not included

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodisk: Catch error for SMART devices w/o tmp sensors
Arne Fitzenreiter [Wed, 19 Oct 2016 20:55:23 +0000 (20:55 +0000)] 
disk: Catch error for SMART devices w/o tmp sensors

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agolatency: Silence "no replies received" when no IPv6 connectivity
Michael Tremer [Mon, 5 Sep 2016 11:40:20 +0000 (13:40 +0200)] 
latency: Silence "no replies received" when no IPv6 connectivity

This will just clutter the log files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoReplace Nones with UNKNOWN instead of NaN
Michael Tremer [Mon, 5 Sep 2016 11:19:35 +0000 (13:19 +0200)] 
Replace Nones with UNKNOWN instead of NaN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agolatency: Ping 'gateway'
Michael Tremer [Sat, 19 Dec 2015 22:32:44 +0000 (23:32 +0100)] 
latency: Ping 'gateway'

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoconntrack: Reformat now/avg/min/max values below graph
Michael Tremer [Fri, 18 Dec 2015 21:51:20 +0000 (22:51 +0100)] 
conntrack: Reformat now/avg/min/max values below graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoSplit the C module into multiple smaller files
Michael Tremer [Fri, 18 Dec 2015 21:27:55 +0000 (22:27 +0100)] 
Split the C module into multiple smaller files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/collecty
Michael Tremer [Fri, 18 Dec 2015 20:46:14 +0000 (21:46 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/collecty

Conflicts:
src/collecty/plugins/base.py
src/collecty/plugins/cpufreq.py
src/collecty/plugins/sensors.py

5 years agoIntroduce a colour scheme and fix design of the graphs
Michael Tremer [Fri, 18 Dec 2015 20:38:38 +0000 (21:38 +0100)] 
Introduce a colour scheme and fix design of the graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocpufreq: Fix graph generation
Michael Tremer [Tue, 15 Dec 2015 23:04:35 +0000 (23:04 +0000)] 
cpufreq: Fix graph generation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agosensors: Make the lines less fat
Michael Tremer [Tue, 15 Dec 2015 22:53:37 +0000 (22:53 +0000)] 
sensors: Make the lines less fat

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agosensors: Fall back to ACPI temperature sensor to processor temperature
Michael Tremer [Tue, 15 Dec 2015 22:51:29 +0000 (22:51 +0000)] 
sensors: Fall back to ACPI temperature sensor to processor temperature

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoRefectoring of the main classes
Michael Tremer [Tue, 15 Dec 2015 21:51:02 +0000 (22:51 +0100)] 
Refectoring of the main classes

This is supposed to remove some too complicated and
redundant code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoRefectoring of the main classes test
Michael Tremer [Tue, 15 Dec 2015 21:51:02 +0000 (22:51 +0100)] 
Refectoring of the main classes

This is supposed to remove some too complicated and
redundant code.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoRemove some unused code
Michael Tremer [Mon, 14 Dec 2015 23:44:50 +0000 (00:44 +0100)] 
Remove some unused code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoconntrack: Sort graph areas by standard deviation
Michael Tremer [Mon, 14 Dec 2015 23:31:59 +0000 (00:31 +0100)] 
conntrack: Sort graph areas by standard deviation

This makes the graphs more readable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAllow getting the standard deviation of the plotted values
Michael Tremer [Mon, 14 Dec 2015 22:50:19 +0000 (23:50 +0100)] 
Allow getting the standard deviation of the plotted values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoMake RRD key names accessible as a list
Michael Tremer [Mon, 14 Dec 2015 22:01:46 +0000 (23:01 +0100)] 
Make RRD key names accessible as a list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAdd some magic to collecty that makes the graph templates smaller
Michael Tremer [Mon, 14 Dec 2015 21:54:47 +0000 (22:54 +0100)] 
Add some magic to collecty that makes the graph templates smaller

This patch will automatically add DEFs for all DSes in a
RR database. For all DEFs and CDEFs will be VDEFs generated
with the current, minimum and maximum values.

That reduces the size of the RRD graph templates massively
and makes them better readable and editable.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoentropy: Remove trend line
Michael Tremer [Mon, 14 Dec 2015 00:19:00 +0000 (01:19 +0100)] 
entropy: Remove trend line

This does not add any useful information

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAllow generating thumbnails of graph images
Michael Tremer [Mon, 14 Dec 2015 00:11:58 +0000 (01:11 +0100)] 
Allow generating thumbnails of graph images

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoMake the graph title optional
Michael Tremer [Sun, 13 Dec 2015 00:06:12 +0000 (01:06 +0100)] 
Make the graph title optional

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoBump version to 004 004
Michael Tremer [Sat, 12 Dec 2015 23:37:53 +0000 (23:37 +0000)] 
Bump version to 004

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoCommit all collected data in the write cache to disk when generating a graph
Michael Tremer [Sat, 12 Dec 2015 23:27:25 +0000 (00:27 +0100)] 
Commit all collected data in the write cache to disk when generating a graph

Therefore we will always get the latest data drawn
in the graph image even when writing data to disk
is happening delayed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAdd graphs for IP fragmentation
Michael Tremer [Sat, 12 Dec 2015 22:26:22 +0000 (22:26 +0000)] 
Add graphs for IP fragmentation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoconfigure: Check for all headers we use
Michael Tremer [Sat, 12 Dec 2015 18:09:52 +0000 (18:09 +0000)] 
configure: Check for all headers we use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAdd df plugin
Michael Tremer [Sat, 12 Dec 2015 18:05:28 +0000 (18:05 +0000)] 
Add df plugin

The df plugin collects data about the filesystem and
inode usage.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>