5.02021-11-21T21:31:00ZTemplatesStorage Lenovo ix4-300dStorage Lenovo ix4-300d## Overview
SNMPv3 Template for Lenovo NAS ix4-300d: this template monitor RAID, FAN , Disk partitions, Connected users, Network interfaces and device temperature.
- 11 items
- 5 Triggers
- 8 Discovery
## Author
Hamdi Ben Abdallah
TemplatesClientsDeviceDisk PartitionsDisksFanFunction StatusInterfacesMemoryProcessesRAIDTemperatureVoltageWeb Management- Device descriptionSNMP_AGENT1.3.6.1.4.1.11369.10.1.1.0deviceDescr288007d0CHARDevice
- Device nameSNMP_AGENT1.3.6.1.4.1.11369.10.1.2.0deviceName288007d0TEXTDevice
- Memory sizeSNMP_AGENT1.3.6.1.2.1.25.2.2.0hrMemorySize36007dBThe amount of physical read-write main memory,
typically RAM, contained by the host.MemoryMULTIPLIER1024
- Maximum number of processesSNMP_AGENT1.3.6.1.2.1.25.1.7.0hrSystemMaxProcesses72007dprocessesThe maximum number of process contexts this system can support. If there is no fixed maximum, the value should be zero. On systems that have a fixed maximum this object can help diagnose failures that occur when this maximum is reached.ProcessesLenovo EMC Storage - Maximum Number of Processes
- Number of processesSNMP_AGENT1.3.6.1.2.1.25.1.6.0hrSystemProcesses6007dprocessesThe number of process contexts currently loaded or
running on this system.Processes
- Device uptimeSNMP_AGENT.1.3.6.1.2.1.25.1.1.0hrSystemUptime300uptimeThe amount of time since this host was last
initialized. Note that this is different from
sysUpTime in the SNMPv2-MIB [RFC1907] because
sysUpTime is the uptime of the network management
portion of the system.DeviceMULTIPLIER0.01{change()}<0{HOST.NAME} has just been restartedINFO
- Media service statusSNMP_AGENT.1.3.6.1.4.1.11369.10.3.4.1.0mediaServiceEnabled18007dFunction StatusLenovo EMC Storage - Media Service status{change()}<>0Media service status was changed for: {ITEM.LASTVALUE}INFO
- Remote access statusSNMP_AGENT1.3.6.1.4.1.11369.10.3.2.1.0raEnabled18007dFunction StatusLenovo EMC Storage - Remote access status{change()}<>0Remote access status was changed for: {ITEM.LASTVALUE}INFO
- Raid Level ConfiguredSNMP_AGENT.1.3.6.1.4.1.11369.10.4.2.0raidLevel36007dRaid Level configured on device.RAID{change()}<>0RAID Level was changedINFONew RAID level: {ITEM.LASTVALUE}
- Raid StatusSNMP_AGENT1.3.6.1.4.1.11369.10.4.1.0raidStatus6007d0TEXTRAID{str(NORMAL)}=0 and {str(VERIFYING)}=0RAID status require attention: {ITEM.LASTVALUE}HIGHVerifiy your device for more infos.
- System uptimeSNMP_AGENT1.3.6.1.2.1.1.3.0sysUptime300uptimeThe time (in hundredths of a second) since the
network management portion of the system was last
re-initialized.DeviceMULTIPLIER0.01
Connected ClientsSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.3.3.1.3]conProtocol36007dProtocol used by this kind of clientsConnected client count of protocol $1SNMP_AGENT1.3.6.1.4.1.11369.10.3.3.1.2.{#SNMPINDEX}conCount[{#SNMPVALUE}]600ClientsDisk IDSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.4.3.1.2]diskID36007dID of disk in arrayDisk size of $1SNMP_AGENT1.3.6.1.4.1.11369.10.4.3.1.3.{#SNMPINDEX}diskSize[{#SNMPVALUE}]3600BCapacity of diskDisksDisk status of $1SNMP_AGENT1.3.6.1.4.1.11369.10.4.3.1.4.{#SNMPINDEX}diskStatus[{#SNMPVALUE}]6000TEXTStatus of Disk. There are four status:
NORMAL
FOREIGN
FAULTED
MISSINGDisks{str(NORMAL)}=0{#SNMPVALUE} status require attention: {ITEM.LASTVALUE}HIGHDisk NamesSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.2.1.1.2]diskName36007dAn entry of one disk I/O performance.IO average queue length of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.9.{#SNMPINDEX}ioAvgQueue[{#SNMPVALUE}]3007dFLOATAverage queue length.DisksIO average service time at disk of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.11.{#SNMPINDEX}ioAvgSvc[{#SNMPVALUE}]3007dFLOATAverage service time at disk.DisksIO average disk utilization of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.12.{#SNMPINDEX}ioAvgUtil[{#SNMPVALUE}]3007dFLOATAverage disk utilization.DisksIO average waiting time of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.10.{#SNMPINDEX}ioAvgWait[{#SNMPVALUE}]3007dFLOATAverage waiting time (queue + service)DisksIO CPU time (%) of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.13.{#SNMPINDEX}ioCpuTime[{#SNMPVALUE}]3007dFLOAT%Percentage of CPU time during which I/O requests were issued to the device.DisksIO kilobytes read per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.7.{#SNMPINDEX}ioKbrs[{#SNMPVALUE}]3007dFLOATKilobytes read per second.DisksIO kilobytes write per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.8.{#SNMPINDEX}ioKbws[{#SNMPVALUE}]3007dFLOATKilobytes written per second.DisksIO read merges per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.3.{#SNMPINDEX}ioMgrs[{#SNMPVALUE}]3007dRead merges per second.DisksIO write merges per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.4.{#SNMPINDEX}ioMgws[{#SNMPVALUE}]3007dWrite merges per second.DisksIO read requests per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.5.{#SNMPINDEX}ioReqrs[{#SNMPVALUE}]3007dFLOATRead io requests per second.DisksIO write requests per second of $1SNMP_AGENT1.3.6.1.4.1.11369.10.2.1.1.6.{#SNMPINDEX}ioReqws[{#SNMPVALUE}]3007dFLOATWrite io requests per second.DisksFan SensorsSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.6.1.1.2]fanName36007dName of the fan sensor.Rotation speed of $1SNMP_AGENT1.3.6.1.4.1.11369.10.6.1.1.3.{#SNMPINDEX}fanValue[{#SNMPVALUE}]300rpmFanDisk PartitionsSNMP_AGENTdiscovery[{#SNMPVALUE},.1.3.6.1.2.1.25.2.3.1.3]hrStorageDescr3600AND{#SNMPVALUE}@Lenovo EMC Storage - SNMP Discovery Disk PartitionsAThe (conceptual) table of logical storage areas on
the host.
An entry shall be placed in the storage table for each
logical area of storage that is allocated and has
fixed resource limits. The amount of storage
represented in an entity is the amount actually usable
by the requesting entity, and excludes loss due to
formatting or file system reference information.
These entries are associated with logical storage
areas, as might be seen by an application, rather than
physical storage entities which are typically seen by
an operating system. Storage such as tapes and
floppies without file systems on them are typically
not allocated in chunks by the operating system to
requesting applications, and therefore shouldn't
appear in this table. Examples of valid storage for
this table include disk partitions, file systems, ram
(for some architectures this is further segmented into
regular memory, extended memory, and so on), backing
store for virtual memory (`swap space').
This table is intended to be a useful diagnostic for
`out of memory' and `out of buffers' types of
failures. In addition, it can be a useful performance
monitoring tool for tracking memory, disk, or buffer
usage.Allocations Units on $1SNMP_AGENT.1.3.6.1.2.1.25.2.3.1.4.{#SNMPINDEX}hrStorageAllocationUnits[{#SNMPVALUE}]60BThe size, in bytes, of the data objects allocated
from this pool. If this entry is monitoring sectors,
blocks, buffers, or packets, for example, this number
will commonly be greater than one. Otherwise this
number will typically be one.Disk PartitionsStorage total size in Bytes on $1CALCULATEDhrStorageSizeInBytes[{#SNMPVALUE}]60Blast("hrStorageSize[{#SNMPVALUE}]")*last("hrStorageAllocationUnits[{#SNMPVALUE}]")The real size of the storage in Bytes. hrStorageSize * hrStorageAllocationUnits.Disk PartitionsStorage total size on $1SNMP_AGENT.1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}hrStorageSize[{#SNMPVALUE}]60The size of the storage represented by this entry, in
units of hrStorageAllocationUnits. This object is
writable to allow remote configuration of the size of
the storage area in those cases where such an
operation makes sense and is possible on the
underlying system. For example, the amount of main memory allocated to a buffer pool might be modified or the amount of disk space allocated to virtual memory might be modified.Disk PartitionsStorage used in Bytes on $1CALCULATEDhrStorageUsedInBytes[{#SNMPVALUE}]60Blast("hrStorageUsed[{#SNMPVALUE}]")*last("hrStorageAllocationUnits[{#SNMPVALUE}]")The storage used in Bytes. hrStorageUsed * hrStorageAllocationUnits.Disk PartitionsStorage used on $1SNMP_AGENT.1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}hrStorageUsed[{#SNMPVALUE}]60The amount of the storage represented by this entry
that is allocated, in units of
hrStorageAllocationUnits.Disk Partitions{Storage Lenovo ix4-300d:hrStorageUsedInBytes[{#SNMPVALUE}].last(0)}/{Storage Lenovo ix4-300d:hrStorageSizeInBytes[{#SNMPVALUE}].last(0)} > 0.98Free disk space is less than 2% on volume {#SNMPVALUE}HIGHUsed: {ITEM.LASTVALUE}
Total: {ITEM.LASTVALUE2}{Storage Lenovo ix4-300d:hrStorageUsedInBytes[{#SNMPVALUE}].last(0)}/{Storage Lenovo ix4-300d:hrStorageSizeInBytes[{#SNMPVALUE}].last(0)} > 0.9Free disk space is less than 10% on volume {#SNMPVALUE}WARNINGUsed: {ITEM.LASTVALUE}
Total: {ITEM.LASTVALUE2}Free disk space is less than 2% on volume {#SNMPVALUE}{Storage Lenovo ix4-300d:hrStorageUsedInBytes[{#SNMPVALUE}].last(0)}/{Storage Lenovo ix4-300d:hrStorageSizeInBytes[{#SNMPVALUE}].last(0)} > 0.98Network interfacesSNMP_AGENTdiscovery[{#SNMPVALUE},IF-MIB::ifDescr]ifDescr3600OR{#SNMPVALUE}@Lenovo EMC Storage - SNMP Discovery Network InterfacesAYou may also consider using IF-MIB::ifType or IF-MIB::ifAlias for discovery depending on your filtering needs.Description of interface $1SNMP_AGENTIF-MIB::ifDescr.{#SNMPINDEX}ifDescr[{#SNMPVALUE}]864007d0CHARA textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software.InterfacesInbound errors on interface $1SNMP_AGENTIF-MIB::ifInErrors.{#SNMPINDEX}ifInErrors[{#SNMPVALUE}]1207dFor 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.InterfacesCHANGE_PER_SECONDIncoming traffic on interface $1SNMP_AGENTIF-MIB::ifInOctets.{#SNMPINDEX}ifInOctets[{#SNMPVALUE}]1207dbpsThe number of octets in valid MAC frames received on this interface, including the MAC header and FCS.InterfacesCHANGE_PER_SECONDMULTIPLIER8Operational status of interface $1SNMP_AGENTIF-MIB::ifOperStatus.{#SNMPINDEX}ifOperStatus[{#SNMPVALUE}]1207dThe current operational state of the interface.InterfacesSNMP interface status (ifOperStatus){diff(0)}=1Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}INFOOutbound errors on interface $1SNMP_AGENTIF-MIB::ifOutErrors.{#SNMPINDEX}ifOutErrors[{#SNMPVALUE}]1207dFor packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.InterfacesCHANGE_PER_SECONDOutgoing traffic on interface $1SNMP_AGENTIF-MIB::ifOutOctets.{#SNMPINDEX}ifOutOctets[{#SNMPVALUE}]1207dbpsThe number of octets transmitted in MAC frames on this interface, including the MAC header and FCS.InterfacesCHANGE_PER_SECONDMULTIPLIER8Physical Address of interface $1SNMP_AGENTIF-MIB::ifPhysAddress.{#SNMPINDEX}ifPhysAddress[{#SNMPVALUE}]864007d0TEXTThe interface's address at the protocol layer
immediately `below' the network layer in the
protocol stack. For interfaces which do not have
such an address (e.g., a serial line), this object
should contain an octet string of zero length.InterfacesTraffic on interface {#SNMPVALUE}GRADIENT_LINE00AA00- Storage Lenovo ix4-300difInOctets[{#SNMPVALUE}]
1GRADIENT_LINE3333FF- Storage Lenovo ix4-300difOutOctets[{#SNMPVALUE}]
Temperature SensorsSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.6.2.1.2]tempName36007dTemperature sensors.Temperature of $1SNMP_AGENT1.3.6.1.4.1.11369.10.6.2.1.3.{#SNMPINDEX}tempValue[{#SNMPVALUE}]300°CTemperature{last()}>65Temperature of {#SNMPVALUE} is to high: {ITEM.LASTVALUE}AVERAGETemperature of {#SNMPVALUE} is to very high: {ITEM.LASTVALUE}{Storage Lenovo ix4-300d:tempValue[{#SNMPVALUE}].last()}>70{last()}>70Temperature of {#SNMPVALUE} is to very high: {ITEM.LASTVALUE}HIGHVoltage SensorsSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.11369.10.6.3.1.2]voltName36007dName of the volt sensor.Voltage of $1SNMP_AGENT1.3.6.1.4.1.11369.10.6.3.1.3.{#SNMPINDEX}voltValue[{#SNMPVALUE}]300FLOATVThe voltage in VVoltageMULTIPLIER0.001{$SNMP_AUTH}pass{$SNMP_SECNAME}userLenovo EMC Storage - Maximum Number of Processes0undefinedLenovo EMC Storage - Media Service status0disabled1enabledLenovo EMC Storage - Remote access status0disabled1enabledSNMP interface status (ifOperStatus)1up2down3testing4unknown5dormant6notPresent7lowerLayerDown