diff options
author | lassulus <lass@lassul.us> | 2017-02-03 00:23:00 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-02-03 00:23:00 +0100 |
commit | 561d4f7bf52a48eca4f4a88c32b4621e5ef3425e (patch) | |
tree | 9e09291c74322ce7a8dd6c25ef1c120a4fdd313f /lass/2configs | |
parent | 93e79da6f929749a1b8c4735e38bd5ce8034a18b (diff) |
l 2 monitoring server: add collectdb support
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/monitoring/server.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/2configs/monitoring/server.nix b/lass/2configs/monitoring/server.nix index 335820bc7..2e1c15ca1 100644 --- a/lass/2configs/monitoring/server.nix +++ b/lass/2configs/monitoring/server.nix @@ -14,6 +14,12 @@ with import <stockholm/lib>; enabled = false; # write-interval = "24h"; }; + collectd = [{ + enabled = true; + typesdb = "${pkgs.collectd}/share/collectd/types.db"; + database = "collectd_db"; + port = 25826; + }]; }; lass.kapacitor = @@ -49,6 +55,7 @@ with import <stockholm/lib>; krebs.iptables.tables.filter.INPUT.rules = [ { predicate = "-p tcp -i retiolum --dport 8086"; target = "ACCEPT"; } { predicate = "-p tcp -i retiolum --dport 3000"; target = "ACCEPT"; } + { predicate = "-p udp -i retiolum --dport 25826"; target = "ACCEPT"; } ]; services.grafana = { enable = true; |