nixos-config/machines/shinobu/services/snmp-exporter.nix

15 lines
404 B
Nix
Raw Permalink Normal View History

# 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";
2024-06-02 12:44:25 +02:00
enableConfigCheck = false; # otherwise module fails to evaluate
2023-11-04 13:57:59 +01:00
};
}