summary refs log tree commit diff
path: root/nixos/modules/misc
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-05-02 00:43:27 -0500
committerAustin Seipp <aseipp@pobox.com>2014-05-02 01:24:35 -0500
commit368a677c97f038f819c30d9ef0eb548b91ca1554 (patch)
treece382c7e63f17e1d65e36898ad9ff79965e8dcd8 /nixos/modules/misc
parente67cc9ba075f2873d7fb79852c668ed4446cf3f9 (diff)
downloadnixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar.gz
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar.bz2
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar.lz
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar.xz
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.tar.zst
nixlib-368a677c97f038f819c30d9ef0eb548b91ca1554.zip
nixos: overhaul datadog module
This overhauls the Datadog module a bit to be much more useful. In
particular, it adds support for nginx and postgresql monitoring
integrations to dd-agent. These have to exist in separate files under
/etc/dd-agent, so the module just exposes then as separate options. In
the future, more integrations could be added this way.

In the process of doing this, I also had to rename the dd-agent user to
datadog. Note the UIDs did not change, so this is strictly backwards
compatible. The reason for this is to make it easier to create a
'datadog' postgres user with access to pg_stats, as 'dd-agent' typically
isn't a valid username. This allows the out of the box configurations to
be used.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r--nixos/modules/misc/ids.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 3f6aaa15bb4f..207da2a39bfe 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -84,7 +84,7 @@
       postgres = 71;
       smbguest = 74;
       varnish = 75;
-      dd-agent = 76;
+      datadog = 76;
       lighttpd = 77;
       lightdm = 78;
       freenet = 79;
@@ -201,7 +201,7 @@
       vboxsf = 73;
       smbguest = 74;
       varnish = 75;
-      dd-agent = 76;
+      datadog = 76;
       lighttpd = 77;
       lightdm = 78;
       freenet = 79;