Files
clan-core/clanServices/monitoring
Jörg Thalheim 4b549365f7 telegraf: move telegraf.json into runtime directory
No need to persist this type of data. We also don't need to allocate a
persistent user for telegraf.

Also make it a directory because otherwise thre is a potential race
condition on startup.
2025-09-18 12:11:48 +02:00
..
2025-08-15 10:54:39 +02:00

Usage

inventory.instances = {
    monitoring = {
      module.name = "monitoring";
      roles.telegraf.tags.all = {
        settings.interfaces = [ "wg-clan" ];
      };
    };
  };

This service will eventually set up a monitoring stack for your clan. For now, only a telegraf role is implemented, which exposes the currently deployed version of your configuration, so it can be used to check for required updates.