[rrd-users] Parameter problem - was: LAST always returning zero
Wes
wespvp at msg.bt.com
Mon Mar 10 22:56:36 CET 2008
Well, it is acting up again. I seem to be occasionally getting an extra row
of nan's. Given the previous column description:
1. The desired inverted value
2. A straight 'LAST' with no IF
3. A CDEF with an IF that instead normalizing nan to 1 and inverting,
prints -1 for nan, or the actual value. I then add a VDEF LAST for this
CDEF (GPRINT complains if I use the CDEF).
4. Timestamp of 2.
5. Timestamp of 3.
There's a clear pattern here.
I am randomly getting:
--end = 1205180908
queue2 0 0 -1 1205180900 1205180920
When it works correctly, I see:
--end 1205181178
queue2 1 0 1 1205181180 1205181180
Another failure:
--end 1205181288
queue2 0 0 -1 1205181280 1205181300
Success:
--end 1205181438
queue2 1 0 0 1205181440 1205181440
Failure:
--end 1205181508
queue2 0 0 -1 1205181500 1205181520
Success
--end 1205181658
queue2 1 0 0 1205181660 1205181660
I printed out rows for the failures with rrdtool fetch, and everything is
there.
If I change the --end forumla to /10*10-12, I see exactly the same results
as above.
Same thing if I change it to -22.
Ditto if I cange it to -32, so I don't think it is due to a slow rrd
update..
Wes
More information about the rrd-users
mailing list