Forum Discussion

Kelemvor's avatar
Kelemvor
Icon for Expert rankExpert
4 days ago

Any way to grab Threshold data as a variable and add it to a graph?

Hi,

I've always thought it would be cool to be able to have a line on some of the graphs to show what the thresholds are.  It makes it easier to see when a graph goes over or under a particular line.  I was able to do it today by simply creating a Virtual Datapoint and entering the number I wanted.  However, if we ever change a threshold, this will not update along with it.

For example, here is our 1/5/15MinLoadPerCore graph where I added a line for "1" to easily see when we hit the threshold.

And here's the Virtual Datapoint hard coded as 1.

What I'd love to do is create a Virtual Datapoint and somehow use variables that would pull the threshold values so any time something changes, the graph would update automatically.  I'm going to go out on a limb and say it's not possible, but in case it is, I thought I'd ask here.

Surprise me.  ;)

2 Replies

  • Hi, Kelemvor​.  Thanks for the great question.  In your example, what is the name of the datasource you're referring to? 

    • Kelemvor's avatar
      Kelemvor
      Icon for Expert rankExpert

      The one in my screenshot is the CPU Datasource for Linux devices.  But it would apply to all datasources.  Disk space, Memory usage, CPU usage, etc.  Since there's no option for "Show thresholds on the graph" I was trying to figure out a way to do it on my own.