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.
|