wolf.r: add extra mibs for telegraf
This commit is contained in:
parent
4baad9d422
commit
0ed8f933f6
@ -26,9 +26,13 @@ in
|
|||||||
<stockholm/krebs/2configs/shack/share.nix>
|
<stockholm/krebs/2configs/shack/share.nix>
|
||||||
{
|
{
|
||||||
systemd.services.telegraf.path = [ pkgs.net_snmp ]; # for snmptranslate
|
systemd.services.telegraf.path = [ pkgs.net_snmp ]; # for snmptranslate
|
||||||
#systemd.services.telegraf.environment = {
|
systemd.services.telegraf.environment = {
|
||||||
# "MIBDIRS" : ""; # extra mibs like ADSL
|
MIBDIRS = pkgs.fetchgit {
|
||||||
#};
|
url = "http://git.shackspace.de/makefu/modem-mibs.git";
|
||||||
|
sha256 =
|
||||||
|
"a4244aa43ddd6e3ef9e64bb80f4ee952f68232aa008d3da9c78e3b627e5675c8";
|
||||||
|
}; # extra mibs like ADSL
|
||||||
|
};
|
||||||
services.telegraf = {
|
services.telegraf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
Loading…
Reference in New Issue
Block a user