Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Patrick_Wolf3
New Contributor

SNMP monitoring CPU Threads - fgProcessorUsage

Hello everybody,

 

can someone please explain why SNMP-get/walk always shows x+2 values for CPU thread usage where x is the number of CPU threads?

 

Example1:

Fortigate 3000D has two physical CPUs - Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz

This CPU has 10 physical core and 20 threads.

So 40 threads in total - but 42 values are shown.

> snmpget -v2c -c <community string> <FortiGate Mgmt IP> .1.3.6.1.4.1.12356.101.4.4.2.1.2.42 <------- SNMPv2-SMI::enterprises.12356.101.4.4.2.1.2.42 = Gauge32: 0 <------- Value is shown for 42th Thread?

 

Example2:

Fortigate 1500D has two physical CPUs - Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz

This CPU has 6 physical core and 12 threads.

So 12 threads in total - but 14 values are shown.

> snmpget -v2c -c <community string> <FortiGate Mgmt IP> .1.3.6.1.4.1.12356.101.4.4.2.1.2.14 <------- SNMPv2-SMI::enterprises.12356.101.4.4.2.1.2.14 = Gauge32: 0 <------- Value is shown for 14th Thread?

 

This is really weird for me. How's it possible SNMP shows values for more CPU threads which exist???

Or are the first or last two OIDs for the average of the whole physical CPU?

 

 

Thanks for all infos.

Patrick

1 REPLY 1
Patrick_Wolf3
New Contributor

The solution were the two NP6 network processors.

See snmpwalk with Fortinet MIB:

 

$ snmpbulkwalk -v2c -c <community> -OS <IP> fgProcessorType FORTINET-FORTIGATE-MIB::fgProcessorType.1 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.2 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.3 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.4 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.5 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.6 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.7 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.8 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.9 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.10 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.11 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.12 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.13 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.14 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.15 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.16 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.17 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.18 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.19 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.20 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.21 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.22 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.23 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.24 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.25 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.26 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.27 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.28 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.29 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.30 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.31 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.32 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.33 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.34 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.35 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.36 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.37 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.38 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.39 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.40 = OID: FORTINET-FORTIGATE-MIB::fgProcessorIntel FORTINET-FORTIGATE-MIB::fgProcessorType.41 = OID: FORTINET-FORTIGATE-MIB::fgProcessorFnNP2 FORTINET-FORTIGATE-MIB::fgProcessorType.42 = OID: FORTINET-FORTIGATE-MIB::fgProcessorFnNP2

Labels
Top Kudoed Authors