zabbix-templates/memory_tpl.xml in zabbix-ruby-client-0.0.10 vs zabbix-templates/memory_tpl.xml in zabbix-ruby-client-0.0.11
- old
+ new
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
- <date>2013-10-01T06:30:35Z</date>
+ <date>2013-10-07T10:52:56Z</date>
<groups>
<group>
<name>3. Service Ubuntu</name>
</group>
</groups>
@@ -21,16 +21,16 @@
<name>Memory</name>
</application>
</applications>
<items>
<item>
- <name>Memory active</name>
+ <name>Memory Free</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[active]</key>
+ <key>memory[free]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
@@ -50,33 +50,33 @@
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
- <description/>
+ <description>Free memory</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
- <name>Memory buffer</name>
+ <name>Memory percent used</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[buffer]</key>
+ <key>memory[percent_used]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
- <units>B</units>
+ <units>%</units>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
@@ -99,16 +99,16 @@
</application>
</applications>
<valuemap/>
</item>
<item>
- <name>Memory Free</name>
+ <name>Memory Total</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[free]</key>
+ <key>memory[total]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
@@ -128,26 +128,26 @@
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
- <description>Free memory</description>
+ <description>Total memory</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
- <name>Memory Inactive</name>
+ <name>Memory used</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[inactive]</key>
+ <key>memory[used]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
@@ -177,55 +177,16 @@
</application>
</applications>
<valuemap/>
</item>
<item>
- <name>Memory percent free</name>
- <type>15</type>
- <snmp_community/>
- <multiplier>0</multiplier>
- <snmp_oid/>
- <key>memory[free_percent]</key>
- <delay>60</delay>
- <history>90</history>
- <trends>365</trends>
- <status>0</status>
- <value_type>3</value_type>
- <allowed_hosts/>
- <units>%</units>
- <delta>0</delta>
- <snmpv3_securityname/>
- <snmpv3_securitylevel>0</snmpv3_securitylevel>
- <snmpv3_authpassphrase/>
- <snmpv3_privpassphrase/>
- <formula>1</formula>
- <delay_flex/>
- <params>100*(last("memory[free]")+last("memory[inactive]"))/last("memory[total]")</params>
- <ipmi_sensor/>
- <data_type>0</data_type>
- <authtype>0</authtype>
- <username/>
- <password/>
- <publickey/>
- <privatekey/>
- <port/>
- <description/>
- <inventory_link>0</inventory_link>
- <applications>
- <application>
- <name>Memory</name>
- </application>
- </applications>
- <valuemap/>
- </item>
- <item>
- <name>Memory Total</name>
+ <name>Swap free</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[total]</key>
+ <key>memory[swap_free]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
@@ -245,72 +206,33 @@
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
- <description>Total memory</description>
- <inventory_link>0</inventory_link>
- <applications>
- <application>
- <name>Memory</name>
- </application>
- </applications>
- <valuemap/>
- </item>
- <item>
- <name>Swap cache</name>
- <type>2</type>
- <snmp_community/>
- <multiplier>0</multiplier>
- <snmp_oid/>
- <key>memory[swap_cache]</key>
- <delay>0</delay>
- <history>90</history>
- <trends>365</trends>
- <status>0</status>
- <value_type>3</value_type>
- <allowed_hosts/>
- <units>B</units>
- <delta>0</delta>
- <snmpv3_securityname/>
- <snmpv3_securitylevel>0</snmpv3_securitylevel>
- <snmpv3_authpassphrase/>
- <snmpv3_privpassphrase/>
- <formula>1</formula>
- <delay_flex/>
- <params/>
- <ipmi_sensor/>
- <data_type>0</data_type>
- <authtype>0</authtype>
- <username/>
- <password/>
- <publickey/>
- <privatekey/>
- <port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
- <name>Swap free</name>
+ <name>Swap percent used</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
- <key>memory[swap_free]</key>
+ <key>memory[swap_percent_used]</key>
<delay>0</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
- <value_type>3</value_type>
+ <value_type>0</value_type>
<allowed_hosts/>
- <units>B</units>
+ <units>%</units>
<delta>0</delta>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase/>
<snmpv3_privpassphrase/>
@@ -419,26 +341,26 @@
<screens/>
</template>
</templates>
<triggers>
<trigger>
- <expression>{Memory ZRC:memory[free_percent].last(0)}<5</expression>
+ <expression>{Memory ZRC:memory[percent_used].last(0)}>95</expression>
<name>Critical memory</name>
<url/>
<status>0</status>
<priority>4</priority>
- <description>Free memory less than 5%</description>
+ <description>Memory use more than 95%</description>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
- <expression>{Memory ZRC:memory[free_percent].last(0)}<20</expression>
+ <expression>{Memory ZRC:memory[percent_used].last(0)}>80</expression>
<name>Low memory</name>
<url/>
<status>0</status>
<priority>2</priority>
- <description>Free memory less than 20%</description>
+ <description>Memory use more than 80%</description>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
@@ -467,51 +389,27 @@
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Memory ZRC</host>
- <key>memory[active]</key>
+ <key>memory[used]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
- <color>6666FF</color>
- <yaxisside>0</yaxisside>
- <calc_fnc>2</calc_fnc>
- <type>0</type>
- <item>
- <host>Memory ZRC</host>
- <key>memory[buffer]</key>
- </item>
- </graph_item>
- <graph_item>
- <sortorder>2</sortorder>
- <drawtype>0</drawtype>
<color>CCCCFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Memory ZRC</host>
- <key>memory[inactive]</key>
- </item>
- </graph_item>
- <graph_item>
- <sortorder>3</sortorder>
- <drawtype>0</drawtype>
- <color>DDDDDD</color>
- <yaxisside>0</yaxisside>
- <calc_fnc>2</calc_fnc>
- <type>0</type>
- <item>
- <host>Memory ZRC</host>
<key>memory[free]</key>
</item>
</graph_item>
<graph_item>
- <sortorder>4</sortorder>
+ <sortorder>2</sortorder>
<drawtype>0</drawtype>
<color>880000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
@@ -519,30 +417,18 @@
<host>Memory ZRC</host>
<key>memory[swap_used]</key>
</item>
</graph_item>
<graph_item>
- <sortorder>5</sortorder>
+ <sortorder>3</sortorder>
<drawtype>0</drawtype>
- <color>FF6666</color>
+ <color>FFCCCC</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Memory ZRC</host>
- <key>memory[swap_cache]</key>
- </item>
- </graph_item>
- <graph_item>
- <sortorder>6</sortorder>
- <drawtype>0</drawtype>
- <color>EEEEEE</color>
- <yaxisside>0</yaxisside>
- <calc_fnc>2</calc_fnc>
- <type>0</type>
- <item>
- <host>Memory ZRC</host>
<key>memory[swap_free]</key>
</item>
</graph_item>
</graph_items>
</graph>
@@ -571,51 +457,27 @@
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Memory ZRC</host>
- <key>memory[active]</key>
+ <key>memory[used]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
- <color>6666FF</color>
- <yaxisside>0</yaxisside>
- <calc_fnc>2</calc_fnc>
- <type>0</type>
- <item>
- <host>Memory ZRC</host>
- <key>memory[buffer]</key>
- </item>
- </graph_item>
- <graph_item>
- <sortorder>2</sortorder>
- <drawtype>0</drawtype>
<color>CCCCFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Memory ZRC</host>
- <key>memory[inactive]</key>
- </item>
- </graph_item>
- <graph_item>
- <sortorder>3</sortorder>
- <drawtype>0</drawtype>
- <color>DDDDDD</color>
- <yaxisside>0</yaxisside>
- <calc_fnc>2</calc_fnc>
- <type>0</type>
- <item>
- <host>Memory ZRC</host>
<key>memory[free]</key>
</item>
</graph_item>
<graph_item>
- <sortorder>4</sortorder>
+ <sortorder>2</sortorder>
<drawtype>0</drawtype>
<color>880000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
@@ -623,10 +485,10 @@
<host>Memory ZRC</host>
<key>memory[swap_used]</key>
</item>
</graph_item>
<graph_item>
- <sortorder>5</sortorder>
+ <sortorder>3</sortorder>
<drawtype>0</drawtype>
<color>DDAAAA</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>