]> git.ipfire.org Git - collecty.git/log
collecty.git
3 days agograph: Write the graph to the output stream
Michael Tremer [Thu, 2 Oct 2025 10:51:06 +0000 (10:51 +0000)] 
graph: Write the graph to the output stream

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agograph: Import the default arguments from the Python implementation
Michael Tremer [Thu, 2 Oct 2025 10:11:02 +0000 (10:11 +0000)] 
graph: Import the default arguments from the Python implementation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoMake Gettext available
Michael Tremer [Thu, 2 Oct 2025 10:10:27 +0000 (10:10 +0000)] 
Make Gettext available

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoImport some colours from the Python implementation
Michael Tremer [Thu, 2 Oct 2025 10:10:01 +0000 (10:10 +0000)] 
Import some colours from the Python implementation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agograph: Fix calling rrd_graph()
Michael Tremer [Thu, 2 Oct 2025 10:08:25 +0000 (10:08 +0000)] 
graph: Fix calling rrd_graph()

There is pretty much no documenation of librrd and the API has been
changed multiple times. Initially, various arguments have been labeled
optional, but that does not seem to be true for at least the
implementation I am testing against.

So we pass all variables that we function has, and we might as well
include them in the debugging output.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agoargs: Add function to add multiple pre-formatted arguments at once
Michael Tremer [Thu, 2 Oct 2025 09:35:57 +0000 (09:35 +0000)] 
args: Add function to add multiple pre-formatted arguments at once

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomodule: Remove hack where the event loop stores the reference
Michael Tremer [Thu, 2 Oct 2025 09:03:23 +0000 (09:03 +0000)] 
module: Remove hack where the event loop stores the reference

This was needed when we did not have a proper registry for all modules,
but it seems that that is now the easier way.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agograph: Pass the object to the render function
Michael Tremer [Thu, 2 Oct 2025 09:00:38 +0000 (09:00 +0000)] 
graph: Pass the object to the render function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agograph: Add a helper function to pull in all data sources from a module
Michael Tremer [Thu, 2 Oct 2025 08:58:22 +0000 (08:58 +0000)] 
graph: Add a helper function to pull in all data sources from a module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agograph: Add a render function to jump into the individual graphs
Michael Tremer [Thu, 2 Oct 2025 08:57:35 +0000 (08:57 +0000)] 
graph: Add a render function to jump into the individual graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomodules: Add function to fetch a specific module by its name
Michael Tremer [Thu, 2 Oct 2025 08:56:37 +0000 (08:56 +0000)] 
modules: Add function to fetch a specific module by its name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agodaemon: Add function to fetch all modules
Michael Tremer [Thu, 2 Oct 2025 08:56:14 +0000 (08:56 +0000)] 
daemon: Add function to fetch all modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agograph: Create the basic to render a graph
Michael Tremer [Wed, 1 Oct 2025 17:06:09 +0000 (17:06 +0000)] 
graph: Create the basic to render a graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agographs: Fix typo in variable name
Michael Tremer [Wed, 1 Oct 2025 16:48:57 +0000 (16:48 +0000)] 
graphs: Fix typo in variable name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agodaemon: Create a modules registry
Michael Tremer [Tue, 30 Sep 2025 16:50:25 +0000 (16:50 +0000)] 
daemon: Create a modules registry

Just like we have for graphs now

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agographs: Take the object name as first (and only) argument
Michael Tremer [Tue, 30 Sep 2025 16:37:51 +0000 (16:37 +0000)] 
graphs: Take the object name as first (and only) argument

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agograph: Add a Render() method to the bus to render graphs
Michael Tremer [Tue, 30 Sep 2025 16:34:25 +0000 (16:34 +0000)] 
graph: Add a Render() method to the bus to render graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agographs: Export them over dbus
Michael Tremer [Tue, 30 Sep 2025 15:51:12 +0000 (15:51 +0000)] 
graphs: Export them over dbus

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agographs: Add scaffolding for a loadavg graph
Michael Tremer [Tue, 30 Sep 2025 15:21:25 +0000 (15:21 +0000)] 
graphs: Add scaffolding for a loadavg graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 days agojenkins: Don't fail if the static analyzer didn't find any issues
Michael Tremer [Tue, 30 Sep 2025 08:36:09 +0000 (08:36 +0000)] 
jenkins: Don't fail if the static analyzer didn't find any issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agodaemon: Initialize all graphs when the daemon starts
Michael Tremer [Mon, 29 Sep 2025 18:05:27 +0000 (18:05 +0000)] 
daemon: Initialize all graphs when the daemon starts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agodaemon: Initialize all graphs when the daemon starts
Michael Tremer [Mon, 29 Sep 2025 17:53:01 +0000 (17:53 +0000)] 
daemon: Initialize all graphs when the daemon starts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agodaemon: Generalize the init/exit functions
Michael Tremer [Mon, 29 Sep 2025 17:50:02 +0000 (17:50 +0000)] 
daemon: Generalize the init/exit functions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agographs: Add scaffolding for a graph collection
Michael Tremer [Mon, 29 Sep 2025 17:40:16 +0000 (17:40 +0000)] 
graphs: Add scaffolding for a graph collection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agomain: Log an error if we could not free all resources
Michael Tremer [Mon, 29 Sep 2025 17:36:56 +0000 (17:36 +0000)] 
main: Log an error if we could not free all resources

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agographs: Add scaffolding for a new object
Michael Tremer [Mon, 29 Sep 2025 17:13:19 +0000 (17:13 +0000)] 
graphs: Add scaffolding for a new object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agodaemon: Add a basic dbus interfaces for graphs
Michael Tremer [Mon, 29 Sep 2025 17:03:47 +0000 (17:03 +0000)] 
daemon: Add a basic dbus interfaces for graphs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoqueue: Allocate the correct amount of memory
Michael Tremer [Mon, 29 Sep 2025 16:41:56 +0000 (16:41 +0000)] 
queue: Allocate the correct amount of memory

This has been found by the clang static analyzer.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agojenkins: The configure script does not have a --enable-debug switch
Michael Tremer [Mon, 29 Sep 2025 16:40:12 +0000 (16:40 +0000)] 
jenkins: The configure script does not have a --enable-debug switch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoconfigure: Make lm-sensors an optional dependency
Michael Tremer [Mon, 29 Sep 2025 16:39:23 +0000 (16:39 +0000)] 
configure: Make lm-sensors an optional dependency

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoconfigure: Check for pkg-config before using it
Michael Tremer [Mon, 29 Sep 2025 16:34:58 +0000 (16:34 +0000)] 
configure: Check for pkg-config before using it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoconfigure: Make libatasmart an optional dependency
Michael Tremer [Mon, 29 Sep 2025 16:34:04 +0000 (16:34 +0000)] 
configure: Make libatasmart an optional dependency

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoconfigure: Drop dependency to liboping
Michael Tremer [Mon, 29 Sep 2025 16:28:16 +0000 (16:28 +0000)] 
configure: Drop dependency to liboping

This won't be implemented in this daemon any more, but move to the
network daemon which is broadcasting the results over the bus.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoDrop the Python implementation
Michael Tremer [Mon, 29 Sep 2025 16:26:25 +0000 (16:26 +0000)] 
Drop the Python implementation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agodaemon: Export the version over dbus
Michael Tremer [Mon, 29 Sep 2025 16:21:24 +0000 (16:21 +0000)] 
daemon: Export the version over dbus

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agoAdd a Jenkinsfile
Michael Tremer [Mon, 29 Sep 2025 16:01:23 +0000 (16:01 +0000)] 
Add a Jenkinsfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 days agopo: Update langauge files
Michael Tremer [Mon, 29 Sep 2025 15:46:13 +0000 (15:46 +0000)] 
po: Update langauge files

This is mainly to make "make distcheck" happy.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agodaemon: Connect to dbus
Michael Tremer [Sun, 28 Sep 2025 12:04:46 +0000 (12:04 +0000)] 
daemon: Connect to dbus

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Explicitely clear any RRD errors
Michael Tremer [Sun, 28 Sep 2025 12:01:26 +0000 (12:01 +0000)] 
module: Explicitely clear any RRD errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoMake secure_getenv available
Michael Tremer [Sun, 28 Sep 2025 12:01:04 +0000 (12:01 +0000)] 
Make secure_getenv available

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodules: Add the conntrack module
Michael Tremer [Sun, 28 Sep 2025 11:14:06 +0000 (11:14 +0000)] 
modules: Add the conntrack module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoutil: Add helper function to read integers from file
Michael Tremer [Sun, 28 Sep 2025 11:13:45 +0000 (11:13 +0000)] 
util: Add helper function to read integers from file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Fix the heartbeat of the RRD database
Michael Tremer [Sun, 28 Sep 2025 10:57:34 +0000 (10:57 +0000)] 
module: Fix the heartbeat of the RRD database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodules: Add context switches
Michael Tremer [Sun, 28 Sep 2025 10:53:00 +0000 (10:53 +0000)] 
modules: Add context switches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoqueue: Commit only once every 5 minutes
Michael Tremer [Sun, 28 Sep 2025 10:09:07 +0000 (10:09 +0000)] 
queue: Commit only once every 5 minutes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Define some default RRAs
Michael Tremer [Sun, 28 Sep 2025 10:06:18 +0000 (10:06 +0000)] 
module: Define some default RRAs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: The step size is not passed as a command line argument
Michael Tremer [Sun, 28 Sep 2025 09:54:24 +0000 (09:54 +0000)] 
module: The step size is not passed as a command line argument

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Call RRD tool to create a new database
Michael Tremer [Sun, 28 Sep 2025 09:53:48 +0000 (09:53 +0000)] 
module: Call RRD tool to create a new database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoargs: Fix typo in function name
Michael Tremer [Sun, 28 Sep 2025 09:53:37 +0000 (09:53 +0000)] 
args: Fix typo in function name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Add the step size to the RRD configuration
Michael Tremer [Sun, 28 Sep 2025 09:48:33 +0000 (09:48 +0000)] 
module: Add the step size to the RRD configuration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodule: Format the data sources
Michael Tremer [Sun, 28 Sep 2025 09:42:48 +0000 (09:42 +0000)] 
module: Format the data sources

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoutil: Add helper function to format numbers for RRD
Michael Tremer [Sun, 28 Sep 2025 09:42:33 +0000 (09:42 +0000)] 
util: Add helper function to format numbers for RRD

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agomodules: Rename RRD schema
Michael Tremer [Sun, 28 Sep 2025 09:22:33 +0000 (09:22 +0000)] 
modules: Rename RRD schema

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoargs: Add function to dump the array
Michael Tremer [Sun, 28 Sep 2025 09:22:02 +0000 (09:22 +0000)] 
args: Add function to dump the array

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoargs: Make space in the array for the NULL termination
Michael Tremer [Sun, 28 Sep 2025 09:21:40 +0000 (09:21 +0000)] 
args: Make space in the array for the NULL termination

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoargs: Add functions to fetch values
Michael Tremer [Sun, 28 Sep 2025 09:06:34 +0000 (09:06 +0000)] 
args: Add functions to fetch values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoargs: Implement pushing arguments to the array
Michael Tremer [Sun, 28 Sep 2025 09:04:19 +0000 (09:04 +0000)] 
args: Implement pushing arguments to the array

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agodaemon: Create scaffolding to format argument lists
Michael Tremer [Sun, 28 Sep 2025 08:56:03 +0000 (08:56 +0000)] 
daemon: Create scaffolding to format argument lists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Define the RRD schema
Michael Tremer [Sat, 27 Sep 2025 18:14:10 +0000 (18:14 +0000)] 
modules: Define the RRD schema

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodule: Create scaffolding to create the database if it does not exist
Michael Tremer [Sat, 27 Sep 2025 18:04:38 +0000 (18:04 +0000)] 
module: Create scaffolding to create the database if it does not exist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodule: Implement batched committing of samples to the database
Michael Tremer [Sat, 27 Sep 2025 17:58:06 +0000 (17:58 +0000)] 
module: Implement batched committing of samples to the database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoLink against rrdtool
Michael Tremer [Sat, 27 Sep 2025 17:11:05 +0000 (17:11 +0000)] 
Link against rrdtool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoqueue: Store the timestamp with the sample
Michael Tremer [Sat, 27 Sep 2025 16:58:51 +0000 (16:58 +0000)] 
queue: Store the timestamp with the sample

We can no longer store it this way because we are storing multiple
samples in a single object now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoqueue: Store multiple samples in one queue object
Michael Tremer [Sat, 27 Sep 2025 16:54:52 +0000 (16:54 +0000)] 
queue: Store multiple samples in one queue object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoqueue: Flush on exit
Michael Tremer [Sat, 27 Sep 2025 16:11:00 +0000 (16:11 +0000)] 
queue: Flush on exit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Move the queue into a separate object
Michael Tremer [Sat, 27 Sep 2025 16:07:58 +0000 (16:07 +0000)] 
daemon: Move the queue into a separate object

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoActually free the objects
Michael Tremer [Sat, 27 Sep 2025 15:55:19 +0000 (15:55 +0000)] 
Actually free the objects

I don't know why I keep forgetting this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Flush the queue on SIGHUP
Michael Tremer [Sat, 27 Sep 2025 15:46:59 +0000 (15:46 +0000)] 
daemon: Flush the queue on SIGHUP

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Call a function to regularly flush the queue
Michael Tremer [Sat, 27 Sep 2025 15:41:14 +0000 (15:41 +0000)] 
daemon: Call a function to regularly flush the queue

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Cleanup the queue on exit
Michael Tremer [Sat, 27 Sep 2025 15:27:55 +0000 (15:27 +0000)] 
daemon: Cleanup the queue on exit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodule: Format any arguments on the stack
Michael Tremer [Sat, 27 Sep 2025 15:25:16 +0000 (15:25 +0000)] 
module: Format any arguments on the stack

We seem to be keeping the allocator quite busy, which we don't need to
do too much.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Store any submitted values
Michael Tremer [Sat, 27 Sep 2025 15:23:10 +0000 (15:23 +0000)] 
daemon: Store any submitted values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoloadavg: Actually read the loadavg
Michael Tremer [Sat, 27 Sep 2025 14:48:49 +0000 (14:48 +0000)] 
loadavg: Actually read the loadavg

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodule: Create a collect() function
Michael Tremer [Sat, 27 Sep 2025 14:48:34 +0000 (14:48 +0000)] 
module: Create a collect() function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Create a dummy function for modules to submit data
Michael Tremer [Sat, 27 Sep 2025 14:47:59 +0000 (14:47 +0000)] 
modules: Create a dummy function for modules to submit data

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Call a heartbeat function every 60s
Michael Tremer [Sat, 27 Sep 2025 14:15:41 +0000 (14:15 +0000)] 
modules: Call a heartbeat function every 60s

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Have each module call their own destructor
Michael Tremer [Sat, 27 Sep 2025 13:58:52 +0000 (13:58 +0000)] 
modules: Have each module call their own destructor

That allows us to not keep any references to the modules.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Make them a full-blown object
Michael Tremer [Sat, 27 Sep 2025 13:32:00 +0000 (13:32 +0000)] 
modules: Make them a full-blown object

This way we can store some module-specific things.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomodules: Create a dummy loadavg module
Michael Tremer [Sat, 27 Sep 2025 12:55:26 +0000 (12:55 +0000)] 
modules: Create a dummy loadavg module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agologging: Always compile in debug logging
Michael Tremer [Sat, 27 Sep 2025 12:54:43 +0000 (12:54 +0000)] 
logging: Always compile in debug logging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create some scaffolding for modules
Michael Tremer [Sat, 27 Sep 2025 12:42:45 +0000 (12:42 +0000)] 
daemon: Create some scaffolding for modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Terminate on SIGTERM/SIGINT
Michael Tremer [Sat, 27 Sep 2025 12:15:40 +0000 (12:15 +0000)] 
daemon: Terminate on SIGTERM/SIGINT

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Enable the watchdog
Michael Tremer [Sat, 27 Sep 2025 12:13:20 +0000 (12:13 +0000)] 
daemon: Enable the watchdog

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create an event loop
Michael Tremer [Sat, 27 Sep 2025 12:10:30 +0000 (12:10 +0000)] 
daemon: Create an event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agologging: Make all log levels usable
Michael Tremer [Sat, 27 Sep 2025 12:10:17 +0000 (12:10 +0000)] 
logging: Make all log levels usable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agomain: Initialize the daemon
Michael Tremer [Sat, 27 Sep 2025 12:03:03 +0000 (12:03 +0000)] 
main: Initialize the daemon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create more daemon scaffolding
Michael Tremer [Sat, 27 Sep 2025 12:00:45 +0000 (12:00 +0000)] 
daemon: Create more daemon scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Implement logging
Michael Tremer [Sat, 27 Sep 2025 11:48:50 +0000 (11:48 +0000)] 
daemon: Implement logging

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Link against systemd
Michael Tremer [Sat, 27 Sep 2025 11:36:42 +0000 (11:36 +0000)] 
daemon: Link against systemd

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Parse command line options
Michael Tremer [Sat, 27 Sep 2025 11:13:25 +0000 (11:13 +0000)] 
daemon: Parse command line options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoctx: Create a dummy function to set the log level
Michael Tremer [Sat, 27 Sep 2025 11:12:50 +0000 (11:12 +0000)] 
ctx: Create a dummy function to set the log level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create a context
Michael Tremer [Sat, 27 Sep 2025 10:54:40 +0000 (10:54 +0000)] 
daemon: Create a context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agodaemon: Create scaffolding
Michael Tremer [Sat, 27 Sep 2025 10:45:56 +0000 (10:45 +0000)] 
daemon: Create scaffolding

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days ago_collecty: Fix compiling the module with the new flags
Michael Tremer [Sat, 27 Sep 2025 10:37:22 +0000 (10:37 +0000)] 
_collecty: Fix compiling the module with the new flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoconfigure: Configure the compiler
Michael Tremer [Sat, 27 Sep 2025 10:36:31 +0000 (10:36 +0000)] 
configure: Configure the compiler

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoping: Import sys/time.h for gettimeofday
Michael Tremer [Sat, 27 Sep 2025 10:25:52 +0000 (10:25 +0000)] 
ping: Import sys/time.h for gettimeofday

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agoconfigure: Always require systemd
Michael Tremer [Sat, 27 Sep 2025 10:25:31 +0000 (10:25 +0000)] 
configure: Always require systemd

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 days agosensors: Fix compilation with newer versions of Python
Michael Tremer [Sat, 27 Sep 2025 10:24:52 +0000 (10:24 +0000)] 
sensors: Fix compilation with newer versions of Python

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoconfigure: Require at least Python 3.9
Michael Tremer [Sat, 11 Dec 2021 12:23:54 +0000 (12:23 +0000)] 
configure: Require at least Python 3.9

We do not use any features that are not available in an earlier version,
but I am using this for development and so didn't test anything earlier.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoconfigure: Check for rrdtool Python module
Michael Tremer [Sat, 11 Dec 2021 12:01:04 +0000 (12:01 +0000)] 
configure: Check for rrdtool Python module

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