monitoring
Monitoring service for the nodes in your clan
Uncategorized
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.
Roles
The monitoring module has the following roles:
- telegraf
Options for the telegraf
role
allowAllInterfaces
If true, Telegraf will listen on all interfaces. Otherwise, it will only listen on the interfaces specified in interfaces
Type: boolean
Default:
Declared in: clanServices/monitoring/default.nix
interfaces
List of interfaces to expose the metrics to
Type: list of string
Default:
Declared in: clanServices/monitoring/default.nix