Skip to main content
npariyar
Staff
Staff
August 1, 2023

Technical Tip: Find the contract's expiry time using SNMP

  • August 1, 2023
  • 0 replies
  • 2266 views
Description This article describes how to know the contract's expiry time using SNMP.
Scope Any supported version of FortiOS.
Solution

To get the contract's expiry time of all Fortigate licenses refer to the following OIDs:

 

fg lic contract: 1.3.6.1.4.1.12356.101.3.2.1.1.2


If any issues are faced, collect the following debug logs and reach out to the Fortinet TAC team for further assistance:

 

diagnose debug reset

diagnose debug application snmpd -1

diagnose de enable


Next, enter the above OIDs in the SNMP server and collect the above logs.

Afterward, disable the debug output using the following CLI command:


diagnose de disable

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.