Ad Widget

Collapse

Dataset confusion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • handsy
    Junior Member
    • May 2019
    • 8

    #1

    Dataset confusion

    I have a device with a *lot* of interfaces! I need to aggregate a bunch as my "Inbound Traffic", and another bunch as my "Outbound Traffic". I've sort of done that in a Dashboard graph but it's not working as expected, i.e. the numbers don't add up. Should I be creating these 'datasets' within the Host itself and then graphing the datasets directly? That feels right but I don't know how. Any help appreciated
  • Ed.M
    Member
    • Mar 2020
    • 42

    #2
    Hi!
    For graph you can create an additional calculated item, like insum=net.if.in(eth1)+net.if.in(eth2) ... etc. And then create graph of this new item.

    Comment


    • handsy
      handsy commented
      Editing a comment
      Thanks - do I add that in the Host itself? ..under Items?
  • handsy
    Junior Member
    • May 2019
    • 8

    #3
    OK, so I added 2 calculated items.

    The first one adds up inbound traffic (52 interfaces in total!):
    last(lld.ifHCInOctets[1/1/c1x1])+last(lld.ifHCInOctets[1/1/c1x2])+last(lld.ifHCInOctets[1/1/c1x3])+last(lld.ifHCInOctets[1/1/c1x4])+last(lld.ifHCInOctets[1/1/c2x1])+last(lld.ifHCInOctets[1/1/c2x2])+last(lld.ifHCInOctets[1/1/c2x3])+last(lld.ifHCInOctets[1/1/c2x4])+last(lld.ifHCInOctets[1/1/c3x1])+last(lld.ifHCInOctets[1/1/c3x2])+last(lld.ifHCInOctets[1/1/c3x3])+last(lld.ifHCInOctets[1/1/c3x4])+last(lld.ifHCInOctets[1/1/c4x1])+last(lld.ifHCInOctets[1/1/c4x2])+last(lld.ifHCInOctets[1/1/c4x3])+last(lld.ifHCInOctets[1/1/c4x4])+last(lld.ifHCInOctets[1/1/c5x1])+last(lld.ifHCInOctets[1/1/c5x2])+last(lld.ifHCInOctets[1/1/c5x3])+last(lld.ifHCInOctets[1/1/c5x4])+last(lld.ifHCInOctets[1/1/c6x1])+last(lld.ifHCInOctets[1/1/c6x2])+last(lld.ifHCInOctets[1/1/c6x3])+last(lld.ifHCInOctets[1/1/c6x4])+last(lld.ifHCInOctets[1/1/c7x1])+last(lld.ifHCInOctets[1/1/c7x2])+last(lld.ifHCInOctets[1/1/c7x3])+last(lld.ifHCInOctets[1/1/c7x4])+last(lld.ifHCInOctets[1/1/c8x1])+last(lld.ifHCInOctets[1/1/c8x2])+last(lld.ifHCInOctets[1/1/c8x3])+last(lld.ifHCInOctets[1/1/c8x4])+last(lld.ifHCInOctets[1/1/c9x1])+last(lld.ifHCInOctets[1/1/c9x2])+last(lld.ifHCInOctets[1/1/c9x3])+last(lld.ifHCInOctets[1/1/c9x4])+last(lld.ifHCInOctets[1/1/c10x1])+last(lld.ifHCInOctets[1/1/c10x2])+last(lld.ifHCInOctets[1/1/c10x3])+last(lld.ifHCInOctets[1/1/c10x4])+last(lld.ifHCInOctets[1/1/c11x1])+last(lld.ifHCInOctets[1/1/c11x2])+last(lld.ifHCInOctets[1/1/c11x3])+last(lld.ifHCInOctets[1/1/c11x4])+last(lld.ifHCInOctets[1/1/c14x1])+last(lld.ifHCInOctets[1/1/c14x2])+last(lld.ifHCInOctets[1/1/c14x3])+last(lld.ifHCInOctets[1/1/c14x4])+last(lld.ifHCInOctets[1/1/c20x1])last(lld.ifHCInOctets[1/1/c20x2])last(lld.ifHCInOctets[1/1/c20x3])last(lld.ifHCInOctets[1/1/c20x4])

    The second one adds up outbound traffic (12 interfaces in total):
    last(lld.ifHCOutOctets[1/1/c19x1])+last(lld.ifHCOutOctets[1/1/c19x2])+last(lld.ifHCOutOctets[1/1/c19x3])+last(lld.ifHCOutOctets[1/1/c19x4])+last(lld.ifHCOutOctets[1/1/c21x1])+last(lld.ifHCOutOctets[1/1/c21x2])+last(lld.ifHCOutOctets[1/1/c21x3])+last(lld.ifHCOutOctets[1/1/c21x4])+last(lld.ifHCOutOctets[1/1/c23x1])+last(lld.ifHCOutOctets[1/1/c23x2])+last(lld.ifHCOutOctets[1/1/c23x3])+last(lld.ifHCOutOctets[1/1/c23x4])

    I then use those 2 calculated items on a Dashboard graph and I still do not have the right bandwidth utilisation showing vs. what I actually see on the device.
    What am I doing wrong here?

    Comment

    Working...