diff options
author | makefu <github@syntax-fehler.de> | 2017-11-02 14:26:50 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-11-02 14:26:50 +0100 |
commit | 0ed8f933f6baf26e43e632ada61ec4367d956033 (patch) | |
tree | 11b650cdd4a58f194de2b279af4f2ffdac8d2d33 | |
parent | 4baad9d4226f15ff1ff326ebcb36fc1bd83a98c5 (diff) |
wolf.r: add extra mibs for telegraf
-rw-r--r-- | krebs/1systems/wolf/config.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/krebs/1systems/wolf/config.nix b/krebs/1systems/wolf/config.nix index 21ae20ea0..4d0c0ffa5 100644 --- a/krebs/1systems/wolf/config.nix +++ b/krebs/1systems/wolf/config.nix @@ -26,9 +26,13 @@ in <stockholm/krebs/2configs/shack/share.nix> { systemd.services.telegraf.path = [ pkgs.net_snmp ]; # for snmptranslate - #systemd.services.telegraf.environment = { - # "MIBDIRS" : ""; # extra mibs like ADSL - #}; + systemd.services.telegraf.environment = { + MIBDIRS = pkgs.fetchgit { + url = "http://git.shackspace.de/makefu/modem-mibs.git"; + sha256 = + "a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa008d3da9c78e3b627e5675c8"; + }; # extra mibs like ADSL + }; services.telegraf = { enable = true; extraConfig = { |