Description |
This article describes the steps to establish a connection between Zabbix and FortiGate. |
Scope | FortiGate. |
Solution |
The configuration below demonstrates how to establish a connection between Zabbix and FortiGate. Modifications to the topology, ports, SNMP version, and other settings can be made based on specific organizational requirements.
Topology:
FortiGate:
Ensure that SNMP is enabled in the administrative access options on the interface to be monitored. Image 1 displays SNMP enabled on the WAN1 interface:
Configure SNMP Agent: Go to System -> SNMP Enable SNMP agent and fill in the requested information:
Next, configure SNMPv3. Retain the default settings and input the following information:
The SNMP user information should appear as shown in Image 2:
Image 3 illustrates the expected SNMP configuration on the FortiGate:
Image 3. Zabbix:
To use a template with Fortinet items, refer to the Zabbix documentation for instructions on uploading a FortiGate device template. In this case, the template has already been uploaded.
Note that the Security name field must match the Username field configured in the FortiGate SNMP v3. Image 4 demonstrates how the FortiGate configuration should appear in Zabbix:
Image 4. After adding the FortiGate in Zabbix, create a new item to test and confirm that it is successfully retrieving FortiGate information.
Verify that the availability column displays SNMP with a green background.
Image 5 illustrates how the FortiGate should appear to collect the data. At this point, 231 items have been obtained from the applied template.
In the type, select SNMP Agent. In the SNMP OID field, use any of the following OIDs for testing:
1.3.6.1.4.1.12356.101.4.1.3.0 = CPU usage 1.3.6.1.4.1.12356.101.4.1.7.0 = Disk Capacity 1.3.6.1.4.1.12356.101.4.1.6.0 = Disk Usage 1.3.6.1.4.1.12356.101.4.1.4.0 = Memory Usage
In this case, the memory usage OID was used. Select Test, then Get Value. Image 6 shows that the percentage of memory used is 33%.
Related documents: |
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.