5.02021-11-25T12:43:09ZTemplates/ModulesTemplates/Network devicesSNMP QNAPSNMP QNAPTemplate Net Network Generic Device SNMPTemplates/Network devicesDisksiSCSI & LUNPoolsRAIDSystem HardwareSystem InformationVolumes- CPU TemperatureSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.4.2.0cpu.temp30m7d7dSystem Hardware{min(15m)}>={$CPU_TEMPERATURE_ALARM}High CPU temperature (>{$CPU_TEMPERATURE_ALARM} for 15m)Current temperature: {ITEM.VALUE}WARNINGThe CPU temperature is exceeding the threshold.
- Disk IOPSSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.3.1disk.iops15m7d7dDisks
- Disk latencySNMP_AGENT1.3.6.1.4.1.24681.1.4.1.11.5.6.2.1.4.1disk.latency15m7d7dDisks{min(15m)}>={$DISK_LATENCY_ALARM}Disk latency is high (>{$DISK_LATENCY_ALARM} for 15m)Current latency: {ITEM.VALUE}WARNINGThe latency of the disks are higher than the threshhold for 15 minutes.
- System TemperatureSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.1.2.1.7.1system.temp30m7d7dSystem Hardware
Disk DiscoverySNMP_AGENTdiscovery[{#HDDINDEX},1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.1]disk.discovery15mHDD {#HDDINDEX}: CapacitySNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.9.{#HDDINDEX}hdd.capacity[{#HDDINDEX}]1h7d7dBDisksHDD {#HDDINDEX}: ModelSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.8.{#HDDINDEX}hdd.model[{#HDDINDEX}]1h7d0TEXTDisksHDD {#HDDINDEX}: Hot SpareSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.7.{#HDDINDEX}hdd.spare[{#HDDINDEX}]1h7d7dDisksQNAP Hot SpareHDD {#HDDINDEX}: StateSNMP_AGENT1.3.6.1.4.1.24681.1.3.11.1.4.{#HDDINDEX}hdd.state[{#HDDINDEX}]5m7d7dDisks{last()}=1HDD {#HDDINDEX} (hotspare) is in operationWARNINGHarddisk was previously a hot spare but is now in operation.HDD {#HDDINDEX}: SMART StatusSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.5.{#HDDINDEX}hdd.status[{#HDDINDEX}]30m7d7dDisksQNAP S.M.A.R.T State{last()}<>0Faulty SMART state of HDD {#HDDINDEX}Current state: {ITEM.LASTVALUE1}HIGHS.M.A.R.T has alerted a faulty state of the disk.HDD {#HDDINDEX}: TemperatureSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.5.2.1.6.{#HDDINDEX}hdd.temp[{#HDDINDEX}]30m7d7dDisks{min(15m)}>{$HDD_TEMPERATURE_ALARM}Temperature of HDD {#HDDINDEX} is excessive for 15mCurrent temperature: {ITEM.VALUE}WARNINGHarddisk temperature is higher than the threshold for 15 minutes.Temperature of HDD {#HDDINDEX} is high for 5m{SNMP QNAP:hdd.temp[{#HDDINDEX}].min(5m)}>{$HDD_TEMPERATURE_ALARM}{min(5m)}>{$HDD_TEMPERATURE_ALARM}Temperature of HDD {#HDDINDEX} is high for 5mCurrent temperature: {ITEM.VALUE}INFOHarddisk temperature is higher than the threshold for 5 minutes.FAN DiscoverySNMP_AGENTdiscovery[{#FANINDEX},1.3.6.1.4.1.24681.1.4.1.1.1.1.2.2.1.1]fan.discovery15mFAN {#FANINDEX}: NameSNMP_AGENT1.3.6.1.4.1.24681.1.3.15.1.2.{#FANINDEX}fan.name[{#FANINDEX}]1h7d0TEXTSystem HardwareFAN {#FANINDEX}: SpeedSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.2.2.1.5.{#FANINDEX}fan.speed[{#FANINDEX}]30m7d7dSystem HardwareFAN {#FANINDEX}: StatusSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.1.2.2.1.4.{#FANINDEX}fan.status[{#FANINDEX}]30m7d7dSystem HardwareAlarm stateLUN DiscoverySNMP_AGENTdiscovery[{#LUNINDEX},1.3.6.1.4.1.24681.1.4.1.1.2.1.11.2.1.1]lun.discovery15mLUN {#LUNINDEX}: NameSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.2.1.11.2.1.3.{#LUNINDEX}lun.name[{#LUNINDEX}]1h7d0TEXTiSCSI & LUNLUN {#LUNINDEX}: StatusSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.2.1.11.2.1.5.{#LUNINDEX}lun.status[{#LUNINDEX}]15m7d7diSCSI & LUNQNAP LUN Status{last()}<0State of LUN {#LUNINDEX} is disconnectedWARNINGThe target of LUN is disconnected.Pool DiscoverySNMP_AGENTdiscovery[{#POOLINDEX},1.3.6.1.4.1.24681.1.4.1.1.1.2.2.2.1.1]pool.discovery15mPool {#POOLINDEX}: CapacitySNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.2.2.1.3.{#POOLINDEX}pool.capacity[{#POOLINDEX}]15m7d7dBPoolsPool {#POOLINDEX}: Free size in %CALCULATEDpool.freepercentage[{#POOLINDEX}]15m7d7dlast("pool.freeSize[{#POOLINDEX}]")/last("pool.capacity[{#POOLINDEX}]")*100Pools{last()}<{$POOL_SIZE_ALARM}Reaching threshold for pool {#POOLINDEX} (<{$POOL_SIZE_ALARM}%)Current %: {ITEM.LASTVALUE1}WARNINGThe free size of the pool is reaching the threshold.Pool {#POOLINDEX}: Free sizeSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.2.2.1.4.{#POOLINDEX}pool.freeSize[{#POOLINDEX}]15m7d7dBPoolsPool {#POOLINDEX}: StatusSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.2.2.1.5.{#POOLINDEX}pool.status[{#POOLINDEX}]15m7d7dPools{last()}<>0Faulty state of Pool {#POOLINDEX}HIGHA faulty state has been reported by the pool.RAID DiscoverySNMP_AGENTdiscovery[{#RAIDINDEX},1.3.6.1.4.1.24681.1.4.1.1.1.2.1.2.1.1]raid.discovery15mRAID {#RAIDINDEX}: CapacitySNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.1.2.1.3.{#RAIDINDEX}raid.capacity[{#RAIDINDEX}]1h7d7dBRAIDRAID {#RAIDINDEX}: Free sizeSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.1.2.1.4.{#RAIDINDEX}raid.freeSize[{#RAIDINDEX}]1h7d7dBRAIDRAID {#RAIDINDEX}: LevelSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.1.2.1.7.{#RAIDINDEX}raid.level[{#RAIDINDEX}]1h7d7dRAIDRAID {#RAIDINDEX}: StateSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.1.2.1.5.{#RAIDINDEX}raid.state[{#RAIDINDEX}]15m7d0TEXTRAID{iregexp("^Ready|Synchronizing")}=0Faulty state of RAID {#RAIDINDEX}Current state: {ITEM.VALUE}HIGHRAID has reported a faulty state.YESVolume DiscoverySNMP_AGENTdiscovery[{#VOLUMEINDEX},1.3.6.1.4.1.24681.1.4.1.1.1.2.3.2.1.1]volume.discovery15mVolume {#VOLUMEINDEX}: CapacitySNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.3.2.1.3.{#VOLUMEINDEX}volume.capacity[{#VOLUMEINDEX}]15m7d7dBVolumesVolume {#VOLUMEINDEX}: Free size in %CALCULATEDvolume.freePercentage[{#VOLUMEINDEX}]15m7d7dlast(volume.freeSize[{#VOLUMEINDEX}])/last(volume.capacity[{#VOLUMEINDEX}])*100Volumes{last()}<{$VOLUME_SIZE_ALARM}Reaching threshold for volume {#VOLUMEINDEX} (<{$VOLUME_SIZE_ALARM}%)Current state: {ITEM.LASTVALUE1}WARNINGThe free size of the volume is reaching the threshold.Volume {#VOLUMEINDEX}: Free sizeSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.3.2.1.4.{#VOLUMEINDEX}volume.freeSize[{#VOLUMEINDEX}]15m7d7dBVolumesVolume {#VOLUMEINDEX}: NameSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.3.2.1.8.{#VOLUMEINDEX}volume.name[{#VOLUMEINDEX}]1h7d0TEXTVolumesVolume {#VOLUMEINDEX}: StatusSNMP_AGENT1.3.6.1.4.1.24681.1.4.1.1.1.2.3.2.1.5.{#VOLUMEINDEX}volume.status[{#VOLUMEINDEX}]15m7d7dVolumes{last()}<>0Faulty state of volume {#VOLUMEINDEX}DISASTERVolume is in a faulty state. Check as soon as possible.{$CPU_TEMPERATURE_ALARM}65Amount in centigrade when an alarm shall be raised{$DISK_LATENCY_ALARM}30Amount in ms when an alarm shall be raised{$HDD_TEMPERATURE_ALARM}50Amount in centigrade when an alarm shall be raised{$POOL_SIZE_ALARM}15Amount in % when an alarm shall be raisedTemplate Module EtherLike-MIB SNMPTemplate Module EtherLike-MIB SNMPTemplate EtherLike-MIB (duplex control only)
MIBs used:
EtherLike-MIB
Template tooling version used: 0.38Templates/ModulesNetwork interfacesEtherLike-MIB DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.2.1.10.7.2.1.19,{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#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]net.if.duplex.discovery1hAND{#IFOPERSTATUS}1A{#SNMPVALUE}(2|3)BDiscovering interfaces from IF-MIB and EtherLike-MIB. Interfaces with up(1) Operational Status are discovered.Interface {#IFNAME}({#IFALIAS}): Duplex statusSNMP_AGENT1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}]7dMIB: EtherLike-MIB
The current mode of operation of the MAC
entity. 'unknown' indicates that the current
duplex mode could not be determined.
Management control of the duplex mode is
accomplished through the MAU MIB. When
an interface does not support autonegotiation,
or when autonegotiation is not enabled, the
duplex mode is controlled using
ifMauDefaultType. When autonegotiation is
supported and enabled, duplex mode is controlled
using ifMauAutoNegAdvertisedBits. In either
case, the currently operating duplex mode is
reflected both in this object and in ifMauType.
Note that this object provides redundant
information with ifMauType. Normally, redundant
objects are discouraged. However, in this
instance, it allows a management application to
determine the duplex status of an interface
without having to know every possible value of
ifMauType. This was felt to be sufficiently
valuable to justify the redundancy.
Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.Interface {#IFNAME}({#IFALIAS})EtherLike-MIB::dot3StatsDuplexStatus{last()}=2Interface {#IFNAME}({#IFALIAS}): In half-duplex modeWARNINGPlease check autonegotiation settings and cablingYESJAVASCRIPTtry {
var data = JSON.parse(value);
}
catch (error) {
throw 'Failed to parse JSON of EtherLike-MIB discovery.';
}
var fields = ['{#SNMPVALUE}','{#IFOPERSTATUS}','{#IFALIAS}','{#IFNAME}','{#IFDESCR}'];
data.forEach(function (element) {
fields.forEach(function (field) {
element[field] = element[field] || '';
});
});
return JSON.stringify(data);Template Module Generic SNMPTemplate Module Generic SNMPTemplate Module Generic
MIBs used:
SNMPv2-MIB
Template tooling version used: 0.36Template Module ICMP PingTemplates/ModulesGeneral- SNMP traps (fallback)SNMP_TRAPsnmptrap.fallback2w0LOGItem is used to collect all SNMP traps unmatched by other snmptrap itemsGeneralhh:mm:sszyyyy/MM/dd
- System contact detailsSNMP_AGENT1.3.6.1.2.1.1.4.0system.contact[sysContact.0]1h2w0CHARMIB: SNMPv2-MIB
The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.CONTACTGeneralDISCARD_UNCHANGED_HEARTBEAT1d
- System descriptionSNMP_AGENT1.3.6.1.2.1.1.1.0system.descr[sysDescr.0]1h2w0CHARMIB: SNMPv2-MIB
A textual description of the entity. This value should
include the full name and version identification of the system's hardware type, software operating-system, and
networking software.GeneralDISCARD_UNCHANGED_HEARTBEAT1d
- System locationSNMP_AGENT1.3.6.1.2.1.1.6.0system.location[sysLocation.0]1h2w0CHARMIB: SNMPv2-MIB
The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.LOCATIONGeneralDISCARD_UNCHANGED_HEARTBEAT1h
- System nameSNMP_AGENT1.3.6.1.2.1.1.5.0system.name1h2w0CHARMIB: SNMPv2-MIB
An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.NAMEGeneralDISCARD_UNCHANGED_HEARTBEAT1h{diff()}=1 and {strlen()}>0System name has changed (new name: {ITEM.VALUE})INFOSystem name has changed. Ack to close.YES
- System object IDSNMP_AGENT1.3.6.1.2.1.1.2.0system.objectid[sysObjectID.0]15m2w0CHARMIB: SNMPv2-MIB
The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.GeneralDISCARD_UNCHANGED_HEARTBEAT1h
- UptimeSNMP_AGENT1.3.6.1.2.1.1.3.0system.uptime[sysUpTime.0]30s2w0duptimeMIB: SNMPv2-MIB
The time (in hundredths of a second) since the network management portion of the system was last re-initialized.StatusMULTIPLIER0.01{last()}<10m{HOST.NAME} has been restarted (uptime < 10m)WARNINGUptime is less than 10 minutesYESNo SNMP data collection{Template Module Generic SNMP:zabbix[host,snmp,available].max({$SNMP.TIMEOUT})}=0
- SNMP agent availabilityINTERNALzabbix[host,snmp,available]7dStatuszabbix.host.available{max({$SNMP.TIMEOUT})}=0No SNMP data collectionCurrent state: {ITEM.LASTVALUE1}WARNINGSNMP is not available for polling. Please check device connectivity and SNMP settings.Unavailable by ICMP ping{Template Module Generic SNMP:icmpping.max(#3)}=0
{$SNMP.TIMEOUT}5mTemplate Module ICMP PingTemplate Module ICMP PingTemplate Module ICMP Ping version: 0.12Templates/ModulesStatus- ICMP pingSIMPLEicmpping601wStatusService state{max(#3)}=0Unavailable by ICMP pingHIGHLast value: {ITEM.LASTVALUE1}.
Last three attempts returned timeout. Please check device connectivity.
- ICMP lossSIMPLEicmppingloss601wFLOAT%Status{min(5m)}>{$ICMP_LOSS_WARN} and {min(5m)}<100High ICMP ping lossWARNINGUnavailable by ICMP ping{Template Module ICMP Ping:icmpping.max(#3)}=0
- ICMP response timeSIMPLEicmppingsec601wFLOATsStatus{avg(5m)}>{$ICMP_RESPONSE_TIME_WARN}High ICMP ping response timeWARNINGHigh ICMP ping loss{Template Module ICMP Ping:icmppingloss.min(5m)}>{$ICMP_LOSS_WARN} and {Template Module ICMP Ping:icmppingloss.min(5m)}<100Unavailable by ICMP ping{Template Module ICMP Ping:icmpping.max(#3)}=0
{$ICMP_LOSS_WARN}20{$ICMP_RESPONSE_TIME_WARN}0.15Template Module Interfaces Simple SNMPTemplate Module Interfaces Simple SNMPTemplate Module Interfaces Simple (no ifXTable). This is the exact copy of Template Module Interfaces template with the exception that metrics from ifXTable are replaced with ifTable counters where possible. Use this template with devices where IF-MIB::ifXtable is not available. If supported by the host - use Template Module Interfaces template instead.
MIBs used:
IF-MIB
Known Issues:
Description: 32bit counters are used in this template (since there is no ifXtable available). If busy interfaces return incorrect bits sent/received - set update interval to 1m or less.
Template tooling version used: 0.36Templates/ModulesNetwork interfacesNetwork interfaces discoverySNMP_AGENTdiscovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFNAME},1.3.6.1.2.1.2.2.1.2,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]net.if.discovery1hAND{#IFADMINSTATUS}{$NET.IF.IFADMINSTATUS.MATCHES}A{#IFADMINSTATUS}{$NET.IF.IFADMINSTATUS.NOT_MATCHES}NOT_MATCHES_REGEXB{#IFOPERSTATUS}{$NET.IF.IFOPERSTATUS.MATCHES}G{#IFOPERSTATUS}{$NET.IF.IFOPERSTATUS.NOT_MATCHES}NOT_MATCHES_REGEXH{#IFNAME}{$NET.IF.IFNAME.MATCHES}E{#IFNAME}{$NET.IF.IFNAME.NOT_MATCHES}NOT_MATCHES_REGEXF{#IFDESCR}{$NET.IF.IFDESCR.MATCHES}C{#IFDESCR}{$NET.IF.IFDESCR.NOT_MATCHES}NOT_MATCHES_REGEXD{#IFTYPE}{$NET.IF.IFTYPE.MATCHES}I{#IFTYPE}{$NET.IF.IFTYPE.NOT_MATCHES}NOT_MATCHES_REGEXJDiscovering interfaces from IF-MIB.Interface {#IFDESCR}: Inbound packets discardedSNMP_AGENT1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}net.if.in.discards[ifInDiscards.{#SNMPINDEX}]3m7dMIB: 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.Interface {#IFDESCR}CHANGE_PER_SECONDInterface {#IFDESCR}: Inbound packets with errorsSNMP_AGENT1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}net.if.in.errors[ifInErrors.{#SNMPINDEX}]3m7dMIB: 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.Interface {#IFDESCR}CHANGE_PER_SECONDInterface {#IFDESCR}: Bits receivedSNMP_AGENT1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}net.if.in[ifInOctets.{#SNMPINDEX}]3m7dbpsMIB: IF-MIB
The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and atother times as indicated by the value of ifCounterDiscontinuityTime.Interface {#IFDESCR}CHANGE_PER_SECONDMULTIPLIER8Interface {#IFDESCR}: Outbound packets discardedSNMP_AGENT1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]3m7dMIB: 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.Interface {#IFDESCR}CHANGE_PER_SECONDInterface {#IFDESCR}: Outbound packets with errorsSNMP_AGENT1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}net.if.out.errors[ifOutErrors.{#SNMPINDEX}]3m7dMIB: 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.Interface {#IFDESCR}CHANGE_PER_SECONDInterface {#IFDESCR}: Bits sentSNMP_AGENT1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}net.if.out[ifOutOctets.{#SNMPINDEX}]3m7dbpsMIB: IF-MIB
The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.Interface {#IFDESCR}CHANGE_PER_SECONDMULTIPLIER8Interface {#IFDESCR}: SpeedSNMP_AGENT1.3.6.1.2.1.2.2.1.5.{#SNMPINDEX}net.if.speed[ifSpeed.{#SNMPINDEX}]5m7d0dbpsMIB: IF-MIB
An estimate of the interface's current bandwidth in bits per second.
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.
If the bandwidth of the interface is greater than the maximum value reportable by this object then
this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interace's speed.
For a sub-layer which has no concept of bandwidth, this object should be zero.Interface {#IFDESCR}Interface {#IFDESCR}: Operational statusSNMP_AGENT1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}net.if.status[ifOperStatus.{#SNMPINDEX}]7d0MIB: 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.Interface {#IFDESCR}IF-MIB::ifOperStatus{$IFCONTROL:"{#IFNAME}"}=1 and ({last()}=2 and {diff()}=1)RECOVERY_EXPRESSION{last()}<>2 or {$IFCONTROL:"{#IFNAME}"}=0Interface {#IFDESCR}: Link downCurrent state: {ITEM.LASTVALUE1}AVERAGEThis trigger expression works as follows:
1. Can be triggered if operations status is down.
2. {$IFCONTROL:"{#IFNAME}"}=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.
3. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)
WARNING: if closed manually - won't fire again on next poll, because of .diff.YESInterface {#IFDESCR}: Interface typeSNMP_AGENT1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}net.if.type[ifType.{#SNMPINDEX}]1h7d0dMIB: 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.Interface {#IFDESCR}IF-MIB::ifTypeDISCARD_UNCHANGED_HEARTBEAT1d{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].change()}<0 and {Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()}>0
and (
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=6 or
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=7 or
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=11 or
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=62 or
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=69 or
{Template Module Interfaces Simple SNMP:net.if.type[ifType.{#SNMPINDEX}].last()}=117
)
and
({Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2)RECOVERY_EXPRESSION({Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].change()}>0 and {Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].prev()}>0) or
({Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2)Interface {#IFDESCR}: Ethernet has changed to lower speed than it was beforeCurrent reported speed: {ITEM.LASTVALUE1}INFOThis Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.YESInterface {#IFDESCR}: Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2 or {$IFCONTROL:"{#IFNAME}"}=0({Template Module Interfaces Simple SNMP:net.if.in[ifInOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()} or
{Template Module Interfaces Simple SNMP:net.if.out[ifOutOctets.{#SNMPINDEX}].avg(15m)}>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()}) and
{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()}>0RECOVERY_EXPRESSION{Template Module Interfaces Simple SNMP:net.if.in[ifInOctets.{#SNMPINDEX}].avg(15m)}<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()} and
{Template Module Interfaces Simple SNMP:net.if.out[ifOutOctets.{#SNMPINDEX}].avg(15m)}<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*{Template Module Interfaces Simple SNMP:net.if.speed[ifSpeed.{#SNMPINDEX}].last()}Interface {#IFDESCR}: High bandwidth usage (> {$IF.UTIL.MAX:"{#IFNAME}"}% )In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}WARNINGThe network interface utilization is close to its estimated maximum bandwidth.YESInterface {#IFDESCR}: Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2 or {$IFCONTROL:"{#IFNAME}"}=0{Template Module Interfaces Simple SNMP:net.if.in.errors[ifInErrors.{#SNMPINDEX}].min(5m)}>{$IF.ERRORS.WARN:"{#IFNAME}"}
or {Template Module Interfaces Simple SNMP:net.if.out.errors[ifOutErrors.{#SNMPINDEX}].min(5m)}>{$IF.ERRORS.WARN:"{#IFNAME}"}RECOVERY_EXPRESSION{Template Module Interfaces Simple SNMP:net.if.in.errors[ifInErrors.{#SNMPINDEX}].max(5m)}<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
and {Template Module Interfaces Simple SNMP:net.if.out.errors[ifOutErrors.{#SNMPINDEX}].max(5m)}<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8Interface {#IFDESCR}: High error rate (> {$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}WARNINGRecovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} thresholdYESInterface {#IFDESCR}: Link down{$IFCONTROL:"{#IFNAME}"}=1 and ({Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}=2 and {Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].diff()}=1){Template Module Interfaces Simple SNMP:net.if.status[ifOperStatus.{#SNMPINDEX}].last()}<>2 or {$IFCONTROL:"{#IFNAME}"}=0Interface {#IFDESCR}: Network trafficGRADIENT_LINE1A7C11- Template Module Interfaces Simple SNMPnet.if.in[ifInOctets.{#SNMPINDEX}]
1BOLD_LINE2774A4- Template Module Interfaces Simple SNMPnet.if.out[ifOutOctets.{#SNMPINDEX}]
2F63100RIGHT- Template Module Interfaces Simple SNMPnet.if.out.errors[ifOutErrors.{#SNMPINDEX}]
3A54F10RIGHT- Template Module Interfaces Simple SNMPnet.if.in.errors[ifInErrors.{#SNMPINDEX}]
4FC6EA3RIGHT- Template Module Interfaces Simple SNMPnet.if.out.discards[ifOutDiscards.{#SNMPINDEX}]
56C59DCRIGHT- Template Module Interfaces Simple SNMPnet.if.in.discards[ifInDiscards.{#SNMPINDEX}]
{$IF.ERRORS.WARN}2{$IF.UTIL.MAX}95{$IFCONTROL}1{$NET.IF.IFADMINSTATUS.MATCHES}^.*Ignore notPresent(6){$NET.IF.IFADMINSTATUS.NOT_MATCHES}^2$Ignore down(2) administrative status{$NET.IF.IFDESCR.MATCHES}.*{$NET.IF.IFDESCR.NOT_MATCHES}CHANGE_IF_NEEDED{$NET.IF.IFNAME.MATCHES}^.*${$NET.IF.IFNAME.NOT_MATCHES}(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})Filter out loopbacks, nulls, docker veth links and docker0 bridge by default{$NET.IF.IFOPERSTATUS.MATCHES}^.*${$NET.IF.IFOPERSTATUS.NOT_MATCHES}^6$Ignore notPresent(6){$NET.IF.IFTYPE.MATCHES}.*{$NET.IF.IFTYPE.NOT_MATCHES}CHANGE_IF_NEEDEDNetwork interfaces1120Interface {#IFDESCR}: Network trafficTemplate Module Interfaces Simple SNMP50010000112500003Template Net Network Generic Device SNMPTemplate Net Network Generic Device SNMPTemplate Net Network Generic Device
Template tooling version used: 0.36Template Module EtherLike-MIB SNMPTemplate Module Generic SNMPTemplate Module Interfaces Simple SNMPTemplates/Network devicesAlarm state0Ok1AlarmEtherLike-MIB::dot3StatsDuplexStatus1unknown2halfDuplex3fullDuplexIF-MIB::ifOperStatus1up2down4unknown5dormant6notPresent7lowerLayerDownIF-MIB::ifType1other2regular18223hdh18224ddnX255rfc877x256ethernetCsmacd7iso88023Csmacd8iso88024TokenBus9iso88025TokenRing10iso88026Man11starLan12proteon10Mbit13proteon80Mbit14hyperchannel15fddi16lapb17sdlc18ds119e120basicISDN21primaryISDN22propPointToPointSerial23ppp24softwareLoopback25eon26ethernet3Mbit27nsip28slip29ultra30ds331sip32frameRelay33rs23234para35arcnet36arcnetPlus37atm38miox2539sonet40x25ple41iso88022llc42localTalk43smdsDxi44frameRelayService45v3546hssi47hippi48modem49aal550sonetPath51sonetVT52smdsIcip53propVirtual54propMultiplexor55ieee8021256fibreChannel57hippiInterface58frameRelayInterconnect59aflane802360aflane802561cctEmul62fastEther63isdn64v1165v3666g703at64k67g703at2mb68qllc69fastEtherFX70channel71ieee8021172ibm370parChan73escon74dlsw75isdns76isdnu77lapd78ipSwitch79rsrb80atmLogical81ds082ds0Bundle83bsc84async85cnr86iso88025Dtr87eplrs88arap89propCnls90hostPad91termPad92frameRelayMPI93x21394adsl95radsl96sdsl97vdsl98iso88025CRFPInt99myrinet100voiceEM101voiceFXO102voiceFXS103voiceEncap104voiceOverIp105atmDxi106atmFuni107atmIma108pppMultilinkBundle109ipOverCdlc110ipOverClaw111stackToStack112virtualIpAddress113mpc114ipOverAtm115iso88025Fiber116tdlc117gigabitEthernet118hdlc119lapf120v37121x25mlp122x25huntGroup123trasnpHdlc124interleave125fast126ip127docsCableMaclayer128docsCableDownstream129docsCableUpstream130a12MppSwitch131tunnel132coffee133ces134atmSubInterface135l2vlan136l3ipvlan137l3ipxvlan138digitalPowerline139mediaMailOverIp140dtm141dcn142ipForward143msdsl144ieee1394145if-gsn146dvbRccMacLayer147dvbRccDownstream148dvbRccUpstream149atmVirtual150mplsTunnel151srp152voiceOverAtm153voiceOverFrameRelay154idsl155compositeLink156ss7SigLink157propWirelessP2P158frForward159rfc1483160usb161ieee8023adLag162bgppolicyaccounting163frf16MfrBundle164h323Gatekeeper165h323Proxy166mpls167mfSigLink168hdsl2169shdsl170ds1FDL171pos172dvbAsiIn173dvbAsiOut174plc175nfas176tr008177gr303RDT178gr303IDT179isup180propDocsWirelessMaclayer181propDocsWirelessDownstream182propDocsWirelessUpstream183hiperlan2184propBWAp2Mp185sonetOverheadChannel186digitalWrapperOverheadChannel187aal2188radioMAC189atmRadio190imt191mvl192reachDSL193frDlciEndPt194atmVciEndPt195opticalChannel196opticalTransport197propAtm198voiceOverCable199infiniband200teLink201q2931202virtualTg203sipTg204sipSig205docsCableUpstreamChannel206econet207pon155208pon622209bridge210linegroup211voiceEMFGD212voiceFGDEANA213voiceDID214mpegTransport215sixToFour216gtp217pdnEtherLoop1218pdnEtherLoop2219opticalChannelGroup220homepna221gfp222ciscoISLvlan223actelisMetaLOOP224fcipLink225rpr226qam227lmp228cblVectaStar229docsCableMCmtsDownstream230adsl2231macSecControlledIF232macSecUncontrolledIF233aviciOpticalEther234atmbond235voiceFGDOS236mocaVersion1237ieee80216WMAN238adsl2plus239dvbRcsMacLayer240dvbTdm241dvbRcsTdma242x86Laps243wwanPP244wwanPP2245voiceEBS246ifPwType247ilan248pip249aluELP250gpon251vdsl2252capwapDot11Profile253capwapDot11Bss254capwapWtpVirtualRadio255bits256docsCableUpstreamRfPort257cableDownstreamRfPort258vmwareVirtualNic259ieee802154260otnOdu261otnOtu262ifVfiType263g9981264g9982265g9983266aluEpon267aluEponOnu268aluEponPhysicalUni269aluEponLogicalLink270aluGponOnu271aluGponPhysicalUni272vmwareNicTeam277docsOfdmDownstream278docsOfdmaUpstream279gfast280sdci281xboxWireless282fastdsl283docsCableScte55d1FwdOob284docsCableScte55d1RetOob285docsCableScte55d2DsOob286docsCableScte55d2UsOob287docsCableNdf288docsCableNdr289ptm290ghnQNAP Hot Spare0No1YesQNAP LUN Status0Disconnected1ConnectedQNAP S.M.A.R.T State-1Error0Good1Warning2AbnormalService state0Down1Upzabbix.host.available0not available1available2unknown