I'm trying to setup a threshold for disk latency. My ds comes from raw perfmon data in WMI on a windows box. I have to use a CDEF to calculate the current latency. I can't seem to replicate this cdef successfully in THOLD. Is the PREV function not supported in THOLD RPN strings?
Here's the working CDEF that I use for graphing..
Custom String: a,PREV(a),-,2343876,/,b,PREV(b),-,/,0,LT,4294967295,PREV(a),-,a,+,2343876,/,b,PREV(b),-,/,1000,*,a,PREV(a),-,2343876,/,b,PREV(b),-,/,1000,*,IF
Here's the CDEF I tried for the THOLD
|ds:AvgDisksecPerTrans|,PREV(|ds:AvgDisksecPerTrans|),-,2343876,/,|ds:Base|,PREV(|ds:Base|),-,/,0,LT,4294967295,PREV(|ds:AvgDisksecPerTrans|),-,|ds:AvgDisksecPerTrans|,+,2343876,/,|ds:Base|,PREV(|ds:Base|),-,/,1000,*,|ds:AvgDisksecPerTrans|,PREV(|ds:AvgDisksecPerTrans|),-,2343876,/,|ds:Base|,PREV(|ds:Base|),-,/,1000,*,IF
THOLD CDEF allowed functions
Moderators: Developers, Moderators
THOLD CDEF allowed functions
- Attachments
-
- tholdexample.PNG (25.6 KiB) Viewed 1070 times
-
- disklatencyexample.PNG (32.85 KiB) Viewed 1070 times
Who is online
Users browsing this forum: No registered users and 2 guests