Fortinet Document Library

Version:


Table of Contents

User Guide

21.4.0
Copy Link

Prometheus

If you are already using Prometheus to monitor your instances, you can use the Prometheus integration to incorporate the metrics into your FortiMonitor infrastructure. Prometheus supports a number of exporters that enable FortiMonitor to scrape metric data from exposed endpoints. These metrics are then visualized in configurable graphs to help you track each metric. Setting up an Alert Timeline also allows you to configure alerting and take action when an incident occurs.

Contact our support team if you want the Prometheus integration feature enabled.

Control panel configuration 

To start monitoring your Prometheus endpoints, perform the following steps:

  1. From the Instance Details page of the instance that you want to monitor, click Prometheus Endpoints.
    Note: To allow FortiMonitor to scrape off data from Prometheus endpoints, the primary monitoring location of the instance must be set to an OnSight vCollector

  2. On the configuration drawer, select Add Endpoint then provide the endpoint. For example, prometheus-rabbitmq-exporter-7fb45675b-nvqbk:9419/metrics.
    Note: 9419 is the default port for the RabbitMQ exporter. If you are unsure about which port to use, see Prometheus default port allocations

  3. Select Save Changes.

  4. Go to the Monitoring Config tab then click Add Monitoring.

  5. From the monitoring catalog, add Prometheus.

  6. The metric drawer that contains all of the supported Prometheus metrics will slide out. Choose a metric then select Add.
    Note: After adding the endpoint, give the OnSight a few minutes to discover all available metrics and populate the metric drawer.

The Monitoring Config tab of the Instance Details page will show all of the metrics that you have configured for this instance.

The Performance section provides a visual representation of the status of the instance. Each metric is represented by a line graph that can be filtered based on metric type and scoped using a specific time range.

The Activity tab provides a log of all actions performed on the instance. The initiator of the action, the date, and the action performed is detailed in the Activity Log table.

Prometheus

If you are already using Prometheus to monitor your instances, you can use the Prometheus integration to incorporate the metrics into your FortiMonitor infrastructure. Prometheus supports a number of exporters that enable FortiMonitor to scrape metric data from exposed endpoints. These metrics are then visualized in configurable graphs to help you track each metric. Setting up an Alert Timeline also allows you to configure alerting and take action when an incident occurs.

Contact our support team if you want the Prometheus integration feature enabled.

Control panel configuration 

To start monitoring your Prometheus endpoints, perform the following steps:

  1. From the Instance Details page of the instance that you want to monitor, click Prometheus Endpoints.
    Note: To allow FortiMonitor to scrape off data from Prometheus endpoints, the primary monitoring location of the instance must be set to an OnSight vCollector

  2. On the configuration drawer, select Add Endpoint then provide the endpoint. For example, prometheus-rabbitmq-exporter-7fb45675b-nvqbk:9419/metrics.
    Note: 9419 is the default port for the RabbitMQ exporter. If you are unsure about which port to use, see Prometheus default port allocations

  3. Select Save Changes.

  4. Go to the Monitoring Config tab then click Add Monitoring.

  5. From the monitoring catalog, add Prometheus.

  6. The metric drawer that contains all of the supported Prometheus metrics will slide out. Choose a metric then select Add.
    Note: After adding the endpoint, give the OnSight a few minutes to discover all available metrics and populate the metric drawer.

The Monitoring Config tab of the Instance Details page will show all of the metrics that you have configured for this instance.

The Performance section provides a visual representation of the status of the instance. Each metric is represented by a line graph that can be filtered based on metric type and scoped using a specific time range.

The Activity tab provides a log of all actions performed on the instance. The initiator of the action, the date, and the action performed is detailed in the Activity Log table.