Hi,
I want to know how many incoming bytes have crossed my router's eth0 within the last 30 days.
From my understanding, I need a calculated item that substracts the value of last(//net.if[eth0],30d) from last(//net.if[eth0]), but that raises a syntax error:
My formula is
What am I missing?
I want to know how many incoming bytes have crossed my router's eth0 within the last 30 days.
From my understanding, I need a calculated item that substracts the value of last(//net.if[eth0],30d) from last(//net.if[eth0]), but that raises a syntax error:
Code:
Incorrect value for field "Formula": invalid second parameter in function "last".
Code:
last(//net.if[eth0]) - last(//net.if[eth0],30d)
you cannot use last(/host/item,1d) to refer to a value one day ago... last has only "#num (optional) - the Nth most recent value". no "seconds" option..
Comment