From 0195628118064039030b38c948b51b3a59e5ac3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 8 Jun 2014 15:59:35 +0200 Subject: [PATCH] nixos/statsd-service: fix 'graphitePort' default value graphitePort must point to the port that carbon-cache listens on, not the graphite webUI port. With this change I finally got data from statsd to graphite. --- nixos/modules/services/monitoring/statsd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix index 05950639c1e..74f3deb4c29 100644 --- a/nixos/modules/services/monitoring/statsd.nix +++ b/nixos/modules/services/monitoring/statsd.nix @@ -69,8 +69,8 @@ in }; graphitePort = mkOption { - description = "Port of Graphite server"; - default = config.services.graphite.web.port; + description = "Port of Graphite server (i.e. carbon-cache)."; + default = 2003; type = types.uniq types.int; };