Graphs drawing difference for one Value

Hi,
I am currently facing a little problem while creating a Graph.
I am facing the problem that I have a counter which counts successful authentications.
The counter adds every time a successful authentications happens plus one. This results to a very high number with possible overflow. Which isn’t very nice to draw and you wont see if there are no new auth requests because of the high number.
Is it possible to just draw the difference between each value.
To write it a little bit more clear I just want to draw oldVal - newValue . Out of the box I wasn’t able find a solution for this.
Br

Hi,
yes it is. You need to use the get_rate function in your check. With this function you will get the difference between the cycles. It’s the same like the packet count on interfaces.
Regards.
Christian

2 Likes

Hi ChristianM,

thanks for the fast replay.
Ah okay so the only way to do this is is via self programmed plugin?
I was hoping for a solution that is using the custom graph within the gui.

Hi Christopher,
sound like you using a local check to collect the data. The local not use get_rate function. The function store at the first run a value and at the second run it will be compared with the new value. If you want it in your local script, do this in a similar way to build the value. I hope this helps.
Best regards,
Christian