packets, 3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-02-12 19:01:58 +01:00
parent d85c32247e
commit af76406afa
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -218,7 +218,7 @@ def ntpserver():
query = """ query = """
select time_bucket('5 minutes', time) as bucket, select time_bucket('5 minutes', time) as bucket,
device, device,
avg(cast(values->'local'->>'value' as float)) as loadaverage1min avg(cast(values->'load1'->>'value' as float)) as loadaverage1min
from measurements from measurements
where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and
application = 'SNMP' and attributes->>'Label' = 'david' application = 'SNMP' and attributes->>'Label' = 'david'