zabbix_export: version: '6.0' date: '2021-11-21T22:05:34Z' groups: - uuid: 0bbeb1a7b45e4713aa0c917f1f942856 name: Fortiswitch templates: - uuid: 971969107e6b4941bae6d918a6b758aa template: 'SNMP FortiSwitch Devices' name: 'SNMP FortiSwitch Devices' description: | ## Overview This is a template created starting from Andrea Durante's Fortigate SNMP template, but with modified OIDs from the MIB of the FortiSwitch 124E-PoE device. Serial No., OS version,% CPU,% RAM, disk (total and used), interface data (link and speed). Graphs for % CPU, % RAM, disk use and network traffic. ## Author Sergio Román González groups: - name: Fortiswitch items: - uuid: ef69dc7833ea40cf98f206505530f8f7 name: 'Current CPU Util' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.2.0 key: fortinetCurrentCPUUtil delay: '60' value_type: FLOAT units: '%' tags: - tag: Application value: 'Fortinet Performance' triggers: - uuid: b76ecd810a664e6cac116888754d20a5 expression: 'avg(/SNMP FortiSwitch Devices/fortinetCurrentCPUUtil,#5)>95' name: 'Fortinet {HOSTNAME} - Usage of CPU over 95%' priority: AVERAGE description: 'CPU activity on Fortinet is more than 95% during the last five checks' - uuid: 4d6d3caa1f15461a9db2aba7e28fd5cc name: 'Current RAM Usage' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.3.0 key: fortinetCurrentRAMUtil delay: '60' value_type: FLOAT units: B tags: - tag: Application value: 'Fortinet Performance' - uuid: 7e2e667e403c4b959af765d2cdb131e7 name: 'Total RAM Capacity' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.4.0 key: fortinetTotalRAMCapacity delay: '3600' value_type: FLOAT units: B tags: - tag: Application value: 'Fortinet Performance' - uuid: 678d80ca159748f88ab820a71182e476 name: 'Total storage space' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.6.0 key: fortinetTotalStorage delay: '3600' value_type: FLOAT units: B preprocessing: - type: MULTIPLIER parameters: - '1000000' tags: - tag: Application value: 'Fortinet Performance' - tag: Application value: Storage - uuid: 3c438b43fb744afa8723a867fb90d1c5 name: 'Fortinet Used RAM %' type: CALCULATED key: fortinetUsedMemory-percent delay: '60' value_type: FLOAT units: '%' params: '100*last(//fortinetCurrentRAMUtil)/last(//fortinetTotalRAMCapacity)' tags: - tag: Application value: 'Fortinet Performance' triggers: - uuid: 9649b0415eb345d2be26f159346692ba expression: 'avg(/SNMP FortiSwitch Devices/fortinetUsedMemory-percent,#5)>90' name: 'Fortinet {HOSTNAME} - Memory Usage Over 90%' priority: AVERAGE description: 'Memory usage on Fortinet is more than 90% during the last five checks' - uuid: a491740d42404b9f922c05352049b252 name: 'Used storage space' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.5.0 key: fortinetUsedStorage delay: '60' units: B preprocessing: - type: MULTIPLIER parameters: - '1000000' tags: - tag: Application value: 'Fortinet Performance' - tag: Application value: Storage - uuid: 87e33d999b404c27808b5f36cf9d022d name: 'Fortinet Used Storage %' type: CALCULATED key: fortinetUsedStorage-percent delay: '60' value_type: FLOAT units: '%' params: '100*last(//fortinetUsedStorage)/last(//fortinetTotalStorage)' tags: - tag: Application value: 'Fortinet Performance' - tag: Application value: Storage - uuid: 255d003958a1476482c3130b818cf69c name: 'Firmware Version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.4.1.1.0 key: SysmFirmwareVersion delay: '3600' trends: '0' value_type: CHAR inventory_link: OS tags: - tag: Application value: 'Fortinet General' - uuid: f316480002424fc087cc07c27a440d77 name: 'Serial Number' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.12356.106.1.1.1.0 key: SysmSerialNumber delay: '3600' trends: '0' value_type: CHAR inventory_link: SERIALNO_A tags: - tag: Application value: 'Fortinet General' discovery_rules: - uuid: 57b5ed45eef64e899ccad0b379ff4909 name: 'Network Interfaces' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]' key: ifname delay: '300' item_prototypes: - uuid: fee46a7ac2ca4df79ef0a96281f4fea2 name: 'Upload $1' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifHCOutOctets.{#SNMPINDEX}' key: 'ifHCOutOctets[{#SNMPVALUE}]' delay: '30' units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: 'Network Traffic' - uuid: 9a9f1661c9e243e7aa42e787a258b974 name: 'Link Speed $1' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifHighSpeed.{#SNMPINDEX}' key: 'ifHighSpeed[{#SNMPVALUE}]' delay: '300' history: 7d trends: 180d tags: - tag: Application value: 'Link 10/100/1000' - uuid: 471d94c2133d49d3a610392b2a4873e4 name: 'Download $1' type: SNMP_AGENT snmp_oid: 'IF-MIB::ifInOctets.{#SNMPINDEX}' key: 'ifInOctets[{#SNMPVALUE}]' delay: '30' units: bps preprocessing: - type: CHANGE_PER_SECOND parameters: - '' - type: MULTIPLIER parameters: - '8' tags: - tag: Application value: 'Network Traffic' graph_prototypes: - uuid: 4986f2d616b246d4bcd6faf92838e6fc name: 'Network Traffic {#SNMPVALUE}' graph_items: - drawtype: GRADIENT_LINE color: 1A7C11 item: host: 'SNMP FortiSwitch Devices' key: 'ifInOctets[{#SNMPVALUE}]' - sortorder: '1' drawtype: GRADIENT_LINE color: F63100 item: host: 'SNMP FortiSwitch Devices' key: 'ifHCOutOctets[{#SNMPVALUE}]' graphs: - uuid: 6119b390b8f0444e8cd737b32ed57b8c name: 'CPU %' show_work_period: 'NO' graph_items: - drawtype: GRADIENT_LINE color: 00AA00 item: host: 'SNMP FortiSwitch Devices' key: fortinetCurrentCPUUtil - uuid: 8b2aa40bdb5d457292a8cfe17c2f2d5f name: 'Disk use' width: '400' height: '400' yaxismax: '0' show_work_period: 'NO' show_triggers: 'NO' type: PIE show_3d: 'YES' graph_items: - color: AA0000 item: host: 'SNMP FortiSwitch Devices' key: fortinetUsedStorage - sortorder: '1' color: '006600' type: GRAPH_SUM item: host: 'SNMP FortiSwitch Devices' key: fortinetTotalStorage - uuid: 3c93e924ff4643eabc1d9852b885fd5b name: 'RAM %' show_work_period: 'NO' graph_items: - drawtype: GRADIENT_LINE color: C80000 item: host: 'SNMP FortiSwitch Devices' key: fortinetUsedMemory-percent