sdrweb: move openwebrx stats from radiobert
This commit is contained in:
parent
393ff37b2c
commit
dc287e251a
|
@ -1,5 +1,10 @@
|
||||||
{ hostRegistry, config, ... }:
|
{ hostRegistry, config, ... }:
|
||||||
{
|
{
|
||||||
|
c3d2 = {
|
||||||
|
isInHq = false;
|
||||||
|
hq.statistics.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "sdrweb";
|
networking.hostName = "sdrweb";
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
networking.interfaces.eth0.ipv4.addresses = [{
|
networking.interfaces.eth0.ipv4.addresses = [{
|
||||||
|
@ -27,6 +32,38 @@
|
||||||
|
|
||||||
services.openwebrx.enable = true;
|
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>
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# noXlibs breaks cairo:
|
# noXlibs breaks cairo:
|
||||||
environment.noXlibs = false;
|
environment.noXlibs = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,35 +108,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
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>
|
|
||||||
users.users.dump1090 = {
|
users.users.dump1090 = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "dump10190";
|
group = "dump10190";
|
||||||
|
|
Loading…
Reference in New Issue