THOLD CDEF allowed functions

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
jimboutit
Posts: 3
Joined: Mon May 20, 2013 10:31 am

THOLD CDEF allowed functions

Post by jimboutit »

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
Attachments
tholdexample.PNG
tholdexample.PNG (25.6 KiB) Viewed 1070 times
disklatencyexample.PNG
disklatencyexample.PNG (32.85 KiB) Viewed 1070 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests