Skip to main content
mvlasak
Staff
Staff
August 29, 2024

Troubleshooting Tip: How to troubleshoot connectivity to FortiManager Cloud

  • August 29, 2024
  • 0 replies
  • 4407 views

Description

This article describes how to troubleshoot connectivity to FortiManager Cloud.

Scope

Any FortiGate supporting FortiManager Cloud.

Solution

On FortiGate:

  1. Go to 'Security Fabric -> Settings -> Central Management -> FortiManager Cloud' and check whether the option for FortiManager Cloud is greyed out or not.

  2. Run the following commands and attach the output to the ticket:


get sys status
get sys global
get system central-management
fnsysctl ls -l /etc/cert/local/
fnsysctl ls -l /etc/cert/ca
diagnose fdsm central-mgmt-status
execute telnet <FMG-IP> 541

 

  1. If the source IP is not configured under 'config system central-management', add it:


config system central-management
    set fmg-source-ip <FGT-IP>
end

 

  1. On FortiGate, register the FortiManager device serial number:


execute central-mgmt register-device {fmg-serial-no} {fmg-register-password}

 

Replace {fmg-register-password} with the registration password.

 

  1. Reinitiate the connection from the FortiGate CLI by restarting the 'FGFM' daemon:


fnsysctl killall fgfmd

 

Note:


config system global
    set fgfm-allow-vm enable
end

 

On FortiManager: 

  1. Reclaim the tunnel from the CLI using the following syntax:


execute fgfm reclaim-dev-tunnel <device_name> 


(Use 'diagnose dvm device list' to get the device ID).

 

  1. Delete the device from FortiManager and add it again (if needed).

  2. Run FortiGate-FortiManager (FGFM) connection debugs on both sides and provide the output to the ticket:


On FortiGate session #1:

diagnose debug reset
diagnose debug application fgfm 255
diagnose debug console time enable
diagnose debug enable


On FortiGate session #2:

diagnose sniffer packet any 'port 541' 6 0 a

 

On FortiManager:

diagnose debug reset
diagnose debug application fgfm 255 <IP address or Serial Number of the FGT>
diagnose debug time enable
diagnose debug enable
execute fgfm reclaim-dev-tunnel <device_name>
diagnose fgfm session-list <device ID>

 

Run these debug commands for 2-3 minutes and then disable them:

diagnose debug disable
diagnose debug reset 


Related articles: