5.02021-11-21T22:05:32ZFortiswitchSNMP FortiSwitch DevicesSNMP FortiSwitch Devices## 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
FortiswitchFortinet GeneralFortinet PerformanceInterfaces DiscoveryLink 10/100/1000Network TrafficPort StatusStorage- Current CPU UtilSNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.2.0fortinetCurrentCPUUtil60FLOAT%Fortinet Performance{avg(#5)}>95Fortinet {HOSTNAME} - Usage of CPU over 95%AVERAGECPU activity on Fortinet is more than 95% during the last five checks
- Current RAM UsageSNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.3.0fortinetCurrentRAMUtil60FLOATBFortinet Performance
- Total RAM CapacitySNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.4.0fortinetTotalRAMCapacity3600FLOATBFortinet Performance
- Total storage spaceSNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.6.0fortinetTotalStorage3600FLOATBFortinet PerformanceStorageMULTIPLIER1000000
- Fortinet Used RAM %CALCULATEDfortinetUsedMemory-percent60FLOAT%100*last("fortinetCurrentRAMUtil")/last("fortinetTotalRAMCapacity")Fortinet Performance{avg(#5)}>90Fortinet {HOSTNAME} - Memory Usage Over 90%AVERAGEMemory usage on Fortinet is more than 90% during the last five checks
- Used storage spaceSNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.5.0fortinetUsedStorage60BFortinet PerformanceStorageMULTIPLIER1000000
- Fortinet Used Storage %CALCULATEDfortinetUsedStorage-percent60FLOAT%100*last("fortinetUsedStorage")/last("fortinetTotalStorage")Fortinet PerformanceStorage
- Firmware VersionSNMP_AGENT.1.3.6.1.4.1.12356.106.4.1.1.0SysmFirmwareVersion36000CHAROSFortinet General
- Serial NumberSNMP_AGENT.1.3.6.1.4.1.12356.106.1.1.1.0SysmSerialNumber36000CHARSERIALNO_AFortinet General
Network InterfacesSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]ifname300Upload $1SNMP_AGENTIF-MIB::ifHCOutOctets.{#SNMPINDEX}ifHCOutOctets[{#SNMPVALUE}]30bpsNetwork TrafficCHANGE_PER_SECONDMULTIPLIER8Link Speed $1SNMP_AGENTIF-MIB::ifHighSpeed.{#SNMPINDEX}ifHighSpeed[{#SNMPVALUE}]3007d180dLink 10/100/1000Download $1SNMP_AGENTIF-MIB::ifInOctets.{#SNMPINDEX}ifInOctets[{#SNMPVALUE}]30bpsNetwork TrafficCHANGE_PER_SECONDMULTIPLIER8Network Traffic {#SNMPVALUE}GRADIENT_LINE1A7C11- SNMP FortiSwitch DevicesifInOctets[{#SNMPVALUE}]
1GRADIENT_LINEF63100- SNMP FortiSwitch DevicesifHCOutOctets[{#SNMPVALUE}]
CPU %NOGRADIENT_LINE00AA00- SNMP FortiSwitch DevicesfortinetCurrentCPUUtil
Disk use4004000NONOPIEYESAA0000- SNMP FortiSwitch DevicesfortinetUsedStorage
1006600GRAPH_SUM- SNMP FortiSwitch DevicesfortinetTotalStorage
RAM %NOGRADIENT_LINEC80000- SNMP FortiSwitch DevicesfortinetUsedMemory-percent