5.02021-11-25T12:36:40ZTemplatesSNMP OS ESXiSNMP OS ESXiTemplatesDisk partitionsGeneralInterfacesMemoryProcessorsVirtual Machines- Device nameSNMP_AGENTSNMPv2-MIB::sysName.0sysName36007d0CHARAn 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.NAMEGeneral
- Device uptimeSNMP_AGENTSNMPv2-MIB::sysUpTime.0sysUpTime3007duptimeThe time since the network management portion of the system was last re-initialized.GeneralMULTIPLIER0.01
- VMWare BuildSNMP_AGENT.1.3.6.1.4.1.6876.1.4.0vmwProdBuild.03600General
- ESXi VersionSNMP_AGENT.1.3.6.1.4.1.6876.1.2.0vmwProdVersion.036000TEXTGeneral
Disk partitionsSNMP_AGENTdiscovery[{#SNMPVALUE},hrStorageAllocationUnits]hrStorageAlloc3600{#SNMPVALUE}1048576|4194304|8388608|2097152AThe rule will discover all dis partitions matching the global regexp "Storage devices for SNMP discovery".
{$SNMP_COMMUNITY} is a global macro.
hrStorageFixedDiskAllocation units VMFS {#SNMPINDEX}SNMP_AGENT.1.3.6.1.2.1.25.2.3.1.4.{#SNMPINDEX}hrStorageAllocationUnits[{#SNMPINDEX}]3600Disk partitionsDescription of VMFS {#SNMPINDEX}SNMP_AGENT.1.3.6.1.2.1.25.2.3.1.3.{#SNMPINDEX}hrStorageDescr[{#SNMPINDEX}]36007d0CHARA description of the type and instance of the storage described by this entry.Disk partitionsTotal size of VMFS {#SNMPINDEX} in blocksSNMP_AGENT.1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}hrStorageSizeBlocks[{#SNMPINDEX}]36007dblocksThe 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 partitionsTotal size of VMFS {#SNMPINDEX}CALCULATEDhrStorageSize[{#SNMPINDEX}]36007dByteslast("hrStorageSizeBlocks[{#SNMPINDEX}]") * last("hrStorageAllocationUnits[{#SNMPINDEX}]")The 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 partitionsUsed disk on VMFS {#SNMPINDEX} in blocksSNMP_AGENT.1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}hrStorageUsedBlocks[{#SNMPINDEX}]60MBThe amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.Disk partitionsUsed disk on VMFS {#SNMPINDEX}CALCULATEDhrStorageUsed[{#SNMPINDEX}]60Byteslast("hrStorageUsedBlocks[{#SNMPINDEX}]") * last("hrStorageAllocationUnits[{#SNMPINDEX}]")The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.Disk partitionsUsed Space % on VMFS {#SNMPINDEX}CALCULATEDvmfs.FreeSpacePer[{#SNMPINDEX}]300FLOAT%last("hrStorageUsed[{#SNMPINDEX}]")/last("hrStorageSize[{#SNMPINDEX}]")*100Disk partitionsFree Space on VMFS {#SNMPINDEX}CALCULATEDvmfs.FreeSpace[{#SNMPINDEX}]300Byteslast("hrStorageSize[{#SNMPINDEX}]")-last("hrStorageUsed[{#SNMPINDEX}]")Disk partitions{SNMP OS ESXi:hrStorageUsedBlocks[{#SNMPINDEX}].last(0)} / {SNMP OS ESXi:hrStorageSizeBlocks[{#SNMPINDEX}].last(0)} > 0.9Free disk space is less than 10% on volume {#SNMPINDEX}AVERAGE{SNMP OS ESXi:hrStorageUsedBlocks[{#SNMPINDEX}].last(0)} / {SNMP OS ESXi:hrStorageSizeBlocks[{#SNMPINDEX}].last(0)} > 0.8Free disk space is less than 20% on volume {#SNMPINDEX}WARNINGStorage Use {#SNMPINDEX}STACKEDC80000- SNMP OS ESXivmfs.FreeSpacePer[{#SNMPINDEX}]
MemorySNMP_AGENTdiscovery[{#SNMPVALUE},hrStorageDescr]hrStorageDescr3600{#SNMPVALUE}Real MemoryAUsed Memory %CALCULATEDhrMemoryFreePerc[{#SNMPINDEX}]60FLOAT%last("hrMemoryUsed[{#SNMPINDEX}]")/
last("hrMemoryTotal[{#SNMPINDEX}]")*100MemoryFree MemoryCALCULATEDhrMemoryFree[{#SNMPINDEX}]60Byteslast("hrMemoryTotal[{#SNMPINDEX}]")-last("hrMemoryUsed[{#SNMPINDEX}]")MemoryTotal MemorySNMP_AGENT.1.3.6.1.2.1.25.2.2.0hrMemoryTotal[{#SNMPINDEX}]300BytesMemoryMULTIPLIER1024Memory UsedSNMP_AGENT.1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}hrMemoryUsed[{#SNMPINDEX}]60BytesMemoryMULTIPLIER1024{SNMP OS ESXi:hrMemoryUsed[{#SNMPINDEX}].last(0)} / {SNMP OS ESXi:hrMemoryTotal[{#SNMPINDEX}].last(0)} > 0.9Available Memory is less than 10% on $1HIGHVirtual MachinesSNMP_AGENTdiscovery[{#SNMPVALUE},enterprises.6876.2.1.1.2]vmwVmDisplayName3600VM Guest OS {#SNMPVALUE}SNMP_AGENT.1.3.6.1.4.1.6876.2.1.1.4.{#SNMPINDEX}vmwVMGuestOS.[{#SNMPINDEX}]36000TEXTVirtual MachinesVM Guest State {#SNMPVALUE}SNMP_AGENT.1.3.6.1.4.1.6876.2.1.1.8.{#SNMPINDEX}vmwVMGuestState.[{#SNMPINDEX}]300TEXTVirtual Machines{regexp("not running")}=1Guest Tools not running on {#SNMPVALUE}INFOVM Power State {#SNMPVALUE}SNMP_AGENT.1.3.6.1.4.1.6876.2.1.1.6.{#SNMPINDEX}vmwVMState.[{#SNMPINDEX}]300TEXTVirtual Machines