Categorygithub.com/ReneHollander/systemd-networkd-exporter
modulepackage
0.0.0-20240407172426-b15dcdce1680
Repository: https://github.com/renehollander/systemd-networkd-exporter.git
Documentation: pkg.go.dev

# README

systemd-networkd-exporter

Prometheus exporter for systemd-networkd

Supported metrics

That's it for now...

Installation

Nix flake

In your flake.nix:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    systemd-networkd-exporter.url = "github:ReneHollander/systemd-networkd-exporter";

    systemd-networkd-exporter.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, nixpkgs, ... }@inputs: {
    nixosConfigurations."hostname" = nixpkgs.lib.nixosSystem rec {
      system = "x86_64-linux";
      modules = [
        inputs.systemd-networkd-exporter.nixosModule
      ];
    };
  };
}

In your configuration:

  imports = [
    ...
    inputs.systemd-networkd-exporter.nixosModule
    ...
  ];

  services.systemd-networkd-exporter.enable = true;

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author