Created on 03-24-2024 10:28 PM Edited on 03-27-2024 10:20 AM By mdeparisse_FTNT
Description | This article describes how to monitor FortiGate connectivity through FortiAnalyzer API. |
Scope | FortiAnalyzer. |
Solution |
In FortiAnalyzer, a FortiGate connectivity is determined based on the last log received. This can be observed in FortiAnalyzer Manager:
Juara-kvm09 # dia de app fazsvcd 8 Juara-kvm09 # dia de en process_jsonrpc_request:1627: request:
The status value for each device from the API response is as follows:
dev1 -> 0 ("Unknown") dev2 -> 2 ("Connection Up") dev3 -> 1 ("Connection Down")
The API response is then translated correspondingly in the GUI:
Even though FortiAnalyzer is receiving logs from dev1, it is shown as 'Unknown'; this is because it is not sending logs via the OFTP protocol.
A Python script is attached to poll the /logview/adom/root/logstats API URL for device connectivity (lograte.py). |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.