5.02021-11-21T21:33:48ZFortigateFortigate 100DFortigate 100D## Overview
Customized Template based on the original made by Leonardo Nascimento da Silva. Added LLD for Hostname, CPU, Memory and Serial Number.
Also added HA Status and basic SNMP info (Contact, Name, Uptime).
Tested with Fortigate 100D on Zabbix 3.4.6
BTW, I had to create some Value Mappings as follows:
Fortigate HA Auto Sync
1 > Disabled
2 > Enabled
Fortigate HA Status
1 > Standalone
2 > Active/Active
3 > Active/Passive
######################################
Template customizado baseado no original do Leonardo Nascimento da Silva. Adicionei LLD's para o Hostname, CPU, Memória e Número de Série das unidades (quando estiverem em HA).
Também adicionei o status do HA e informações básicas do SNMP (Nome, Uptime, Contato)
Testei com o Fortigate 100D no Zabbix 3.4.6
Inclusive, eu tive que criar alguns mapeamentos de valores:
Fortigate HA Auto Sync
1 > Desativado
2 > Ativado
Fortigate HA Status
1 > Sem HA
2 > Ativo/Ativo
3 > Ativo/Passivo
Cheers!
Luiz Fernando Gondin Santos
## Author
Luiz Fernando Gondin Santos
FortigateCPUGeneralHigh AvailabilityInterfaces DiscoveryLink 10\100\1000MemoryStatus da PortaTráfego- HA Auto SyncSNMP_AGENT.1.3.6.1.4.1.12356.101.13.1.5.0fgHaAutoSync30sHigh AvailabilityFortigate HA Auto Sync
- HA ModeSNMP_AGENT.1.3.6.1.4.1.12356.101.13.1.1.0fgHaSystemMode30sHigh AvailabilityFortigate HA Status
- System ContactSNMP_AGENT.1.3.6.1.2.1.1.4.0sysContact30s0CHARGeneral
- System NameSNMP_AGENT.1.3.6.1.2.1.1.5.0sysName30s0CHARGeneral
- System UptimeSNMP_AGENT.1.3.6.1.2.1.1.3.0sysUpTime30sFLOATsGeneralMULTIPLIER0.01
CPU UsageSNMP_AGENTdiscovery[{#SNMPVALUE}, .1.3.6.1.4.1.12356.101.13.2.1.1.3]fgStatsCpuUsage300CPU $1 UsageSNMP_AGENT.1.3.6.1.4.1.12356.101.13.2.1.1.3.{#SNMPINDEX}fgStatsCpuUsage.[{#SNMPINDEX}]30s%CPU{last()}>80CPU {#SNMPINDEX} Load is HighAVERAGECPU {#SNMPINDEX} Load1A7C11- Fortigate 100DfgStatsCpuUsage.[{#SNMPINDEX}]
Unit HostnameSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.12356.101.13.2.1.1.11]fgStatsHostName300Unit $1 HostnameSNMP_AGENT.1.3.6.1.4.1.12356.101.13.2.1.1.11.{#SNMPINDEX}fgStatsHostName.[{#SNMPINDEX}]30s0CHARGeneralMemory UsageSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.12356.101.13.2.1.1.4]fgStatsMemUsage300Memory Usage $1SNMP_AGENT.1.3.6.1.4.1.12356.101.13.2.1.1.4.{#SNMPINDEX}fgStatsMemUsage.[{#SNMPINDEX}]30s%Memory{last()}>80Memory {#SNMPINDEX} use is HighAVERAGEMemory {#SNMPINDEX} UsageFILLED_REGION1A7C11- Fortigate 100DfgStatsMemUsage.[{#SNMPINDEX}]
Serial NumberSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.4.1.12356.101.13.2.1.1.2]fgStatsSerial300Unit $1 Serial NumberSNMP_AGENT.1.3.6.1.4.1.12356.101.13.2.1.1.2.{#SNMPINDEX}fgStatsSerial.[{#SNMPINDEX}]30s0CHARGeneralNetwork InterfacesSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]ifname300Upload $1SNMP_AGENTIF-MIB::ifHCOutOctets.{#SNMPINDEX}ifHCOutOctets[{#SNMPVALUE}]57d180dbpsTráfegoCHANGE_PER_SECONDMULTIPLIER8Speed $1SNMP_AGENTIF-MIB::ifHighSpeed.{#SNMPINDEX}ifHighSpeed[{#SNMPVALUE}]3007d180dLink 10\100\1000Download $1SNMP_AGENTIF-MIB::ifInOctets.{#SNMPINDEX}ifInOctets[{#SNMPVALUE}]57d180dbpsTráfegoCHANGE_PER_SECONDMULTIPLIER8Network Load {#SNMPVALUE}00C800- Fortigate 100DifInOctets[{#SNMPVALUE}]
1C80000- Fortigate 100DifHCOutOctets[{#SNMPVALUE}]
Fortigate HA Auto Sync1Disabled2EnabledFortigate HA Status1Standalone2Active/Active3Active/Passive