5.02021-11-21T21:51:24ZFortigateModule Interfaces SNMPv2Module Interfaces SNMPv2## Description
Template Interfaces version: 0.14 MIBs used: IF-MIB
## Overview
Hello, I created this template that contains the verification of all interfaces of fortinet equipment
Including
CPU%
Memory%
Vpn discovery
HA monitoring
Equipment Uptime
Number of Connections
Traffic Internet Inbound and Outbound
Serial Number (Included in host screens)
Firmware version (Included in host screens)
In addition to trigger triggers for all items
Update: Template updated to configuration version, search and discovery items changed
## Author
Cleyton Ferreira da Silva
FortigateNetwork Interfaces- Current connectionsSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.8.0fortinetCurrentConnections60KCCHANGE_PER_SECOND
- Current CPU UtilSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.3.0fortinetCurrentCPUUtil60FLOAT%CHANGE_PER_SECONDMULTIPLIER100{avg(#5)}>80Fortinet {HOSTNAME} - Usage of CPU over 80%INFOCPU activity on Fortinet is more than 95% during the last five checks
- Current RAM UsageSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.4.0fortinetCurrentRAMUtil60FLOAT%
- Serial NumberSNMP_AGENT.1.3.6.1.4.1.12356.100.1.1.1fortinetSysSerial36000CHARSERIALNO_A
- Total storage spaceSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.7.0fortinetTotalStorage3600FLOATBMULTIPLIER1000000
- Fortinet UptimeSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.20.0fortinetUpTime30uptimeMULTIPLIER1e-2{last(#10)}>{last(0)}Fortinet {HOST.NAME} RebootedAVERAGEThe Fortinet has been rebooted during last 10 checks
- Used storage spaceSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.6.0fortinetUsedStorage60BMULTIPLIER1000000
- Fortinet Used Storage %CALCULATEDfortinetUsedStorage-percent60FLOAT%100*last("fortinetUsedStorage")/last("fortinetTotalStorage")
- Firmware VersionSNMP_AGENT.1.3.6.1.4.1.12356.101.4.1.1.0SysmFirmwareVersion36000CHAROS
Network Interfaces DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]net.if.discovery300AND{#IFADMINSTATUS}(1|3)A{#IFNAME}@Network interfaces for discoveryBDiscovering interfaces from IF-MIB. Interfaces with down(2) Administrative Status are not discovered.Interface {#IFNAME}({#IFALIAS}): Inbound packets discardedSNMP_AGENT1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}net.if.in.discards[ifInDiscards.{#SNMPINDEX}]3001wDISABLEDbpsMIB: IF-MIB
The number of inbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDInterface {#IFNAME}({#IFALIAS}): Inbound packets with errorsSNMP_AGENT1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}net.if.in.errors[ifInErrors.{#SNMPINDEX}]3001wDISABLEDMIB: IF-MIB
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDInterface {#IFNAME}({#IFALIAS}): RecebidosSNMP_AGENT1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}net.if.in[ifHCInOctets.{#SNMPINDEX}]18030dbpsMIB: IF-MIB
The total number of octets received on the interface,including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDMULTIPLIER8Interface {#IFNAME}({#IFALIAS}): Outbound packets discardedSNMP_AGENT1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]3001wDISABLEDMIB: IF-MIB
The number of outbound packets which were chosen to be discarded
even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
One possible reason for discarding such a packet could be to free up buffer space.
Discontinuities in the value of this counter can occur at re-initialization of the management system,
and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDInterface {#IFNAME}({#IFALIAS}): Outbound packets with errorsSNMP_AGENT1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}net.if.out.errors[ifOutErrors.{#SNMPINDEX}]3001wDISABLEDMIB: IF-MIB
For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDInterface {#IFNAME}({#IFALIAS}): EnviadosSNMP_AGENT1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}net.if.out[ifHCOutOctets.{#SNMPINDEX}]18030dbpsMIB: IF-MIB
The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.Network InterfacesCHANGE_PER_SECONDMULTIPLIER8Interface {#IFNAME}({#IFALIAS}): SpeedSNMP_AGENT1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}net.if.speed[ifHighSpeed.{#SNMPINDEX}]3001w0dFLOATbpsMIB: IF-MIB
An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n' then the speed of the interface is somewhere in the range of `n-500,000' to`n+499,999'. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth. For a sub-layer which has no concept of bandwidth, this object should be zero.Network InterfacesMULTIPLIER1000000Interface {#IFNAME}({#IFALIAS}): Operational statusSNMP_AGENT1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}net.if.status[ifOperStatus.{#SNMPINDEX}]18014d0MIB: IF-MIB
The current operational state of the interface.
- The testing(3) state indicates that no operational packet scan be passed
- If ifAdminStatus is down(2) then ifOperStatus should be down(2)
- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.Network InterfacesIF-MIB::ifOperStatus{$IFCONTROL:"{#IFNAME}"}=1 and ({last()}=2 and {diff()}=1)RECOVERY_EXPRESSION{last()}<>2Interface {#IFNAME}({#IFALIAS}): Link downDISASTERLast value: {ITEM.LASTVALUE1}.
Interface is downInterface {#IFNAME}({#IFALIAS}): Interface typeSNMP_AGENT1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}net.if.type[ifType.{#SNMPINDEX}]36001w0dMIB: IF-MIB
The type of interface.
Additional values for ifType are assigned by the Internet Assigned NumbersAuthority (IANA),
through updating the syntax of the IANAifType textual convention.Network InterfacesIF-MIB::ifType{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].change()}<0 and {Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}>0
and (
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=6 or
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=7 or
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=11 or
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=62 or
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=69 or
{Module Interfaces SNMPv2:net.if.type[ifType.{#SNMPINDEX}].last()}=117
)
and
({Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2)
RECOVERY_EXPRESSION({Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].change()}>0 and {Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].prev()}>0) or
({Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2)Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was beforeINFOLast value: {ITEM.LASTVALUE1}.
This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.YESInterface {#IFNAME}({#IFALIAS}): Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2({Module Interfaces SNMPv2:net.if.in[ifHCInOctets.{#SNMPINDEX}].avg(15m)}>({$IF_UTIL_MAX:"{#IFNAME}"}/100)*{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()} or
{Module Interfaces SNMPv2:net.if.out[ifHCOutOctets.{#SNMPINDEX}].avg(15m)}>({$IF_UTIL_MAX:"{#IFNAME}"}/100)*{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}) and
{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}>0RECOVERY_EXPRESSION{Module Interfaces SNMPv2:net.if.in[ifHCInOctets.{#SNMPINDEX}].avg(15m)}<(({$IF_UTIL_MAX:"{#IFNAME}"}-3)/100)*{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()} and
{Module Interfaces SNMPv2:net.if.out[ifHCOutOctets.{#SNMPINDEX}].avg(15m)}<(({$IF_UTIL_MAX:"{#IFNAME}"}-3)/100)*{Module Interfaces SNMPv2:net.if.speed[ifHighSpeed.{#SNMPINDEX}].last()}Interface {#IFNAME}({#IFALIAS}): High bandwidth usage >{$IF_UTIL_MAX:"{#IFNAME}"}%WARNINGLast value: {ITEM.LASTVALUE1}.YESInterface {#IFNAME}({#IFALIAS}): Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2{Module Interfaces SNMPv2:net.if.in.errors[ifInErrors.{#SNMPINDEX}].avg(5m)}>{$IF_ERRORS_WARN:"{#IFNAME}"}
or {Module Interfaces SNMPv2:net.if.out.errors[ifOutErrors.{#SNMPINDEX}].avg(5m)}>{$IF_ERRORS_WARN:"{#IFNAME}"}RECOVERY_EXPRESSION{Module Interfaces SNMPv2:net.if.in.errors[ifInErrors.{#SNMPINDEX}].avg(5m)}<{$IF_ERRORS_WARN:"{#IFNAME}"}*0.8
and {Module Interfaces SNMPv2:net.if.out.errors[ifOutErrors.{#SNMPINDEX}].avg(5m)}<{$IF_ERRORS_WARN:"{#IFNAME}"}*0.8Interface {#IFNAME}({#IFALIAS}): High error rateWARNINGLast value: {ITEM.LASTVALUE1}.
Recovers when below 80% of {$IF_ERRORS_WARN:"{#IFNAME}"} thresholdYESInterface {#IFNAME}({#IFALIAS}): Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Module Interfaces SNMPv2:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2Interface {#IFNAME}({#IFALIAS}): Network trafficGRADIENT_LINE80FF00- Module Interfaces SNMPv2net.if.in[ifHCInOctets.{#SNMPINDEX}]
1GRADIENT_LINE0040FF- Module Interfaces SNMPv2net.if.out[ifHCOutOctets.{#SNMPINDEX}]
{$IFCONTROL}1{$IF_ERRORS_WARN}2{$IF_UTIL_MAX}90ScreenPrototype330CPU %Module Interfaces SNMPv250010000110000030Current ConnectionsModule Interfaces SNMPv250010010110000030Disk useModule Interfaces SNMPv250010020110000030RAM %Module Interfaces SNMPv250010001110000030UPTIME FORTIGATEModule Interfaces SNMPv250010011110000033fortinetSysSerialModule Interfaces SNMPv2500100211125000033SysmFirmwareVersionModule Interfaces SNMPv250010022112500003CPU %NOGRADIENT_LINE00AA00- Module Interfaces SNMPv2fortinetCurrentCPUUtil
Current ConnectionsNOGRADIENT_LINE999900- Module Interfaces SNMPv2fortinetCurrentConnections
Disk use4004000NONOPIEYESAA0000- Module Interfaces SNMPv2fortinetUsedStorage
1006600GRAPH_SUM- Module Interfaces SNMPv2fortinetTotalStorage
RAM %NOFFB300- Module Interfaces SNMPv2fortinetCurrentRAMUtil
UPTIME FORTIGATEGRADIENT_LINE1A7C11- Module Interfaces SNMPv2fortinetUpTime
IF-MIB::ifOperStatus1up2down3testing4unknown5dormant6notPresent7lowerLayerDownIF-MIB::ifType1other2regular18223hdh18224ddnX255rfc877x256ethernetCsmacd7iso88023Csmacd8iso88024TokenBus9iso88025TokenRing10iso88026Man11starLan12proteon10Mbit13proteon80Mbit14hyperchannel15fddi16lapb17sdlc18ds119e120basicISDN21primaryISDN22propPointToPointSerial23ppp24softwareLoopback25eon26ethernet3Mbit27nsip28slip29ultra30ds331sip32frameRelay33rs23234para35arcnet36arcnetPlus37atm38miox2539sonet40x25ple41iso88022llc42localTalk43smdsDxi44frameRelayService45v3546hssi47hippi48modem49aal550sonetPath51sonetVT52smdsIcip53propVirtual54propMultiplexor55ieee8021256fibreChannel57hippiInterface58frameRelayInterconnect59aflane802360aflane802561cctEmul62fastEther63isdn64v1165v3666g703at64k67g703at2mb68qllc69fastEtherFX70channel71ieee8021172ibm370parChan73escon74dlsw75isdns76isdnu77lapd78ipSwitch79rsrb80atmLogical81ds082ds0Bundle83bsc84async85cnr86iso88025Dtr87eplrs88arap89propCnls90hostPad91termPad92frameRelayMPI93x21394adsl95radsl96sdsl97vdsl98iso88025CRFPInt99myrinet100voiceEM101voiceFXO102voiceFXS103voiceEncap104voiceOverIp105atmDxi106atmFuni107atmIma108pppMultilinkBundle109ipOverCdlc110ipOverClaw111stackToStack112virtualIpAddress113mpc114ipOverAtm115iso88025Fiber116tdlc117gigabitEthernet118hdlc119lapf120v37121x25mlp122x25huntGroup123trasnpHdlc124interleave125fast126ip127docsCableMaclayer128docsCableDownstream129docsCableUpstream130a12MppSwitch131tunnel132coffee133ces134atmSubInterface135l2vlan136l3ipvlan137l3ipxvlan138digitalPowerline139mediaMailOverIp140dtm141dcn142ipForward143msdsl144ieee1394145if-gsn146dvbRccMacLayer147dvbRccDownstream148dvbRccUpstream149atmVirtual150mplsTunnel151srp152voiceOverAtm153voiceOverFrameRelay154idsl155compositeLink156ss7SigLink157propWirelessP2P158frForward159rfc1483160usb161ieee8023adLag162bgppolicyaccounting163frf16MfrBundle164h323Gatekeeper165h323Proxy166mpls167mfSigLink168hdsl2169shdsl170ds1FDL171pos172dvbAsiIn173dvbAsiOut174plc175nfas176tr008177gr303RDT178gr303IDT179isup180propDocsWirelessMaclayer181propDocsWirelessDownstream182propDocsWirelessUpstream183hiperlan2184propBWAp2Mp185sonetOverheadChannel186digitalWrapperOverheadChannel187aal2188radioMAC189atmRadio190imt191mvl192reachDSL193frDlciEndPt194atmVciEndPt195opticalChannel196opticalTransport197propAtm198voiceOverCable199infiniband200teLink201q2931202virtualTg203sipTg204sipSig205docsCableUpstreamChannel206econet207pon155208pon622209bridge210linegroup211voiceEMFGD212voiceFGDEANA213voiceDID214mpegTransport215sixToFour216gtp217pdnEtherLoop1218pdnEtherLoop2219opticalChannelGroup220homepna221gfp222ciscoISLvlan223actelisMetaLOOP224fcipLink225rpr226qam227lmp228cblVectaStar229docsCableMCmtsDownstream230adsl2231macSecControlledIF232macSecUncontrolledIF233aviciOpticalEther234atmbond235voiceFGDOS236mocaVersion1237ieee80216WMAN238adsl2plus239dvbRcsMacLayer240dvbTdm241dvbRcsTdma242x86Laps243wwanPP244wwanPP2245voiceEBS246ifPwType247ilan248pip249aluELP250gpon251vdsl2252capwapDot11Profile253capwapDot11Bss254capwapWtpVirtualRadio255bits256docsCableUpstreamRfPort257cableDownstreamRfPort258vmwareVirtualNic259ieee802154260otnOdu261otnOtu262ifVfiType263g9981264g9982265g9983266aluEpon267aluEponOnu268aluEponPhysicalUni269aluEponLogicalLink270aluGponOnu271aluGponPhysicalUni272vmwareNicTeam277docsOfdmDownstream278docsOfdmaUpstream279gfast280sdci281xboxWireless282fastdsl283docsCableScte55d1FwdOob284docsCableScte55d1RetOob285docsCableScte55d2DsOob286docsCableScte55d2UsOob287docsCableNdf288docsCableNdr289ptm290ghn