UDP Transform into Percentage for WLC

Version 2

    Hi Guys,

     

    Thought I'd share this as I have not found it anywhere but managed to get it working, and i'm sure I'm not going to be the only one that has this similar dilemma

    Currently I have 2x OID's setup in UDP that polls the CPU & Memory details for Cisco WLAN Controllers (55xx)

     

    agentCurrentCPUUtilization - 1.3.6.1.4.1.14179.1.1.5.1

    agentFreeMemory - 1.3.6.1.4.1.14179.5.3

     

    The Memory was displayed in kbytes which sucked on the table I created. So i wanted to transform it from Kbytes to percent, but needed to find out how.

    I then added the below OID

     

    agentTotalMemory - 1.3.6.1.4.1.14179.1.1.5.2

     

    Then I created a transform result using the below configuration;

     

    Truncate({agentFreeMemory}/{agentTotalMemory}*100,2)

     

    The above basically takes the free memory and divides it from the total memory, times by 100 which equals the percentage.

    I added the Truncate Function as it displayed too may numbers i.e. 43.256874587, using this command I was able to shorten it to 2 decimal places 43.25

     

    This is now what it looks like on my web page;

     

     

    Hope this help you all...

    Greg

     

    This document was generated from the following discussion: The specified item was not found.