• 0
Phillip

Widget for ping monitoring

Question

Hi Everyone!

I'm trying to figure out how to create a widget, that will show the top ten servers that have a ping of above 100ms. 

I can make the standard ping widget, but I don't see a way to limit the graph to those servers that have a high ping. Do I need to use the virtual datapoint? 

Or, maybe I need clarification on what it means when I select top 10 on an average, or maxrtt datapoint.

 

Thanks!

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You would bring in the ping as a "do not display" value, then make a virtual datapoint that uses an if() to evaluate the >100 and return a NAN for the false condition.

Share this post


Link to post
Share on other sites
  • 0
On 11/1/2019 at 7:59 AM, Cole McDonald said:

You would bring in the ping as a "do not display" value, then make a virtual datapoint that uses an if() to evaluate the >100 and return a NAN for the false condition.

OK, I understood the first part. I'm not sure on the expression for the second part. I'm not familiar with the complex datapoint syntax for the expression. Should it look like if(maxrtt>100, 1, NaN)? 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.