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.
rishab444
Staff
Staff
Article Id 406249
Description This article describes how to retrieve traffic volume for specific policies for auditing or troubleshooting on FortiGate when FortiAnalyzer or FortiManager is not available. It provides a step-by-step guide on SNMP to obtain the required information.
Scope FortiGate.
Solution
  1. Set up SNMP under System -> FortiGate -> SNMP and enable SNMP, and configure as per Guide.
  2. Use the following SNMP OID to retrieve the traffic volume: 1.3.6.1.4.1.12356.101.5.1.2.1.1.3
  3. Use an SNMP walk tool to retrieve the traffic volume.

For example:


"SnmpWalk.exe -r:192.14.47.8 -v:3 -sn:snmptest -os:1.3.6.1.4.1.12356.101.5 -op:1.3.6.1.4.1.12356.101.6"

 

SNMP_Policy2.PNG


Result:

 

OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.0, Type=Counter32, Value=2793896
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.1, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.2, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.3, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.4, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.5, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.6, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.7, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.8, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.9, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.10, Type=Counter32, Value=0
OID=.1.3.6.1.4.1.12356.101.5.1.2.1.1.3.1.11, Type=Counter32, Value=3682945731

Note:

The last digit in the OID represents the policy ID.

 

 

Contributors