2024-01-06 01:19:35 +01:00
|
|
|
# SPDX-FileCopyrightText: 2023 Simon Bruder <simon@sbruder.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-11-04 13:57:59 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.prometheus.exporters.snmp = {
|
|
|
|
enable = true;
|
|
|
|
listenAddress = config.sbruder.wireguard.home.address;
|
|
|
|
configurationPath = "${pkgs.prometheus-snmp-exporter.src}/snmp.yml";
|
|
|
|
};
|
|
|
|
}
|