zabbix_export: version: '5.4' date: '2021-11-25T12:36:41Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: cf1c53fdcb8c4867a1bd2d7175f71c4c template: 'SNMP OS ESXi' name: 'SNMP OS ESXi' groups: - name: Templates items: - uuid: c9ef0f29d6b24284a05a1d44caad66b5 name: 'ESXi memory available' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.6876.3.2.3.0 key: vmwMemAvail delay: 60s units: KB description: 'Amount of memory available to run Virutal Machines and to allocate for hypervisor needs. It is computed by subtracting vmwMemCOS from vmwMemSize. The result is the amount of memory available to VMs and to the hypervisor. To get a more accurate view of memory available to VMs the following property represents the amount of resources available for the root resource pool for running virtual machines. VIM property: effectiveMemory MOB: https://esx.example.com/mob/?moid=ha%2dcompute%2dres&doPath=summary' tags: - tag: Application value: Memory - uuid: 77f8a02d0ff84272a259dac031d5e34d name: 'ESXi memory size' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.6876.3.2.1.0 key: vmwMemSize delay: '3600' units: KB description: 'Amount of physical memory present on machine as provided by Hypervisor. It is computed from the sum of vmwMemCOS plus unreserved property as reported VIM subsystem. Unreserved is computed from hypervisor''s total number of memory pages. VIM Parent Container: https://esx.example.com/mob/?moid=memorySystem VIM property: unreserved MOB: https://esx.example.com/mob/?moid=memoryManagerSystem&doPath=consoleReservationInfo For reference here two other related VIM properties: VIM property: memorySize MOB: https://esx.example.com/mob/?moid=ha%2dhost&doPath=summary%2ehardware VIM property: totalMemory MOB: https://esx.example.com/mob/?moid=ha%2dcompute%2dres&doPath=summary' tags: - tag: Application value: Memory - uuid: 1210bb6c75e9484b8d22213387027ffd name: 'ESXi memory used' type: CALCULATED key: vmwMemUsed delay: 60s value_type: FLOAT units: '%' params: '100*last(//vmwMemAvail)/last(//vmwMemSize)' tags: - tag: Application value: Memory triggers: - uuid: 95c2e64837ba4d468f013c06adbff141 expression: 'last(/SNMP OS ESXi/vmwMemUsed)>90' name: 'Available memory on {HOST.NAME} in too low' priority: HIGH - uuid: 42909539d7864b74a3528cb5b100a088 name: 'ESXi physical CPU numbers' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.6876.3.1.1.0 key: vmwNumCpus delay: '3600' description: 'Number of physical CPUs on the system.' tags: - tag: Application value: Processors - uuid: f4ca175b71054fb49757a69ba3236c27 name: 'ESXi Build' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.6876.1.4.0 key: vmwProdBuild.0 delay: '3600' description: 'This identifier represents the most specific identifier. VIM Property: AboutInfo.build https://esx.example.com/mob/?moid=ServiceInstance&doPath=content%2eabout' tags: - tag: Application value: General - uuid: 197a893e69894a56b44a4f61ab0fc9c6 name: 'ESXi name' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.6876.1.1.0 key: vmwProdName.0 delay: '3600' trends: '0' value_type: TEXT description: 'This product''s name. VIM Property: AboutInfo.name https://esx.example.com/mob/?moid=ServiceInstance&doPath=content%2eabout' tags: - tag: Application value: General - uuid: b6e3b967ace14c2fb9b147ed811ae21f name: 'ESXi Version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.6876.1.2.0 key: vmwProdVersion.0 delay: '3600' trends: '0' value_type: TEXT description: 'The product''s version release identifier. Format is Major.Minor.Update VIM Property: AboutInfo.version https://esx.example.com/mob/?moid=ServiceInstance&doPath=content%2eabout' tags: - tag: Application value: General discovery_rules: - uuid: 515e833e8bf04ccba082e3e3f4b677bd name: 'Environment discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.6876.4.20.3.1.1]' key: vmwEnvIndex delay: '3600' filter: conditions: - macro: '{#SNMPVALUE}' value: 1048576|4194304|8388608|2097152 formulaid: A description: 'A unique identifier that does not persist across management restarts' item_prototypes: - uuid: fd8d7ff3e5a64ca3b25b530009343e19 name: 'ESXi subsystem {#SNMPINDEX} description' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.6876.4.20.3.1.4.{#SNMPINDEX}' key: 'vmwEventDescription[{#SNMPINDEX}]' delay: 60s trends: '0' value_type: TEXT description: 'Human readable description of this event' tags: - tag: Application value: Environment - uuid: fe0a2028a2b442ccbf64c45459786f66 name: 'ESXi subsystem {#SNMPINDEX} status' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.6876.4.20.3.1.3.{#SNMPINDEX}' key: 'vmwSubsystemStatus[{#SNMPINDEX}]' delay: 60s description: 'Last reported state of this component' valuemap: name: 'ESXi subsystem status' tags: - tag: Application value: Environment trigger_prototypes: - uuid: 9017f00c6a494b13b804afeeaec1a2ef expression: 'last(/SNMP OS ESXi/vmwSubsystemStatus[{#SNMPINDEX}])<>2' name: 'ESXi subsystem {#SNMPINDEX} on {HOST.NAME} status is not OK' priority: HIGH - uuid: 7a9cbee3cccf47a8ba0b7432eeecb6a4 name: 'ESXi subsystem {#SNMPINDEX} type' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.6876.4.20.3.1.2.{#SNMPINDEX}' key: 'vmwSubsystemType[{#SNMPINDEX}]' delay: 60s description: 'Hardware component reporting environmental state' valuemap: name: 'ESXi subsystem type' tags: - tag: Application value: Environment - uuid: 936853122a8b4407a0cebce1ed6284b6 name: 'Virtual Machines' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.6876.2.1.1.2]' key: vmwVmDisplayName delay: '3600' description: 'Name by which this vm is displayed. It is not guaranteed to be unique. MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=summary%2eguest' item_prototypes: - uuid: 40d1da8dfab246e39ad26e6fab2c63e7 name: 'VM {#SNMPVALUE} CPUs Number' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.6876.2.1.1.9.{#SNMPINDEX}' key: 'vmwVMCPUs.[{#SNMPINDEX}]' delay: 60s description: 'Number of virtual CPUs assigned to this virtual machine. VIM Property: numCPU MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=config%2ehardware' tags: - tag: Application value: 'Virtual Machines' - uuid: bdb5d2f2e8754e49bf9d4d06155b8dd1 name: 'VM {#SNMPVALUE} Guest OS' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6876.2.1.1.4.{#SNMPINDEX}' key: 'vmwVMGuestOS.[{#SNMPINDEX}]' delay: '3600' trends: '0' value_type: TEXT description: 'Operating system running on this vm. This value corresponds to the value specified when creating the VM and unless set correctly may differ from the actual OS running. Will return one of the values if set in order: Vim.Vm.GuestInfo.guestFullName Vim.Vm.GuestInfo.guestId Vim.Vm.GuestInfo.guestFamily MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=guest where moid = vmwVmIdx. If VMware Tools is not running, value will be of form ''E: error message''' tags: - tag: Application value: 'Virtual Machines' - uuid: 98ef9352c4d94340b4f173cf9e0625ef name: 'VM {#SNMPVALUE} Guest State' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6876.2.1.1.8.{#SNMPINDEX}' key: 'vmwVMGuestState.[{#SNMPINDEX}]' delay: 60s trends: '0' value_type: TEXT description: 'Operation mode of guest operating system. Values include: running - Guest is running normally. shuttingdown - Guest has a pending shutdown command. resetting - Guest has a pending reset command. standby - Guest has a pending standby command. notrunning - Guest is not running. unknown - Guest information is not available. VIM Property: guestState MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=guest' tags: - tag: Application value: 'Virtual Machines' trigger_prototypes: - uuid: a0faf067cd2c43c1b4fe6c8471662a00 expression: 'find(/SNMP OS ESXi/vmwVMGuestState.[{#SNMPINDEX}],,"regexp","not running")=1' name: 'Guest Tools not running on {#SNMPVALUE}' priority: INFO - uuid: bb6ded969af14d56826ad7a42c9c3bb2 name: 'VM {#SNMPVALUE} Memory Size' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.6876.2.1.1.5.{#SNMPINDEX}' key: 'vmwVMMemSize.[{#SNMPINDEX}]' delay: 60s units: MB description: 'Memory configured for this virtual machine. Memory > MAX Integer32 is reported as max integer32. VIM Property: memoryMB MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=config%2ehardware' tags: - tag: Application value: 'Virtual Machines' - uuid: 87235ab48b45455e981bcba5ecad27a9 name: 'VM {#SNMPVALUE} Power State' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.6876.2.1.1.6.{#SNMPINDEX}' key: 'vmwVMState.[{#SNMPINDEX}]' delay: 60s trends: '0' value_type: TEXT description: 'Power state of the virtual machine. VIM Property: powerState MOB: https://esx.example.com/mob/?moid=vmwVmIdx&doPath=summary%2eruntime' tags: - tag: Application value: 'Virtual Machines' valuemaps: - uuid: b043188a046d4629a61df62678e8c778 name: 'ESXi subsystem status' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: normal - value: '3' newvalue: marginal - value: '4' newvalue: critical - value: '5' newvalue: failed - uuid: 0963ad7ffdf14ca4abb6c0d2b0056b64 name: 'ESXi subsystem type' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: chassis - value: '3' newvalue: powerSupply - value: '4' newvalue: fan - value: '5' newvalue: cpu - value: '6' newvalue: memory - value: '7' newvalue: battery - value: '8' newvalue: temperatureSensor - value: '9' newvalue: raidController - value: '10' newvalue: voltage