Ad Widget

Collapse

Cisco port Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davefor
    Junior Member
    • May 2012
    • 3

    #1

    Cisco port Trigger

    Hi All

    I am trying to setup trigger for total port bandwidth to fire at 80%

    I am using this example to make my own expression

    (((ifInOctets.1 + ifOutOctets.1)/(ifSpeed.1 / 8)) * 100) > 80


    Mine reads
    (((LW_MDFort26.in + LW_MDFort26.out)/(LW_MDFort26.speed / 8)) * 100) > 80

    Also tried
    (((ifInOctets.26 + ifOutOctets.26)/(ifHighSpeed.26 / 8)) * 100) > 80

    error
    check expression part starting from ")) * 100)

    As far as math goes
    say port26.in = 750 000
    port26.out = 750 000
    Total = 1 500 000
    /
    port26.speed = 100 000 000 / 8
    total = 12 500 000

    .12 x 100 = 12%



    Can someone please


    Thanks


    Dave
    Last edited by davefor; 14-05-2012, 14:24.
  • davefor
    Junior Member
    • May 2012
    • 3

    #2
    Ok I think this may work. I was able to add this without any errors

    (({LW_MDFort26.in.last(0)}+LW_MDFort26.out.last(0)})/({LW_MDFort26.speed.last(0)}/8)) * 100 > 60


    Is there anyway to run this and see what the output is?

    I know I can setup a calculated item but the formula is not the same.

    Dave
    Last edited by davefor; 14-05-2012, 16:04.

    Comment

    • davefor
      Junior Member
      • May 2012
      • 3

      #3
      After doing the math I think the /8 is wrong

      also can I just use the following?

      ({LW_MDFort26.in.last(0)}+{LW_MDFort26.out.last(0)})>0.60*{LW_MDFort26.speed.last(0)}


      say
      port26in =25,000,000
      port26out =25,000,000
      Total= 50,000,000 or 50Mbps

      .60 * 1,000,000,000 or 1Gbps
      Equals 600,000,000 or 60Mbps

      Side note
      LW_MDFort26.in.last Multiplier = 8
      LW_MDFort26.out.last Multiplier = 8
      LW_MDFort26.speed.last Multiplier = 1000000

      Help
      Dave
      Last edited by davefor; 14-05-2012, 16:57.

      Comment

      Working...