plugin_thold icon indicating copy to clipboard operation
plugin_thold copied to clipboard

When RPN expression is used, defined MAX value is multiplied by 8

Open ikorzha opened this issue 4 years ago • 3 comments

I am using the following RPN formula to calculate interface % usage: |ds:traffic_in|,|query_ifHighSpeed|,/,0.0008,* In thold template "Alert - High" defined as 85 (which would be 85%..)

template screenshot below: image

But in thold Interface high shows as 680 when it should be 85.. 85x8=680 (thold high should not be multiplied x8). Perhaps it is potentially easy problem to solve since both calculation and thold "max" value is being multiplied x8 when it shouldn't..

image

Please help to resolve it Cacti team

ikorzha avatar Apr 14 '21 18:04 ikorzha

Hi Jimmy Conner, for some reason I do not see your response here, but I did get notification via email with your question .. Does your graph have a CDEF applied to it? YES all of my traffic interface graphs have CDEF applied to it see below: image

And this is an end resulting graph that uses this CDEF image

I have to say until recently I have used thold v1.0.6 with the same graphs and this functionality was fully functional in thold 1.0.6 and % and max value was calculating and reporting correctly

ikorzha avatar Apr 14 '21 20:04 ikorzha

ikorzha, can you show me your graph template. I need to know how you can draw the traffic utilization as shown in your screenshot. What should I do to create graph like yours. That contains utilization and traffic Errors. Thanks

onyy2000 avatar Jun 08 '21 06:06 onyy2000

If I remember rightly, this comes around because of how the source data is stored which is can be bits vs bytes depending on the graph.

netniV avatar Jun 08 '21 11:06 netniV

@xmacan, di you fix from a few months ago fix this one?

TheWitness avatar Jul 22 '23 16:07 TheWitness