Skip to main content
skarnaukhov
Staff
Staff
Oct 16, 2026 9:26 AM UTC

Uptime reported by an SNMP query and actual uptime are different

  • Oct 30, 2026 4:14 PM UTC
  • 0 replies
  • 85 views
  • Translate All

Description

A possible reason why an SNMP query and actual uptime may be different.

Scope

FortiGate, FortiOS.

Solution

A monitoring tool may report an uptime of only 1 day, even though the device has actually been running for 498 days. This behavior is caused by the limitation of the following SNMP OID:

.1.3.6.1.2.1.1.3.0 (sysUpTime)


The OID is the 32-bit version of sysUpTime and makes it possible to retrieve the correct uptime up to 497 days. Once this limit is reached, the counter wraps around to zero, causing the monitoring tool to report an incorrect uptime.

As an alternative, it is possible to use the FortiGate-specific OID fgSysUpTime (1.3.6.1.4.1.12356.101.4.1.20), which provides a 64-bit uptime value in hundredths of a second since the network management subsystem was last initialized. This avoids the 497-day counter rollover limitation.

Note: Both sysUpTime and fgSysUpTime represent the time since the network management portion of the system was last initialized. Therefore, the SNMP uptime value should not necessarily be interpreted as the physical device uptime when comparing it with uptime reported through the FortiGate CLI.

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024