Forum Discussion

Lewis_Beard's avatar
Lewis_Beard
Icon for Professor rankProfessor
23 days ago

Alert on Sum of 2 instance datapoints?

Apologies if this is super basic stuff. I sometimes want to do things I cant figure out, only to have it be something so basic that I should have learned 3 years ago when I was new.

A user wants to be able to take X number of "SNMP Network Interfaces" instances, and possible multiple datapoints from those instances, and add them together into a total that can be displayed, graphed, and alerted on.

 MyUtilization = InterfaceA.InBps + InterfaceA.OutBps + InterfaceB.InBps + InterfaceB.OutBps

They only want to graph MyUtilization, which is doable with a widget (using a virtual datapoint built from real datapoints). But they really want this summed value to show up in raw data somewhere where they can set a threshold and have it send alerts on the total, not the individual pieces.

Short of making a custom datasource or something, is there a way to do it? Even in UIv4 I'm not seeing in the widgets a way to set a threshold on a virtual datapoint, unless I'm missing it. My brain doesnt process UIv4 well. And then I thought about experimenting with Services, and I can kinda show the values of a list of arbitrary datapoints and set thresholds on those, but I cant figure out how to sum them in any way. I was hoping the Services feature allows this. Maybe it does and I'm just UI-challenged.

Is this possible, is it something basic that I have no excuse to not know, or is it not yet possible?

Thanks!

 

2 Replies

  • Well I may have to eat crow, I just saw at the bottom of the Service I was testing with that there IS a complex datapoint I can make from the Metrics I'm monitoring. I wish I could just do the metrics as a raw value, but went with sum. But it seems I can use alert thresholds on these services.

    So correct me if I'm wrong or if there is a better way but it appears I CAN do it with Services.

    Frustratingly, I was building the service in UIv4 and somehow missed the Complex datapoints completely. I guess UIv4 isnt intuitive for me personally. I switched back to Uiv3 because its easier for me, and suddenly and immediately noticed the complex datapoints. Anyway, probably no point in complaining about it.

    But yes, please let me know if there is some other way to do it other than Services.

    Thanks!

     

    • jhupka's avatar
      jhupka
      Icon for Neophyte rankNeophyte

      The way you solved this (using a Service) is what first came to mind for me when I read your question.  Seems like you found the best way to do this.  😀👍