From Whipped Kitten, 9 Years ago, written in Plain Text.
Embed
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3.     <version>2.0</version>
  4.     <date>2013-12-14T00:37:08Z</date>
  5.     <groups>
  6.         <group>
  7.             <name>Templates</name>
  8.         </group>
  9.     </groups>
  10.     <templates>
  11.         <template>
  12.             <template>Template SNMP OS ESXi</template>
  13.             <name>Template SNMP OS ESXi</name>
  14.             <groups>
  15.                 <group>
  16.                     <name>Templates</name>
  17.                 </group>
  18.             </groups>
  19.             <applications>
  20.                 <application>
  21.                     <name>Disk partitions</name>
  22.                 </application>
  23.                 <application>
  24.                     <name>General</name>
  25.                 </application>
  26.                 <application>
  27.                     <name>Interfaces</name>
  28.                 </application>
  29.                 <application>
  30.                     <name>Memory</name>
  31.                 </application>
  32.                 <application>
  33.                     <name>Processors</name>
  34.                 </application>
  35.                 <application>
  36.                     <name>Virtual Machines</name>
  37.                 </application>
  38.             </applications>
  39.             <items>
  40.                 <item>
  41.                     <name>Device name</name>
  42.                     <type>4</type>
  43.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  44.                     <multiplier>0</multiplier>
  45.                     <snmp_oid>SNMPv2-MIB::sysName.0</snmp_oid>
  46.                     <key>sysName</key>
  47.                     <delay>3600</delay>
  48.                     <history>7</history>
  49.                     <trends>365</trends>
  50.                     <status>0</status>
  51.                     <value_type>1</value_type>
  52.                     <allowed_hosts/>
  53.                     <units/>
  54.                     <delta>0</delta>
  55.                     <snmpv3_securityname/>
  56.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  57.                     <snmpv3_authpassphrase/>
  58.                     <snmpv3_privpassphrase/>
  59.                     <formula>1</formula>
  60.                     <delay_flex/>
  61.                     <params/>
  62.                     <ipmi_sensor/>
  63.                     <data_type>0</data_type>
  64.                     <authtype>0</authtype>
  65.                     <username/>
  66.                     <password/>
  67.                     <publickey/>
  68.                     <privatekey/>
  69.                     <port/>
  70.                     <description>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.</description>
  71.                     <inventory_link>3</inventory_link>
  72.                     <applications>
  73.                         <application>
  74.                             <name>General</name>
  75.                         </application>
  76.                     </applications>
  77.                     <valuemap/>
  78.                 </item>
  79.                 <item>
  80.                     <name>Device uptime</name>
  81.                     <type>4</type>
  82.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  83.                     <multiplier>1</multiplier>
  84.                     <snmp_oid>SNMPv2-MIB::sysUpTime.0</snmp_oid>
  85.                     <key>sysUpTime</key>
  86.                     <delay>300</delay>
  87.                     <history>7</history>
  88.                     <trends>365</trends>
  89.                     <status>0</status>
  90.                     <value_type>3</value_type>
  91.                     <allowed_hosts/>
  92.                     <units>uptime</units>
  93.                     <delta>0</delta>
  94.                     <snmpv3_securityname/>
  95.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  96.                     <snmpv3_authpassphrase/>
  97.                     <snmpv3_privpassphrase/>
  98.                     <formula>0.01</formula>
  99.                     <delay_flex/>
  100.                     <params/>
  101.                     <ipmi_sensor/>
  102.                     <data_type>0</data_type>
  103.                     <authtype>0</authtype>
  104.                     <username/>
  105.                     <password/>
  106.                     <publickey/>
  107.                     <privatekey/>
  108.                     <port/>
  109.                     <description>The time since the network management portion of the system was last re-initialized.</description>
  110.                     <inventory_link>0</inventory_link>
  111.                     <applications>
  112.                         <application>
  113.                             <name>General</name>
  114.                         </application>
  115.                     </applications>
  116.                     <valuemap/>
  117.                 </item>
  118.                 <item>
  119.                     <name>ESXi Version</name>
  120.                     <type>4</type>
  121.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  122.                     <multiplier>0</multiplier>
  123.                     <snmp_oid>.1.3.6.1.4.1.6876.1.2.0</snmp_oid>
  124.                     <key>vmwProdVersion.0</key>
  125.                     <delay>3600</delay>
  126.                     <history>90</history>
  127.                     <trends>365</trends>
  128.                     <status>0</status>
  129.                     <value_type>4</value_type>
  130.                     <allowed_hosts/>
  131.                     <units/>
  132.                     <delta>0</delta>
  133.                     <snmpv3_securityname/>
  134.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  135.                     <snmpv3_authpassphrase/>
  136.                     <snmpv3_privpassphrase/>
  137.                     <formula>1</formula>
  138.                     <delay_flex/>
  139.                     <params/>
  140.                     <ipmi_sensor/>
  141.                     <data_type>0</data_type>
  142.                     <authtype>0</authtype>
  143.                     <username/>
  144.                     <password/>
  145.                     <publickey/>
  146.                     <privatekey/>
  147.                     <port>161</port>
  148.                     <description/>
  149.                     <inventory_link>0</inventory_link>
  150.                     <applications>
  151.                         <application>
  152.                             <name>General</name>
  153.                         </application>
  154.                     </applications>
  155.                     <valuemap/>
  156.                 </item>
  157.                 <item>
  158.                     <name>VMWare Build</name>
  159.                     <type>4</type>
  160.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  161.                     <multiplier>0</multiplier>
  162.                     <snmp_oid>.1.3.6.1.4.1.6876.1.4.0</snmp_oid>
  163.                     <key>vmwProdBuild.0</key>
  164.                     <delay>3600</delay>
  165.                     <history>90</history>
  166.                     <trends>365</trends>
  167.                     <status>0</status>
  168.                     <value_type>3</value_type>
  169.                     <allowed_hosts/>
  170.                     <units/>
  171.                     <delta>0</delta>
  172.                     <snmpv3_securityname/>
  173.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  174.                     <snmpv3_authpassphrase/>
  175.                     <snmpv3_privpassphrase/>
  176.                     <formula>1</formula>
  177.                     <delay_flex/>
  178.                     <params/>
  179.                     <ipmi_sensor/>
  180.                     <data_type>0</data_type>
  181.                     <authtype>0</authtype>
  182.                     <username/>
  183.                     <password/>
  184.                     <publickey/>
  185.                     <privatekey/>
  186.                     <port>161</port>
  187.                     <description/>
  188.                     <inventory_link>0</inventory_link>
  189.                     <applications>
  190.                         <application>
  191.                             <name>General</name>
  192.                         </application>
  193.                     </applications>
  194.                     <valuemap/>
  195.                 </item>
  196.             </items>
  197.             <discovery_rules>
  198.                 <discovery_rule>
  199.                     <name>Disk partitions</name>
  200.                     <type>4</type>
  201.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  202.                     <snmp_oid>.1.3.6.1.2.1.25.2.3.1.4</snmp_oid>
  203.                     <key>hrStorageAlloc</key>
  204.                     <delay>600</delay>
  205.                     <status>0</status>
  206.                     <allowed_hosts/>
  207.                     <snmpv3_securityname/>
  208.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  209.                     <snmpv3_authpassphrase/>
  210.                     <snmpv3_privpassphrase/>
  211.                     <delay_flex/>
  212.                     <params/>
  213.                     <ipmi_sensor/>
  214.                     <authtype>0</authtype>
  215.                     <username/>
  216.                     <password/>
  217.                     <publickey/>
  218.                     <privatekey/>
  219.                     <port/>
  220.                     <filter>{#SNMPVALUE}:1048576|4194304|8388608|2097152</filter>
  221.                     <lifetime>30</lifetime>
  222.                     <description>The rule will discover all dis partitions matching the global regexp &quot;Storage devices for SNMP discovery&quot;.&#13;
  223. &#13;
  224. {$SNMP_COMMUNITY} is a global macro.&#13;
  225. hrStorageFixedDisk</description>
  226.                     <item_prototypes>
  227.                         <item_prototype>
  228.                             <name>Allocation units VMFS {#SNMPINDEX}</name>
  229.                             <type>4</type>
  230.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  231.                             <multiplier>0</multiplier>
  232.                             <snmp_oid>.1.3.6.1.2.1.25.2.3.1.4.{#SNMPINDEX}</snmp_oid>
  233.                             <key>hrStorageAllocationUnits[{#SNMPINDEX}]</key>
  234.                             <delay>30</delay>
  235.                             <history>90</history>
  236.                             <trends>365</trends>
  237.                             <status>0</status>
  238.                             <value_type>3</value_type>
  239.                             <allowed_hosts/>
  240.                             <units/>
  241.                             <delta>0</delta>
  242.                             <snmpv3_securityname/>
  243.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  244.                             <snmpv3_authpassphrase/>
  245.                             <snmpv3_privpassphrase/>
  246.                             <formula>1</formula>
  247.                             <delay_flex/>
  248.                             <params/>
  249.                             <ipmi_sensor/>
  250.                             <data_type>0</data_type>
  251.                             <authtype>0</authtype>
  252.                             <username/>
  253.                             <password/>
  254.                             <publickey/>
  255.                             <privatekey/>
  256.                             <port/>
  257.                             <description/>
  258.                             <inventory_link>0</inventory_link>
  259.                             <applications>
  260.                                 <application>
  261.                                     <name>Disk partitions</name>
  262.                                 </application>
  263.                             </applications>
  264.                             <valuemap/>
  265.                         </item_prototype>
  266.                         <item_prototype>
  267.                             <name>Description of VMFS {#SNMPINDEX}</name>
  268.                             <type>4</type>
  269.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  270.                             <multiplier>0</multiplier>
  271.                             <snmp_oid>.1.3.6.1.2.1.25.2.3.1.3.{#SNMPINDEX}</snmp_oid>
  272.                             <key>hrStorageDescr[{#SNMPINDEX}]</key>
  273.                             <delay>3600</delay>
  274.                             <history>7</history>
  275.                             <trends>365</trends>
  276.                             <status>0</status>
  277.                             <value_type>1</value_type>
  278.                             <allowed_hosts/>
  279.                             <units/>
  280.                             <delta>0</delta>
  281.                             <snmpv3_securityname/>
  282.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  283.                             <snmpv3_authpassphrase/>
  284.                             <snmpv3_privpassphrase/>
  285.                             <formula>1</formula>
  286.                             <delay_flex/>
  287.                             <params/>
  288.                             <ipmi_sensor/>
  289.                             <data_type>0</data_type>
  290.                             <authtype>0</authtype>
  291.                             <username/>
  292.                             <password/>
  293.                             <publickey/>
  294.                             <privatekey/>
  295.                             <port>161</port>
  296.                             <description>A description of the type and instance of the storage described by this entry.</description>
  297.                             <inventory_link>0</inventory_link>
  298.                             <applications>
  299.                                 <application>
  300.                                     <name>Disk partitions</name>
  301.                                 </application>
  302.                             </applications>
  303.                             <valuemap/>
  304.                         </item_prototype>
  305.                         <item_prototype>
  306.                             <name>Free Space on VMFS {#SNMPINDEX}</name>
  307.                             <type>15</type>
  308.                             <snmp_community/>
  309.                             <multiplier>0</multiplier>
  310.                             <snmp_oid/>
  311.                             <key>vmfs.FreeSpace[{#SNMPINDEX}]</key>
  312.                             <delay>300</delay>
  313.                             <history>90</history>
  314.                             <trends>365</trends>
  315.                             <status>0</status>
  316.                             <value_type>3</value_type>
  317.                             <allowed_hosts/>
  318.                             <units>Bytes</units>
  319.                             <delta>0</delta>
  320.                             <snmpv3_securityname/>
  321.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  322.                             <snmpv3_authpassphrase/>
  323.                             <snmpv3_privpassphrase/>
  324.                             <formula>1</formula>
  325.                             <delay_flex/>
  326.                             <params>last(&quot;hrStorageSize[{#SNMPINDEX}]&quot;)-last(&quot;hrStorageUsed[{#SNMPINDEX}]&quot;)</params>
  327.                             <ipmi_sensor/>
  328.                             <data_type>0</data_type>
  329.                             <authtype>0</authtype>
  330.                             <username/>
  331.                             <password/>
  332.                             <publickey/>
  333.                             <privatekey/>
  334.                             <port/>
  335.                             <description/>
  336.                             <inventory_link>0</inventory_link>
  337.                             <applications>
  338.                                 <application>
  339.                                     <name>Disk partitions</name>
  340.                                 </application>
  341.                             </applications>
  342.                             <valuemap/>
  343.                         </item_prototype>
  344.                         <item_prototype>
  345.                             <name>Total size of VMFS {#SNMPINDEX}</name>
  346.                             <type>15</type>
  347.                             <snmp_community/>
  348.                             <multiplier>0</multiplier>
  349.                             <snmp_oid/>
  350.                             <key>hrStorageSize[{#SNMPINDEX}]</key>
  351.                             <delay>3600</delay>
  352.                             <history>7</history>
  353.                             <trends>365</trends>
  354.                             <status>0</status>
  355.                             <value_type>3</value_type>
  356.                             <allowed_hosts/>
  357.                             <units>Bytes</units>
  358.                             <delta>0</delta>
  359.                             <snmpv3_securityname/>
  360.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  361.                             <snmpv3_authpassphrase/>
  362.                             <snmpv3_privpassphrase/>
  363.                             <formula>1</formula>
  364.                             <delay_flex/>
  365.                             <params>last(&quot;hrStorageSizeBlocks[{#SNMPINDEX}]&quot;) * last(&quot;hrStorageAllocationUnits[{#SNMPINDEX}]&quot;)</params>
  366.                             <ipmi_sensor/>
  367.                             <data_type>0</data_type>
  368.                             <authtype>0</authtype>
  369.                             <username/>
  370.                             <password/>
  371.                             <publickey/>
  372.                             <privatekey/>
  373.                             <port/>
  374.                             <description>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.</description>
  375.                             <inventory_link>0</inventory_link>
  376.                             <applications>
  377.                                 <application>
  378.                                     <name>Disk partitions</name>
  379.                                 </application>
  380.                             </applications>
  381.                             <valuemap/>
  382.                         </item_prototype>
  383.                         <item_prototype>
  384.                             <name>Total size of VMFS {#SNMPINDEX} in blocks</name>
  385.                             <type>4</type>
  386.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  387.                             <multiplier>0</multiplier>
  388.                             <snmp_oid>.1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}</snmp_oid>
  389.                             <key>hrStorageSizeBlocks[{#SNMPINDEX}]</key>
  390.                             <delay>3600</delay>
  391.                             <history>7</history>
  392.                             <trends>365</trends>
  393.                             <status>0</status>
  394.                             <value_type>3</value_type>
  395.                             <allowed_hosts/>
  396.                             <units>blocks</units>
  397.                             <delta>0</delta>
  398.                             <snmpv3_securityname/>
  399.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  400.                             <snmpv3_authpassphrase/>
  401.                             <snmpv3_privpassphrase/>
  402.                             <formula>1</formula>
  403.                             <delay_flex/>
  404.                             <params/>
  405.                             <ipmi_sensor/>
  406.                             <data_type>0</data_type>
  407.                             <authtype>0</authtype>
  408.                             <username/>
  409.                             <password/>
  410.                             <publickey/>
  411.                             <privatekey/>
  412.                             <port>161</port>
  413.                             <description>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.</description>
  414.                             <inventory_link>0</inventory_link>
  415.                             <applications>
  416.                                 <application>
  417.                                     <name>Disk partitions</name>
  418.                                 </application>
  419.                             </applications>
  420.                             <valuemap/>
  421.                         </item_prototype>
  422.                         <item_prototype>
  423.                             <name>Used disk on VMFS {#SNMPINDEX}</name>
  424.                             <type>15</type>
  425.                             <snmp_community/>
  426.                             <multiplier>0</multiplier>
  427.                             <snmp_oid/>
  428.                             <key>hrStorageUsed[{#SNMPINDEX}]</key>
  429.                             <delay>300</delay>
  430.                             <history>90</history>
  431.                             <trends>365</trends>
  432.                             <status>0</status>
  433.                             <value_type>3</value_type>
  434.                             <allowed_hosts/>
  435.                             <units>Bytes</units>
  436.                             <delta>0</delta>
  437.                             <snmpv3_securityname/>
  438.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  439.                             <snmpv3_authpassphrase/>
  440.                             <snmpv3_privpassphrase/>
  441.                             <formula>1</formula>
  442.                             <delay_flex/>
  443.                             <params>last(&quot;hrStorageUsedBlocks[{#SNMPINDEX}]&quot;) * last(&quot;hrStorageAllocationUnits[{#SNMPINDEX}]&quot;)</params>
  444.                             <ipmi_sensor/>
  445.                             <data_type>0</data_type>
  446.                             <authtype>0</authtype>
  447.                             <username/>
  448.                             <password/>
  449.                             <publickey/>
  450.                             <privatekey/>
  451.                             <port/>
  452.                             <description>The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.</description>
  453.                             <inventory_link>0</inventory_link>
  454.                             <applications>
  455.                                 <application>
  456.                                     <name>Disk partitions</name>
  457.                                 </application>
  458.                             </applications>
  459.                             <valuemap/>
  460.                         </item_prototype>
  461.                         <item_prototype>
  462.                             <name>Used disk on VMFS {#SNMPINDEX} in blocks</name>
  463.                             <type>4</type>
  464.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  465.                             <multiplier>0</multiplier>
  466.                             <snmp_oid>.1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}</snmp_oid>
  467.                             <key>hrStorageUsedBlocks[{#SNMPINDEX}]</key>
  468.                             <delay>300</delay>
  469.                             <history>90</history>
  470.                             <trends>365</trends>
  471.                             <status>0</status>
  472.                             <value_type>3</value_type>
  473.                             <allowed_hosts/>
  474.                             <units>MB</units>
  475.                             <delta>0</delta>
  476.                             <snmpv3_securityname/>
  477.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  478.                             <snmpv3_authpassphrase/>
  479.                             <snmpv3_privpassphrase/>
  480.                             <formula>1</formula>
  481.                             <delay_flex/>
  482.                             <params/>
  483.                             <ipmi_sensor/>
  484.                             <data_type>0</data_type>
  485.                             <authtype>0</authtype>
  486.                             <username/>
  487.                             <password/>
  488.                             <publickey/>
  489.                             <privatekey/>
  490.                             <port>161</port>
  491.                             <description>The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.</description>
  492.                             <inventory_link>0</inventory_link>
  493.                             <applications>
  494.                                 <application>
  495.                                     <name>Disk partitions</name>
  496.                                 </application>
  497.                             </applications>
  498.                             <valuemap/>
  499.                         </item_prototype>
  500.                         <item_prototype>
  501.                             <name>Used Space % on VMFS {#SNMPINDEX}</name>
  502.                             <type>15</type>
  503.                             <snmp_community/>
  504.                             <multiplier>0</multiplier>
  505.                             <snmp_oid/>
  506.                             <key>vmfs.FreeSpacePer[{#SNMPINDEX}]</key>
  507.                             <delay>300</delay>
  508.                             <history>90</history>
  509.                             <trends>365</trends>
  510.                             <status>0</status>
  511.                             <value_type>0</value_type>
  512.                             <allowed_hosts/>
  513.                             <units>%</units>
  514.                             <delta>0</delta>
  515.                             <snmpv3_securityname/>
  516.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  517.                             <snmpv3_authpassphrase/>
  518.                             <snmpv3_privpassphrase/>
  519.                             <formula>1</formula>
  520.                             <delay_flex/>
  521.                             <params>last(&quot;hrStorageUsed[{#SNMPINDEX}]&quot;)/last(&quot;hrStorageSize[{#SNMPINDEX}]&quot;)*100</params>
  522.                             <ipmi_sensor/>
  523.                             <data_type>0</data_type>
  524.                             <authtype>0</authtype>
  525.                             <username/>
  526.                             <password/>
  527.                             <publickey/>
  528.                             <privatekey/>
  529.                             <port/>
  530.                             <description/>
  531.                             <inventory_link>0</inventory_link>
  532.                             <applications>
  533.                                 <application>
  534.                                     <name>Disk partitions</name>
  535.                                 </application>
  536.                             </applications>
  537.                             <valuemap/>
  538.                         </item_prototype>
  539.                     </item_prototypes>
  540.                     <trigger_prototypes>
  541.                         <trigger_prototype>
  542.                             <expression>{Template SNMP OS ESXi:hrStorageUsedBlocks[{#SNMPINDEX}].last(0)} / {Template SNMP OS ESXi:hrStorageSizeBlocks[{#SNMPINDEX}].last(0)} &gt; 0.9</expression>
  543.                             <name>Free disk space is less than 10% on volume {#SNMPINDEX}</name>
  544.                             <url/>
  545.                             <status>0</status>
  546.                             <priority>3</priority>
  547.                             <description/>
  548.                             <type>0</type>
  549.                         </trigger_prototype>
  550.                         <trigger_prototype>
  551.                             <expression>{Template SNMP OS ESXi:hrStorageUsedBlocks[{#SNMPINDEX}].last(0)} / {Template SNMP OS ESXi:hrStorageSizeBlocks[{#SNMPINDEX}].last(0)} &gt; 0.8</expression>
  552.                             <name>Free disk space is less than 20% on volume {#SNMPINDEX}</name>
  553.                             <url/>
  554.                             <status>0</status>
  555.                             <priority>2</priority>
  556.                             <description/>
  557.                             <type>0</type>
  558.                         </trigger_prototype>
  559.                     </trigger_prototypes>
  560.                     <graph_prototypes>
  561.                         <graph_prototype>
  562.                             <name>Storage Use</name>
  563.                             <width>900</width>
  564.                             <height>200</height>
  565.                             <yaxismin>0.0000</yaxismin>
  566.                             <yaxismax>100.0000</yaxismax>
  567.                             <show_work_period>1</show_work_period>
  568.                             <show_triggers>1</show_triggers>
  569.                             <type>1</type>
  570.                             <show_legend>1</show_legend>
  571.                             <show_3d>0</show_3d>
  572.                             <percent_left>0.0000</percent_left>
  573.                             <percent_right>0.0000</percent_right>
  574.                             <ymin_type_1>0</ymin_type_1>
  575.                             <ymax_type_1>0</ymax_type_1>
  576.                             <ymin_item_1>0</ymin_item_1>
  577.                             <ymax_item_1>0</ymax_item_1>
  578.                             <graph_items>
  579.                                 <graph_item>
  580.                                     <sortorder>0</sortorder>
  581.                                     <drawtype>0</drawtype>
  582.                                     <color>C80000</color>
  583.                                     <yaxisside>0</yaxisside>
  584.                                     <calc_fnc>2</calc_fnc>
  585.                                     <type>0</type>
  586.                                     <item>
  587.                                         <host>Template SNMP OS ESXi</host>
  588.                                         <key>vmfs.FreeSpacePer[{#SNMPINDEX}]</key>
  589.                                     </item>
  590.                                 </graph_item>
  591.                             </graph_items>
  592.                         </graph_prototype>
  593.                     </graph_prototypes>
  594.                 </discovery_rule>
  595.                 <discovery_rule>
  596.                     <name>Memory</name>
  597.                     <type>4</type>
  598.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  599.                     <snmp_oid>.1.3.6.1.2.1.25.2.3.1.3</snmp_oid>
  600.                     <key>hrStorageDescr</key>
  601.                     <delay>600</delay>
  602.                     <status>0</status>
  603.                     <allowed_hosts/>
  604.                     <snmpv3_securityname/>
  605.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  606.                     <snmpv3_authpassphrase/>
  607.                     <snmpv3_privpassphrase/>
  608.                     <delay_flex/>
  609.                     <params/>
  610.                     <ipmi_sensor/>
  611.                     <authtype>0</authtype>
  612.                     <username/>
  613.                     <password/>
  614.                     <publickey/>
  615.                     <privatekey/>
  616.                     <port/>
  617.                     <filter>{#SNMPVALUE}:Real Memory</filter>
  618.                     <lifetime>30</lifetime>
  619.                     <description/>
  620.                     <item_prototypes>
  621.                         <item_prototype>
  622.                             <name>Free Memory</name>
  623.                             <type>15</type>
  624.                             <snmp_community/>
  625.                             <multiplier>0</multiplier>
  626.                             <snmp_oid/>
  627.                             <key>hrMemoryFree[{#SNMPINDEX}]</key>
  628.                             <delay>60</delay>
  629.                             <history>90</history>
  630.                             <trends>365</trends>
  631.                             <status>0</status>
  632.                             <value_type>3</value_type>
  633.                             <allowed_hosts/>
  634.                             <units>Bytes</units>
  635.                             <delta>0</delta>
  636.                             <snmpv3_securityname/>
  637.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  638.                             <snmpv3_authpassphrase/>
  639.                             <snmpv3_privpassphrase/>
  640.                             <formula>1</formula>
  641.                             <delay_flex/>
  642.                             <params>last(&quot;hrMemoryTotal[{#SNMPINDEX}]&quot;)-last(&quot;hrMemoryUsed[{#SNMPINDEX}]&quot;)</params>
  643.                             <ipmi_sensor/>
  644.                             <data_type>0</data_type>
  645.                             <authtype>0</authtype>
  646.                             <username/>
  647.                             <password/>
  648.                             <publickey/>
  649.                             <privatekey/>
  650.                             <port/>
  651.                             <description/>
  652.                             <inventory_link>0</inventory_link>
  653.                             <applications>
  654.                                 <application>
  655.                                     <name>Memory</name>
  656.                                 </application>
  657.                             </applications>
  658.                             <valuemap/>
  659.                         </item_prototype>
  660.                         <item_prototype>
  661.                             <name>Memory Used</name>
  662.                             <type>4</type>
  663.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  664.                             <multiplier>1</multiplier>
  665.                             <snmp_oid>.1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}</snmp_oid>
  666.                             <key>hrMemoryUsed[{#SNMPINDEX}]</key>
  667.                             <delay>60</delay>
  668.                             <history>90</history>
  669.                             <trends>365</trends>
  670.                             <status>0</status>
  671.                             <value_type>3</value_type>
  672.                             <allowed_hosts/>
  673.                             <units>Bytes</units>
  674.                             <delta>0</delta>
  675.                             <snmpv3_securityname/>
  676.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  677.                             <snmpv3_authpassphrase/>
  678.                             <snmpv3_privpassphrase/>
  679.                             <formula>1024</formula>
  680.                             <delay_flex/>
  681.                             <params/>
  682.                             <ipmi_sensor/>
  683.                             <data_type>0</data_type>
  684.                             <authtype>0</authtype>
  685.                             <username/>
  686.                             <password/>
  687.                             <publickey/>
  688.                             <privatekey/>
  689.                             <port/>
  690.                             <description/>
  691.                             <inventory_link>0</inventory_link>
  692.                             <applications>
  693.                                 <application>
  694.                                     <name>Memory</name>
  695.                                 </application>
  696.                             </applications>
  697.                             <valuemap/>
  698.                         </item_prototype>
  699.                         <item_prototype>
  700.                             <name>Total Memory</name>
  701.                             <type>4</type>
  702.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  703.                             <multiplier>1</multiplier>
  704.                             <snmp_oid>.1.3.6.1.2.1.25.2.2.0</snmp_oid>
  705.                             <key>hrMemoryTotal[{#SNMPINDEX}]</key>
  706.                             <delay>300</delay>
  707.                             <history>90</history>
  708.                             <trends>365</trends>
  709.                             <status>0</status>
  710.                             <value_type>3</value_type>
  711.                             <allowed_hosts/>
  712.                             <units>Bytes</units>
  713.                             <delta>0</delta>
  714.                             <snmpv3_securityname/>
  715.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  716.                             <snmpv3_authpassphrase/>
  717.                             <snmpv3_privpassphrase/>
  718.                             <formula>1024</formula>
  719.                             <delay_flex/>
  720.                             <params/>
  721.                             <ipmi_sensor/>
  722.                             <data_type>0</data_type>
  723.                             <authtype>0</authtype>
  724.                             <username/>
  725.                             <password/>
  726.                             <publickey/>
  727.                             <privatekey/>
  728.                             <port/>
  729.                             <description/>
  730.                             <inventory_link>0</inventory_link>
  731.                             <applications>
  732.                                 <application>
  733.                                     <name>Memory</name>
  734.                                 </application>
  735.                             </applications>
  736.                             <valuemap/>
  737.                         </item_prototype>
  738.                         <item_prototype>
  739.                             <name>Used Memory %</name>
  740.                             <type>15</type>
  741.                             <snmp_community/>
  742.                             <multiplier>0</multiplier>
  743.                             <snmp_oid/>
  744.                             <key>hrMemoryFreePerc[{#SNMPINDEX}]</key>
  745.                             <delay>60</delay>
  746.                             <history>90</history>
  747.                             <trends>365</trends>
  748.                             <status>0</status>
  749.                             <value_type>0</value_type>
  750.                             <allowed_hosts/>
  751.                             <units>%</units>
  752.                             <delta>0</delta>
  753.                             <snmpv3_securityname/>
  754.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  755.                             <snmpv3_authpassphrase/>
  756.                             <snmpv3_privpassphrase/>
  757.                             <formula>1</formula>
  758.                             <delay_flex/>
  759.                             <params>last(&quot;hrMemoryUsed[{#SNMPINDEX}]&quot;)/&#13;
  760. last(&quot;hrMemoryTotal[{#SNMPINDEX}]&quot;)*100</params>
  761.                             <ipmi_sensor/>
  762.                             <data_type>0</data_type>
  763.                             <authtype>0</authtype>
  764.                             <username/>
  765.                             <password/>
  766.                             <publickey/>
  767.                             <privatekey/>
  768.                             <port/>
  769.                             <description/>
  770.                             <inventory_link>0</inventory_link>
  771.                             <applications>
  772.                                 <application>
  773.                                     <name>Memory</name>
  774.                                 </application>
  775.                             </applications>
  776.                             <valuemap/>
  777.                         </item_prototype>
  778.                     </item_prototypes>
  779.                     <trigger_prototypes>
  780.                         <trigger_prototype>
  781.                             <expression>{Template SNMP OS ESXi:hrMemoryUsed[{#SNMPINDEX}].last(0)} / {Template SNMP OS ESXi:hrMemoryTotal[{#SNMPINDEX}].last(0)} &gt; 0.9</expression>
  782.                             <name>Available Memory is less than 10% on $1</name>
  783.                             <url/>
  784.                             <status>0</status>
  785.                             <priority>4</priority>
  786.                             <description/>
  787.                             <type>0</type>
  788.                         </trigger_prototype>
  789.                     </trigger_prototypes>
  790.                     <graph_prototypes/>
  791.                 </discovery_rule>
  792.                 <discovery_rule>
  793.                     <name>Virtual Machines</name>
  794.                     <type>4</type>
  795.                     <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  796.                     <snmp_oid>.1.3.6.1.4.1.6876.2.1.1.2</snmp_oid>
  797.                     <key>vmwVmDisplayName</key>
  798.                     <delay>600</delay>
  799.                     <status>0</status>
  800.                     <allowed_hosts/>
  801.                     <snmpv3_securityname/>
  802.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  803.                     <snmpv3_authpassphrase/>
  804.                     <snmpv3_privpassphrase/>
  805.                     <delay_flex/>
  806.                     <params/>
  807.                     <ipmi_sensor/>
  808.                     <authtype>0</authtype>
  809.                     <username/>
  810.                     <password/>
  811.                     <publickey/>
  812.                     <privatekey/>
  813.                     <port>161</port>
  814.                     <filter>:</filter>
  815.                     <lifetime>30</lifetime>
  816.                     <description/>
  817.                     <item_prototypes>
  818.                         <item_prototype>
  819.                             <name>VM Guest OS {#SNMPVALUE}</name>
  820.                             <type>4</type>
  821.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  822.                             <multiplier>0</multiplier>
  823.                             <snmp_oid>.1.3.6.1.4.1.6876.2.1.1.4.{#SNMPINDEX}</snmp_oid>
  824.                             <key>vmwVMGuestOS.[{#SNMPINDEX}]</key>
  825.                             <delay>3600</delay>
  826.                             <history>90</history>
  827.                             <trends>365</trends>
  828.                             <status>0</status>
  829.                             <value_type>4</value_type>
  830.                             <allowed_hosts/>
  831.                             <units/>
  832.                             <delta>0</delta>
  833.                             <snmpv3_securityname/>
  834.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  835.                             <snmpv3_authpassphrase/>
  836.                             <snmpv3_privpassphrase/>
  837.                             <formula>1</formula>
  838.                             <delay_flex/>
  839.                             <params/>
  840.                             <ipmi_sensor/>
  841.                             <data_type>0</data_type>
  842.                             <authtype>0</authtype>
  843.                             <username/>
  844.                             <password/>
  845.                             <publickey/>
  846.                             <privatekey/>
  847.                             <port>161</port>
  848.                             <description/>
  849.                             <inventory_link>0</inventory_link>
  850.                             <applications>
  851.                                 <application>
  852.                                     <name>Virtual Machines</name>
  853.                                 </application>
  854.                             </applications>
  855.                             <valuemap/>
  856.                         </item_prototype>
  857.                         <item_prototype>
  858.                             <name>VM Guest State {#SNMPVALUE}</name>
  859.                             <type>4</type>
  860.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  861.                             <multiplier>0</multiplier>
  862.                             <snmp_oid>.1.3.6.1.4.1.6876.2.1.1.8.{#SNMPINDEX}</snmp_oid>
  863.                             <key>vmwVMGuestState.[{#SNMPINDEX}]</key>
  864.                             <delay>30</delay>
  865.                             <history>90</history>
  866.                             <trends>365</trends>
  867.                             <status>0</status>
  868.                             <value_type>4</value_type>
  869.                             <allowed_hosts/>
  870.                             <units/>
  871.                             <delta>0</delta>
  872.                             <snmpv3_securityname/>
  873.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  874.                             <snmpv3_authpassphrase/>
  875.                             <snmpv3_privpassphrase/>
  876.                             <formula>1</formula>
  877.                             <delay_flex/>
  878.                             <params/>
  879.                             <ipmi_sensor/>
  880.                             <data_type>0</data_type>
  881.                             <authtype>0</authtype>
  882.                             <username/>
  883.                             <password/>
  884.                             <publickey/>
  885.                             <privatekey/>
  886.                             <port>161</port>
  887.                             <description/>
  888.                             <inventory_link>0</inventory_link>
  889.                             <applications>
  890.                                 <application>
  891.                                     <name>Virtual Machines</name>
  892.                                 </application>
  893.                             </applications>
  894.                             <valuemap/>
  895.                         </item_prototype>
  896.                         <item_prototype>
  897.                             <name>VM Power State {#SNMPVALUE}</name>
  898.                             <type>4</type>
  899.                             <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
  900.                             <multiplier>0</multiplier>
  901.                             <snmp_oid>.1.3.6.1.4.1.6876.2.1.1.6.{#SNMPINDEX}</snmp_oid>
  902.                             <key>vmwVMState.[{#SNMPINDEX}]</key>
  903.                             <delay>30</delay>
  904.                             <history>90</history>
  905.                             <trends>365</trends>
  906.                             <status>0</status>
  907.                             <value_type>4</value_type>
  908.                             <allowed_hosts/>
  909.                             <units/>
  910.                             <delta>0</delta>
  911.                             <snmpv3_securityname/>
  912.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  913.                             <snmpv3_authpassphrase/>
  914.                             <snmpv3_privpassphrase/>
  915.                             <formula>1</formula>
  916.                             <delay_flex/>
  917.                             <params/>
  918.                             <ipmi_sensor/>
  919.                             <data_type>0</data_type>
  920.                             <authtype>0</authtype>
  921.                             <username/>
  922.                             <password/>
  923.                             <publickey/>
  924.                             <privatekey/>
  925.                             <port>161</port>
  926.                             <description/>
  927.                             <inventory_link>0</inventory_link>
  928.                             <applications>
  929.                                 <application>
  930.                                     <name>Virtual Machines</name>
  931.                                 </application>
  932.                             </applications>
  933.                             <valuemap/>
  934.                         </item_prototype>
  935.                     </item_prototypes>
  936.                     <trigger_prototypes>
  937.                         <trigger_prototype>
  938.                             <expression>{Template SNMP OS ESXi:vmwVMGuestState.[{#SNMPINDEX}].regexp(&quot;not running&quot;)}=1</expression>
  939.                             <name>Guest Tools not running on {#SNMPVALUE}</name>
  940.                             <url/>
  941.                             <status>0</status>
  942.                             <priority>1</priority>
  943.                             <description/>
  944.                             <type>0</type>
  945.                         </trigger_prototype>
  946.                     </trigger_prototypes>
  947.                     <graph_prototypes/>
  948.                 </discovery_rule>
  949.             </discovery_rules>
  950.             <macros/>
  951.             <templates/>
  952.             <screens/>
  953.         </template>
  954.     </templates>
  955. </zabbix_export>
  956.