DX NetOps

 View Only
  • 1.  Attribute watch percentage calculation

    Posted Dec 07, 2021 09:06 AM
    Hello Community,

    We want to mesure the %usage of F5 memory, following formula is used, no errors whatsoever.

    ( ( sysMultiHostOtherMemoryUsedKb.# / sysMultiHostOtherMemoryTotalKb.# ) * 100 )

    Usage is around 75%, but when we define a threshold < 25, even then there is no event created.
    Is there a way to check what the result is of above formula? Everything seems fine to me...

    Kind regards,
    Lieven Stubbe
    Belgian railways


  • 2.  RE: Attribute watch percentage calculation

    Broadcom Employee
    Posted Dec 07, 2021 10:25 AM
    Lieven,

    I am assuming this is Spectrum?

    If so, you can select the model, click on the Attributes tab and filter for the name of your watch.

    You may have to log out of OneClick and then back in to see the watch attribute.

    Joe


  • 3.  RE: Attribute watch percentage calculation

    Posted Dec 08, 2021 08:23 AM
    Hey Joseph,

    Yes, it is Spectrum. We found back the watch in the attributes, but the value is 0.0
    We don't get how 1482368 /  2014572 can be 0.0
    What do we do wrong? -> sysMultiHostOtherMemoryUsedKb.# / sysMultiHostOtherMemoryTotalKb.#

    Kind regards,
    Lieven Stubbe
    Belgian railways



  • 4.  RE: Attribute watch percentage calculation

    Broadcom Employee
    Posted Dec 08, 2021 08:28 AM
    I am going to test this out in the lab and let you know what I find.

    Joe


  • 5.  RE: Attribute watch percentage calculation

    Posted Dec 08, 2021 08:37 AM
    Hey Joseph,

    You have to cast it to REAL, then it works

    ( ( REAL( sysMultiHostOtherMemoryUsedKb.# ) / REAL( sysMultiHostOtherMemoryTotalKb.# ) ) * 100 )

    Thx in advance for the support!!
    Lieven


  • 6.  RE: Attribute watch percentage calculation

    Broadcom Employee
    Posted Dec 08, 2021 08:55 AM
    Lieven,

    That is what I was thinking as the calculation is less than 1.

    Glad you were able to figure it out.

    Joe