[USG Flex H - uOS 1.39] - SNMP OID missing

Options
Maverick87
Maverick87 Posts: 212 image  Master Member
5 Answers First Comment Friend Collector

Hello everyone,
After update my 500H to the newest uOS, the OID about the "Forward Active Session" (1.3.6.1.4.1.890.1.15.3.1.19.0) are missing.

Also, seems that are missing also the Memory Usage (1.3.6.1.4.1.890.1.15.3.2.5.0); now to calculate the memory usage % I need to reading the total memory (1.3.6.1.4.1.2021.4.5.0) and the available (1.3.6.1.4.1.2021.4.6.0), then I use this formula:

((total-available)/total) * 100

Also, already from the old firmware version, the load of Core 3 and 4 are fixed to 100%

Core3: 1.3.6.1.2.1.25.3.3.1.2.196610
Core4: 1.3.6.1.2.1.25.3.3.1.2.196611

Can you confirm that the Core 3 and 4 are fixed to 100%?
Also, how about the missing Forward Active Session and the Memory Usage %?

Thank you

All Replies

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,994 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    Options

    Hi @Maverick87

    Let me help to check OID 1.3.6.1.4.1.890.1.15.3.1.19.0 and 1.3.6.1.4.1.890.1.15.3.2.5.0.

    The Core 3 and 4 are fast path CPU, use the public OID will get the wrong result.

    Please use sysMgmtFPCPUUsage(.1.3.6.1.4.1.890.1.15.3.2.21 in ZYXEL-ES-COMMON > esSysMgmt) to get the information. Additionally, this OID will provide the average CPU usage of Core 3 and 4.

    Zyxel Melen


  • Maverick87
    Maverick87 Posts: 212 image  Master Member
    5 Answers First Comment Friend Collector
    edited August 4
    Options

    Hi Melen,

    also in the GUI the Core 3&4 are 0%, and seems that the memory usage is more or less 34.2/34.4%

    image.png

    With my calculation I've more memory usage than this:

    image.png

    For calculate this, I use the formula:

    Device Memory Usage = ((total-available)/total) * 100
    

    Total OID: 1.3.6.1.4.1.2021.4.5.0 (8.147.344 KiB)
    Available OID: 1.3.6.1.4.1.2021.4.6.0

    Is this correct? Why throught my formula, seems that the % is more than the GUI?

    In some cases, seems that the GUI show CPU 3&4 loads:

    image.png image.png image.png

    So seems that the Core3&4 works; why there isn't an official Core3&4 OIDs?


    Thank you

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,994 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    edited August 6
    Options

    Hi @Maverick87

    The formula needs to adjust since .1.3.6.1.4.1.2021.4.6.0 is MemFree, not MemAvailable.

    ((1 - <.1.3.6.1.4.1.2021.4.6.0> - <.1.3.6.1.4.1.2021.4.14.0> - <.1.3.6.1.4.1.2021.4.15.0>) / <.1.3.6.1.4.1.2021.4.5.0>) * 100
    

    why there isn't an official Core3&4 OIDs?

    The MIB sysMgmtFPCPUUsage(.1.3.6.1.4.1.890.1.15.3.2.21 in ZYXEL-ES-COMMON > esSysMgmt) is the official OID. Do you mean the OID the individual Core 3 & 4 CPU usage?

    Zyxel Melen


  • Maverick87
    Maverick87 Posts: 212 image  Master Member
    5 Answers First Comment Friend Collector
    Options

    Hi Melen,

    Thank you, proceed to modify my formula.

    For the missing OIDs of Core3&4, yes, why there aren't the OIDs for the individual core? Can be implemented?

  • Maverick87
    Maverick87 Posts: 212 image  Master Member
    5 Answers First Comment Friend Collector
    Options

    Hi Melen,
    I check better your formula

    ((1 - <.1.3.6.1.4.1.2021.4.6.0> - <.1.3.6.1.4.1.2021.4.6.0> - <.1.3.6.1.4.1.2021.4.6.0>) / <.1.3.6.1.4.1.2021.4.5.0>) * 100

    But seems that you reply the OID 1.3.6.1.4.1.2021.4.6.0 more that one. Could you tell me if the formula is correct?

    Thank you

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,994 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    Options

    Hi @Maverick87

    Sorry it is .1.3.6.1.4.1.2021.4.14.0 and .1.3.6.1.4.1.2021.4.15.0. I also notice the error of the formula, please check the new formula below:

    ((<.1.3.6.1.4.1.2021.4.5.0> - <.1.3.6.1.4.1.2021.4.6.0> - <.1.3.6.1.4.1.2021.4.14.0> - <.1.3.6.1.4.1.2021.4.15.0>) / <.1.3.6.1.4.1.2021.4.5.0>) * 100

    Zyxel Melen


  • Zyxel_Melen
    Zyxel_Melen Posts: 4,994 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    Options

    Hi @Maverick87

    Additionally, the OID 1.3.6.1.4.1.890.1.15.3.1.19.0 and 1.3.6.1.4.1.890.1.15.3.2.5.0 malfunction is because the V1.39 enhancement. It will be fixed in next firmware release.

    Zyxel Melen


  • Maverick87
    Maverick87 Posts: 212 image  Master Member
    5 Answers First Comment Friend Collector
    Options

    Hi Melen,

    can you fix the problem and release to me the beta firmware? So I don't wait a lot.

    Another question: when you fix the 1.3.6.1.4.1.890.1.15.3.2.5.0, is not anymore necessary the calculation formula, right?

    Thank you

  • Maverick87
    Maverick87 Posts: 212 image  Master Member
    5 Answers First Comment Friend Collector
    Options

    Hi Melen,
    I've tried your formula, but seems there are some distances about the real used memory %, probably missing something.