mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 20:17:31 +01:00
13 lines
392 B
Nix
13 lines
392 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.prometheus.exporters.snmp = {
|
|
enable = true;
|
|
configurationPath = ./snmp-exporter-conf.yml;
|
|
# snmp.yml is built from
|
|
# https://github.com/prometheus/snmp_exporter/blob/main/snmp.yml
|
|
# and
|
|
# https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf
|
|
};
|
|
}
|