Fortinet black logo

Handbook (HTML)

Configuring Microsoft SQL Server monitoring

Configuring Microsoft SQL Server monitoring

FortiDB uses either SQL Trace or the TCP/IP sniffer to collect audit information from Microsoft SQL Server databases.

The TCP/IP sniffer is provided by the appliance version of FortiDB only. For detailed configuration instructions, see Configuring monitoring using the TCP/IP sniffer (all database types).

To configure auditing for a Microsoft SQL Server database using SQL Trace
To change the collection method or polling frequency for monitoring, first stop monitoring. You cannot change these settings while FortiDB is monitoring the target database.
  1. Ensure the required database pre-configuration is complete. See Microsoft SQL Server target database pre-configuration.
  2. Verify that the SQL Server has an audit trace folder (for example, C:\SQLTrace).
  3. Ensure that you enter the full path to the folder.

  4. In the navigation menu, click DB Activity Monitoring > Monitoring Management, and then click the name of the target that connects to the database you want to monitor.
  5. On the General tab, complete the following settings:
  6. Collection Method

    Select SQL Trace.

    To change a collection method from one option to the other, first stop monitoring, change the collection method, then restart monitoring.

    Trace Folder

    Specify the folder where your server writes the trace information.

    Ensure that you enter the full path.

    Polling Frequency (ms)

    Enter the polling frequency for audit collection, in seconds

    To change the polling frequency later, stop monitoring, change the value, and then re-start monitoring.

  7. Click Test to confirm the connection with the method you selected.
  8. On the General tab, under Monitoring, click Start Monitoring.
  9. For more information about monitoring, see Monitoring settings and messages.

See also

Configuring Microsoft SQL Server monitoring

FortiDB uses either SQL Trace or the TCP/IP sniffer to collect audit information from Microsoft SQL Server databases.

The TCP/IP sniffer is provided by the appliance version of FortiDB only. For detailed configuration instructions, see Configuring monitoring using the TCP/IP sniffer (all database types).

To configure auditing for a Microsoft SQL Server database using SQL Trace
To change the collection method or polling frequency for monitoring, first stop monitoring. You cannot change these settings while FortiDB is monitoring the target database.
  1. Ensure the required database pre-configuration is complete. See Microsoft SQL Server target database pre-configuration.
  2. Verify that the SQL Server has an audit trace folder (for example, C:\SQLTrace).
  3. Ensure that you enter the full path to the folder.

  4. In the navigation menu, click DB Activity Monitoring > Monitoring Management, and then click the name of the target that connects to the database you want to monitor.
  5. On the General tab, complete the following settings:
  6. Collection Method

    Select SQL Trace.

    To change a collection method from one option to the other, first stop monitoring, change the collection method, then restart monitoring.

    Trace Folder

    Specify the folder where your server writes the trace information.

    Ensure that you enter the full path.

    Polling Frequency (ms)

    Enter the polling frequency for audit collection, in seconds

    To change the polling frequency later, stop monitoring, change the value, and then re-start monitoring.

  7. Click Test to confirm the connection with the method you selected.
  8. On the General tab, under Monitoring, click Start Monitoring.
  9. For more information about monitoring, see Monitoring settings and messages.

See also