Monitoring Fortinet FortiManager (FMG)

Overview

TOS monitors FortiManager devices for revision changes. When you add a FortiManager device to TOS, you can select the devices and virtual domains (VDOMs) managed by the FortiManager that you want TOS to monitor by periodic polling.

When FortiManager is used to manage SD-WAN through SD-WAN templates, each SD-WAN template must have a unique name that does not match any firewall policy package name within the same ADOM.If an SD-WAN template and a policy package share the same name, TOS will not be able to collect FMG/ADOM revisions.

By default, Fortinet devices define an "all" object that will represent "any." Making changes to this object may cause Provisioning to fail on the device.

To see which TOS features are supported for your device, review SecureTrack Features by Vendor.

Process overview

To monitor a Fortinet FortiManager device (and its managed devices) in TOS, you must complete the following procedures:

  1. Add the Fortinet FortiManager device to TOS.

  2. Import the domains and/or devices managed by the Fortinet FortiManager device.

    When you select the Administrative Domains (ADOMs) and devices to be managed by the Fortinet FortiManager device, if you have configured Advanced monitoring mode, you can also select the Collect dynamic topology information option.

  3. Edit the configuration of a managed FortiManager firewall device, including enabling or disabling the option to Collect dynamic topology information.

    If you currently monitor your firewalls as standalone devices and you want to now monitor the firewall through the FortiManager device that manages them, add the FortiManager device and its firewalls as a new device and then disable your standalone firewalls (see Status). You can select the standalone devices from the device tree to see the historical device data. When the device data in the standalone firewalls is obsolete, you can remove the standalone firewall devices from TOS.

After you add the FortiManager and its managed devices, you can monitor the managed devices the same as when you add the managed devices directly to TOS. In addition, you can:

  • View and compare in graphical format the policy packages on the FortiManager device according to their administrative domains (ADOMs), including those that are not installed on a firewall device
  • View the global object database on the FortiManager device
  • Create New Revision and Advanced Change reports for the policy packages on the FortiManager device

TOS and the monitored devices must be synchronized with the correct date and time, either manually or automatically. We recommend that you also configure the devices to resolve DNS queries.

(From TOS 5.4) When a FortiGate device or virtual domain (VDOM) is moved to a new administrative domain (ADOM) in FortiManager, TOS automatically detects the move and continues tracking the device, with full revision history preserved at the VDOM/firewall level. At the ADOM level, policy packages (Security Packages and Policy Blocks) are automatically assigned and aligned to match the new ADOM.

FortiManager device settings

Device Setting Description

General settings

 

 

  • Device Type: Automatically populated.

  • Name for Display: The display name for the device.

  • Domain: The default domain, or in a multi-domain environment, the domain where you add the device.

  • Get revisions from > IP Address: The IP address of the FortiManager device. Relevant for On-prem devices only.

  • (From 5.4) Fortimanager Cloud Deployment: Select for cloud deployments.

  • ST Server: In distributed environments, the central or remoteTOS cluster that monitors the device.

Connection settings

 

 

 

 

Connection settings are different for each deployment type.

On-prem connection settings

  • Vault server: To use a vault server that contains access credentials, select Use Vault and select the server. For more information, see Configuring a Vault Server.
  • Username: The user name to access the FortiManager device.

  • Password and Confirm password: The password to access the on-prem FortiManager device.

  • Port number: The port number to use for accessing the device. To use default the setting (port 443), leave the Port number blank. This is the recommended approach.

Cloud connection settings

  • User name: The user name used for accessing the cloud FortiManager device
  • Password: The password for accessing the cloud FortiManager device.

  • Confirm password: The password that was previously entered.

  • API URL: The API URL for accessing the the cloud FortiManager device.

  • Retrieve certificate: Applicable only in on-premises environments.

    The action retrieves the certificate that SecureTrack uses to set up encrypted communication with the FortiManager device and displays a confirmation message.

  • Retrieve certificate using DNS address: Select to retrieve the certificate using the DNS address.

Monitoring settings

 

  • Default Uses real-time monitoring and timing settings from the Timing page.

  • Custom: Uses Periodic Polling as configured.

    • Real-Time Monitoring: Requires syslog configuration. Select Custom settings:

      • 'Save policy' interval: When a Save Policy event is followed within this time interval by an Install Policy event for the same policy, TOS tries to combine the two events into a single revision. The default value is 60 seconds.
      • 'Install policy' interval: When two or more Install Policy events for the same policy occur within this time interval, TOS combines the events into a single Install Policy revision (Default: 60 seconds)
      • Automatic fetch frequency: Frequency (in minutes) for automatic fetch
    • Periodic Polling: Select Custom settings and configure the Polling frequency: How often TOS fetches the configuration from each device. If you select 1 day, you can then select the exact time (hour and minute) for the daily polling.

 

Add a FortiManager device

Add a FortiManager device to TOS for visibility and monitoring.

Prerequisites

Read/write permissions

  • JSON API access with read/write permission

  • Create a device user with Read/Write permissions for all information on the FortiManager device.

    You can configure these permissions either in the Fortimanager command line interface, or in the user interface for the device.

Setting permissions using the command line interface

To configure Read/Write permissions for the FortiManager device, in the FortiManager command line interface run:

config system admin user
edit <username configured in TOS>
set rpc-permit read-write
end
Setting permissions in FortiManager interface

To configure Read/Write permissions for a FortiManager device, in the device user interface:

  1. Log into the device and select System Settings.

  2. In the navigation pane, select Admin > Profile.

  3. Create/Edit the device profile that is associated with a Tufin Orchestration Suite user account.

  4. Select Read-Write for all the profile settings.

Update the FortiManager list of trusted hosts

If you have enabled the Trusted Hosts setting in FortiManager, you will need to add the IP address of the TOS host to enable certificate retrieval and communication.

Add a SAN signed certificate to the FortiManager device

See Adding SAN Signed Certificates to FortiManager.

Steps

  1. In SecureTrack, go to Monitoring > Manage Devices.

  2. Select Fortinet > FortiManager

  3. Follow the instructions in the device wizard to configure the general device settings, connection settings and monitoring settings. Review FortiManager device settings. There are separate connection settings for configuring on-prem and cloud devices.

  4. Click Save.

    The FortiManager appears in the monitored devices tree. To begin monitoring its managed devices, import Administrative Domains and managed devices.

Topology options to collect routing information for building the network Map are configured when you import managed devices.

Managing FortiManager devices

After you add a device, further configuration options are available.

Options vary depending on your environment.

  • Edit configuration: Use the wizard to modify selected device settings. See Add a Device in this topic.

  • Delete this device: Type yes to confirm that you want to delete the device.

  • Import Administrative Domains and Managed Devices

  • Migrate (ST servers): Available in distributed deployments. Select the server where the device will be monitored and click Migrate.

  • Migrate (Domains): Available in multi-domain deployments. Select the domain where the device will be monitored and click Migrate.

  • Collect Dynamic Routing Information: Initiates retrieval of the dynamic routing information for all the firewalls managed by this device. You can manually change the collection configuration for each firewall later.

See also

Override default DNS