snmp exporter: maybe exposing the file will work now?
This commit is contained in:
parent
24e6aa333e
commit
fd9f30f7d4
@ -1,7 +1,7 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
myData,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
options.mj.services.snmp_exporter = with lib.types; {
|
||||
@ -13,8 +13,10 @@
|
||||
|
||||
services.prometheus.exporters.snmp = {
|
||||
enable = true;
|
||||
configurationPath = ./snmp.yml;
|
||||
configurationPath = pkgs.concatTextFile {
|
||||
name = "snmp.yml";
|
||||
files = [./snmp.yml];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user