Skip to main content
nolanm
Explorer
May 27, 2024
Question

FortiAP431F OIDS

  • May 27, 2024
  • 11 replies
  • 8351 views

I'm setting up PRTG to monitor my network, I'm looking for the OIDs for the FortiAP431F to monitor CPU load and memory util. I saw another post on which a user gave a base OID(1.3.6.1.4.1.12356.101.14.4.4.1.20 for CPU load or 1.3.6.1.4.1.12356.101.14.4.4.1.21 for memory util)  to which I should add on 1.16.(Serial Number in ASCII decimal values). This doesn't work, I was wondering if anyone else has had similar issues and figured out either how to make those work or the correct OIDs? My AP is using os version 7.2.5

11 replies

Anthony_E
Staff
Staff
May 30, 2024

Hello Nolan,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Best Regards
nolanm
nolanmAuthor
Explorer
May 31, 2024

Thank you, I will await your response.

Anthony_E
Staff
Staff
June 3, 2024

Hi Nolan,

 

Thanks a lot for your patience and we will find an expert to reply to your question:)!

 

Regards,

Best Regards
nolanm
nolanmAuthor
Explorer
June 3, 2024

Perfect, Thank you.

Anthony_E
Staff
Staff
June 4, 2024

@AEK Do you have maye an idea?

Best Regards
Anthony_E
Staff
Staff
June 4, 2024

Hi,

 

Here the answer from one of our FortiAP expert:

"This link explains how to get the MIB files which contain the OID files for v7.2.5

 

https://docs.fortinet.com/document/fortigate/7.2.5/administration-guide/608160/mib-files

 

Download both MIB files and the core one says it includes common files for multiple products. I assume that includes AP."

 

Regards,

 

Best Regards
nolanm
nolanmAuthor
Explorer
June 4, 2024

I have done that already, the MIB does not contain the OID's for the cpu utilization, the memory, the temperature, or the fans of the FortiAP431F 

AEK
SuperUser
SuperUser
June 4, 2024

Hi Nolan

I didn't work on FortiAP's SNMP before but I'll try to help.

Is your FortiAP standalone or managed by a FortiGate?

Did you download the MIBs from the FortiAP431F?

AEK
nolanm
nolanmAuthor
Explorer
June 4, 2024

Hello AEK,

I appreciate your willingness to help very much. The AP's are managed by FortiGate and  I downloaded FORTINET-CORE-MIB-build1639 and FORTINET-FORTIAP-MIB-build0409

AEK
SuperUser
SuperUser
June 5, 2024

Hi Nolan

I have a FortiAP F series in my lab, I'll see if I can extract anything useful for your request.

AEK
Anthony_E
Staff
Staff
June 5, 2024

Thanks a ton Abdelkrim.

Best Regards
AEK
SuperUser
SuperUser
June 5, 2024

It's my pleasure Anthony.

AEK
AEK
SuperUser
SuperUser
June 5, 2024

Hi Nolan

Following my tests I couldn't find any related OID on the MIB nor on SNMP walk output.
So my personal deduction is that there is no such OIDs.

AEK
nolanm
nolanmAuthor
Explorer
June 5, 2024

I'm starting to come to the same conclusion although I'm not giving up yet. 

AEK
SuperUser
SuperUser
June 5, 2024

Following deeper tests I think I've found it (with 99% certitude).

snmpwalk -v2c -c public  172.16.1.1  1.3.6.1.4.1.12356.101.14.4.4.1
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpId.1."FP221ETF1804****" = STRING: FP221ETF1804****
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpIpAddressType.1."FP221ETF1804****" = INTEGER: ipv4(1)
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpIpAddress.1."FP221ETF1804****" = Hex-STRING: AC 14 00 14
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpLocalIpAddressType.1."FP221ETF1804****" = INTEGER: ipv4(1)
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpLocalIpAddress.1."FP221ETF1804****" = Hex-STRING: AC 14 00 14
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpBaseMacAddress.1."FP221ETF1804****" = STRING: 70:4c:a5:fb:1f:60
FORTINET-FORTIGATE-MIB::fgWcWtpSessionConnectionState.1."FP221ETF1804****" = INTEGER: onLine(2)
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpUpTime.1."FP221ETF1804****" = Timeticks: (15324300) 1 day, 18:34:03.00
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpDaemonUpTime.1."FP221ETF1804****" = Timeticks: (15316300) 1 day, 18:32:43.00
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpSessionUpTime.1."FP221ETF1804****" = Timeticks: (15279900) 1 day, 18:26:39.00
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpProfileName.1."FP221ETF1804****" = STRING: FAP221E-default
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpModelNumber.1."FP221ETF1804****" = STRING: FP221E
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpHwVersion.1."FP221ETF1804****" = STRING: 0
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpSwVersion.1."FP221ETF1804****" = STRING: FP221E-v6.4-build0437
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpBootVersion.1."FP221ETF1804****" = STRING: 04000002
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpRegionCode.1."FP221ETF1804****" = STRING: I
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpStationCount.1."FP221ETF1804****" = Gauge32: 4
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpByteRxCount.1."FP221ETF1804****" = Counter64: 2742501968
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpByteTxCount.1."FP221ETF1804****" = Counter64: 3042708657
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpCpuUsage.1."FP221ETF1804****" = Gauge32: 3
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryUsage.1."FP221ETF1804****" = Gauge32: 65
FORTINET-FORTIGATE-MIB::fgWcWtpSessionWtpMemoryCapacity.1."FP221ETF1804****" = Gauge32: 235224

The two bold lines are CPU and memory usage (resp.) of my first AP (FAP221E). I'm confirming this info with 99.9% certitude according to my tests.

Hope it helps.

AEK
nolanm
nolanmAuthor
Explorer
June 5, 2024

I'm not familiar with the syntax, how would I convert those lines to an OID? Also what is that screenshot from? 

AEK
SuperUser
SuperUser
June 5, 2024

Hi

Your AP is managed, then you send the query to FG IP, like this:

snmpwalk -v2c -c <community-name> <FG-IP> 1.3.6.1.4.1.12356.101.14.4.4.1

 

AEK
nolanm
nolanmAuthor
Explorer
June 6, 2024

Where do you enter that command? I tried it in PuTTY and it told me no such command exists

 

AEK
SuperUser
SuperUser
June 6, 2024

I guess your PRTG is on a Linux host, right? In that case you can install the net-snmp package and run snmpwalk from CLI (I guess it is available for Windows as well).

Otherwise you can install it and run it from any other host, as long as you allow SNMP queries from the client IP (on FGT's SNMP config).

AEK
nolanm
nolanmAuthor
Explorer
June 14, 2024

Here is a screenshot of both outputsHere is a screenshot of both outputsHere is a screenshot of both outputs