1
0
forked from c3d2/nix-config

radiobert: enable collectd

This commit is contained in:
Astro 2021-09-26 01:47:20 +02:00
parent 8974270a90
commit fa5b566289

View File

@ -47,7 +47,10 @@
firmwareSize = 512;
};
c3d2.isInHq = false;
c3d2 = {
isInHq = false;
hq.statistics.enable = true;
};
nix = {
buildCores = 4;
@ -67,6 +70,39 @@
services.openwebrx.enable = true;
services.collectd.plugins = {
curl_json = ''
<URL "http://localhost:8073/metrics.json">
Plugin "openwebrx_decodes"
<Key "wsjt/decodes/*/*/count">
Type "counter"
</Key>
<Key "aprs/decodes/*/*/*/count">
Type "counter"
</Key>
<Key "js8call/decodes/*/*/count">
Type "counter"
</Key>
<Key "decoding/queue/*/count">
Type "counter"
</Key>
<Key "decoding/queue/length">
Type "gauge"
</Key>
<Key "pskreporter/*/count">
Type "gauge"
</Key>
<Key "wsprnet/*/count">
Type "gauge"
</Key>
<Key "openwebrx/users">
Type "gauge"
</Key>
</URL>
'';
sensors = "";
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [