diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2016-11-24 12:47:17 -0800 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-11-24 21:47:17 +0100 |
commit | 27f1def068cff885c1f2570ec9e5fc1a9796d796 (patch) | |
tree | a156d29d46f62e9e9ec87f1408ece0134153a288 /nixos/modules/services/monitoring | |
parent | 39a0d766db602857063af4a4d9b974b3803dbcce (diff) | |
download | nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar.gz nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar.bz2 nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar.lz nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar.xz nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.tar.zst nixlib-27f1def068cff885c1f2570ec9e5fc1a9796d796.zip |
nixos/collectd: Fix syntax error on some hostnames. (#20694)
Without this, hostnames that e.g. end in digits will cause syntax errors for collectd.
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/collectd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix index 3c3d83c66ed0..01c6fb817669 100644 --- a/nixos/modules/services/monitoring/collectd.nix +++ b/nixos/modules/services/monitoring/collectd.nix @@ -9,7 +9,7 @@ let BaseDir "${cfg.dataDir}" PIDFile "${cfg.pidFile}" AutoLoadPlugin ${if cfg.autoLoadPlugin then "true" else "false"} - Hostname ${config.networking.hostName} + Hostname "${config.networking.hostName}" LoadPlugin syslog <Plugin "syslog"> |