From 0195628118064039030b38c948b51b3a59e5ac3b Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Sun, 8 Jun 2014 15:59:35 +0200 Subject: 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(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix index 05950639c1e0..74f3deb4c290 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; }; -- cgit 1.4.1