about summary refs log tree commit diff
path: root/nixos/tests/netdata.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-10-28tests/netdata: fix test after upgrade to 1.43.0Julien Malka1-2/+2
2023-08-05netdata: set NETDATA_PIPENAME to /run/netdata/ipcDDoSolitary1-1/+4
Netdata creates its control socket at /tmp/netdata-ipc by default, which is insecure and actually inaccessible with systemd's PrivateTmp enabled. Originally we patched its source code to move the socket to /run/netdata/ipc. However, it was removed due to incompatibility when upgrading to v1.41.0: 1d2a2dc7d0396495e2bb3878dc62eab620425c85 Fortunately, this new version of netdata adds support for setting the location of the control socket via the environment variable NETDATA_PIPENAME. So let's set it for the netdata service and the command line utility so that they can communicate properly.
2023-03-17netdata: add raitobezarius as a maintainerRaito Bezarius1-1/+1
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2019-12-08nixosTests.netdata: add a sleep before testingIzorkin1-0/+1
2019-11-28nixosTests.netdata: port to pythonOleksii Filonenko1-10/+9
2018-08-26nixos/tests/netdata: fix non-deterministic failureUli Baum1-0/+3
The test sporadically failed on hydra when a request was made before the service was actually listening on its port. Explicitly wait for the port to open.
2018-08-05netdata: 1.9.0 -> 1.10.0 (#44472)Jesper1-2/+6
The web_access.patch would no longer apply. It disabled a check that required the static files for the web UI to be owned by the user the daemon runs as (not root, so it doesn't work well with nix). Besides updating netdata, this commit removes that patch, changes the netdata service config to set the "web files owner/group" option to "root" and adds a test that checks that the web UI is being served. This allows the web files to be owned by root without patching.
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-1/+1
2018-01-02netdata service: fix permissions for apps.pluginCasey Ransom1-0/+31
apps.plugin requires capabilities for full process monitoring. with 1.9.0, netdata allows multiple directories to search for plugins and the setuid directory can be specified here. the module is backwards compatible with older configs. a test is included that verifies data gathering for the elevated privileges. one additional attribute is added to make configuration more generic than including configuration in string form.