FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ManishKhatri
Staff
Staff
Article Id 383045
Description This article explains how to find out OIDs for specific firewall objects.
Scope FortiGate.
Solution

There might be instances when it is challenging to find out the OID of a FortiGate-specific object using the MIB browser or the user doesn't have access to the MIB browser.

 

There is an alternate way to identify OIDs. Refer to the following example:

 

The user wants to track the dpdk engine usage statistics. These statistics can be seen in CLI using the 'diagnose dpdk performance show' command, however, to track these statistics using the SNMP an OID can be used.

 

  1. Download the FortiGate MIB files: Technical Tip: Download FortiOS and FortiCore MIB files 
  2. Next, open the MIB file in a text editor like Notepad+.
  3. Search for the keyword DPDK in 'Fortinet-Fortigate-MIB'.

dpdk.png

 

The user gets the number 2 which will help us in constructing the OID and the next object that needs to be searched.

  1. Search the object 'fgDpdkEngs'.

    fgDpdkEngs.png
    The user gets the number 12 which will also help in creating the OID and the next object to search.

     

  2. Search the object 'fgsystem'.

    fgsystem.png

     

  3. Once the user reaches the object fnFortiGateMib the complete OID can be constructed by prefixing the sequence

        '.1.3.6.1.4.1.12356.101.'. The OID will be '.1.3.6.1.4.1.12356.101.4.12.2'.

     

    The above steps can be replicated to find out all FortiGate-specific object OIDs.