Description | This article describes how to poll the total value of NPU-offloaded sessions on FortiGate using SNMP. |
Scope | FortiGate |
Solution |
The SNMP Object 'fgNPUSessionCount' with OID .1.3.6.1.4.1.12356.101.20.2.1.1.3 derives the total number of NPU sessions as reported by the output of the command 'diag npu np7 sse-stats all'. Refer to the value under the column 'Total entcnt'.
diag npu np7 sse-stats all [NP7_0] Note that FortiGate stores session information as two NP forward entries for a single bidirectional firewall session. In the above output, the total entcnt is 7445288. This means that the approximate value of NPU offloaded sessions is 3722644. diagnose sys session stat
Note: The SNMP object 'fgNPUSessionCount' does not directly derive the npu_session_count from the output 'diagnose sys session stat' output and the calculation provides an approximate value for NPU offloaded sessions. The exact number may vary slightly due to timing or session state changes during diagnostics. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.