Skip to main content
rcuares
Explorer III
July 13, 2021
Question

FortiAP 431F: CPU and memory usage monitoring using SNMP

  • July 13, 2021
  • 2 replies
  • 5566 views

Hi,

 

I'm trying to graph the CPU and memory usage of the FortiAP 431F. (managed by FortiGate). I checked the MIB that is downloadable over Support page (i.e. FORTINET-CORE-MIB, FORTINET-FORTIAP-MIB) but it does not contain CPU and memory OID. Any pointers/assistance is greatly appreciated.

    2 replies

    leszek
    New Member
    July 22, 2021

    Hi - i'm using snmp to monitor FortiAPs managed by FGTs (mostly FGT300E 6.0.12).

    I use FORTINET-FORTIGATE-MIB and I think there are paths you are looking for:

    fortinet(12356).fnFortiGateMib(101).fgWc(14).fgWcWtpTables(4).fgWcWtpSessionTable(4).fgWcWtpSessionEntry(1).fgWcWtpSessionWtpCpuUsage(20)

    fortinet(12356).fnFortiGateMib(101).fgWc(14).fgWcWtpTables(4).fgWcWtpSessionTable(4).fgWcWtpSessionEntry(1).fgWcWtpSessionWtpMemoryUsage(21) OID: 1.3.6.1.4.1.12356.101.14.4.4.1.20 (or 21 for memory) This is a column OID so to get value for one AP (WTP) you must add ID of that AP to the OID above. Default ID of AP is its serial number - it must be written as TypeLenValue format (type in this case is string - code 1). For example: WTPID of AP with serial number: "FP221ETF19906655" is: 1.16.70.80.50.50.49.69.84.70.49.57.57.48.54.54.53.53 because: 1 = typecode of value WTPID (1 = string) 16 = len of value WTPID = len of string "FP221ETF19906655" 70.80.50.50.49.69.84.70.49.57.57.48.54.54.53.53 = string "FP221ETF19906655" as ASCII codes (decimal) ("F"=70,"P"=80,"2"=50 etc). So: if you want to get cpu usage for AP with serial number, for example: FP221ETF19906655 you should query Fortigate for value of this OID: 1.3.6.1.4.1.12356.101.14.4.4.1.20.1.16.70.80.50.50.49.69.84.70.49.57.57.48.54.54.53.53 and for memory usage: 1.3.6.1.4.1.12356.101.14.4.4.1.21.1.16.70.80.50.50.49.69.84.70.49.57.57.48.54.54.53.53 L

    rcuares
    rcuaresAuthor
    Explorer III
    July 26, 2021

    Hi leszek, thanks for the answer and additional information re conversion. I also got the OID information from Fortinet TAC. However, I also want to monitor the AP directly via SNMP, do you know the OID?

    Mokkasin
    Explorer
    May 3, 2022

    I am also searching for that MIB to monitor CPU and RAM of FortiAPs.

    Using the SNMP traps for high memory/cpu is not really an option for my usecase.