Skip to main content
mrafat
Staff
Staff
February 4, 2026

Technical Tip: Verify FortiGuard service status of managed FortiGates through FortiManager API

  • February 4, 2026
  • 0 replies
  • 354 views
Description

 

This article describes the FortiManager API request that collects the FortiGuard service status of the managed FortiGates.

 

Scope

 

FortiManager.

 

Solution

 

The following is the FortiManager request, which is equivalent to the output of the FortiGate CLI command 'get sys fortiguard-service status'.

 

FGT_CLI.png

 

Request:

 

{
   "id" : "1",
   "method""exec",
    "params": [ 
        {
            "url""sys/proxy/json",
            "data": {
                "target": [ "adom/<ADOM-Name>/device/<Device-Name>" ],
                "action""get",
                "resource""/api/v2/monitor/license/status"
            } 
        } 
    ],
   "session" : "sessionstring"
}
 
Response:
 
{
"cid": 1,
"id": "1",
"result": [
{
"data": [
{
"response": {
"http_method": "GET",
"results": {
"fortiguard": {
"type": "cloud_service_status",
"supported": true,
"connected": false,
"has_connected": false,
"connection_issue": true,
"update_server_usa": false,
"next_scheduled_update": 1769532382,
"scheduled_updates_enabled": true
},
"forticare": {
"type": "cloud_service_status",
"status": "registered",
"registration_status": "registered",
"registration_supported": true,
"account": "emea_lab@fortilab.net",
"support": {
"enhanced": {
"status": "licensed",
"support_level": "24x7",
"expires": 1794528000
},
,…etc
 

Troubleshooting:

The following commands can be used on the FortiManager CLI to debug the API Calls:

 

diagnose debug service httpd 255

diagnose debug service main 255

diagnose debug enable

 

 

Related article: