Skip to content

Instantly share code, notes, and snippets.

@higebu
Created June 6, 2012 05:46
Show Gist options
  • Save higebu/2880116 to your computer and use it in GitHub Desktop.
Save higebu/2880116 to your computer and use it in GitHub Desktop.
Zabbix Template for Cassandra
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2012-05-14T12:36:06Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Cassandra JMX</template>
<name>Cassandra JMX</name>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Cassandra Info</name>
</application>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<items>
<item>
<name>Compaction (Completed tasks)</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;org.apache.cassandra.db:type=CompactionManager&quot;,&quot;CompletedTasks&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units></units>
<delta>2</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra Info</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>ConcurrentMarkSweep GC Count per minute</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=GarbageCollector,name=ConcurrentMarkSweep&quot;,&quot;CollectionCount&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units></units>
<delta>2</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>ConcurrentMarkSweep GC Time per minute</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=GarbageCollector,name=ConcurrentMarkSweep&quot;,&quot;CollectionTime&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units></units>
<delta>2</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM CMS Old Gen</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Old Gen&quot;,&quot;Usage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM CMS Perm Gen</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Perm Gen&quot;,&quot;Usage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM Code Cache</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Code Cache&quot;,&quot;Usage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM HeapMemoryUsage.used</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=Memory&quot;,&quot;HeapMemoryUsage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM NonHeapMemoryUsage.used</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=Memory&quot;,&quot;NonHeapMemoryUsage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM Par Eden Space</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Eden Space&quot;,&quot;Usage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>JVM Par Survivor Space</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Survivor Space&quot;,&quot;Usage.used&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units>B</units>
<delta>0</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>ParNew GC Count per minute</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=GarbageCollector,name=ParNew&quot;,&quot;CollectionCount&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units></units>
<delta>2</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
<item>
<name>ParNew GC Time per minute</name>
<type>16</type>
<snmp_community></snmp_community>
<multiplier>0</multiplier>
<snmp_oid></snmp_oid>
<key>jmx[&quot;java.lang:type=GarbageCollector,name=ParNew&quot;,&quot;CollectionTime&quot;]</key>
<delay>60</delay>
<history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts></allowed_hosts>
<units></units>
<delta>2</delta>
<snmpv3_securityname></snmpv3_securityname>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authpassphrase></snmpv3_authpassphrase>
<snmpv3_privpassphrase></snmpv3_privpassphrase>
<formula>1</formula>
<delay_flex></delay_flex>
<params></params>
<ipmi_sensor></ipmi_sensor>
<data_type>0</data_type>
<authtype>0</authtype>
<username></username>
<password></password>
<publickey></publickey>
<privatekey></privatekey>
<port></port>
<description></description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Cassandra JVM Memory</name>
</application>
</applications>
<valuemap/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<graphs>
<graph>
<name>CMS Old Gen</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>FFBF7F</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Old Gen&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>CMS Perm Gen</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>BFFF7F</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Perm Gen&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>HeapMemoryUsage.used</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>009900</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=Memory&quot;,&quot;HeapMemoryUsage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>JVM Detail</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>1</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>FFBF7F</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Old Gen&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>1</drawtype>
<color>7FBFFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Survivor Space&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>1</drawtype>
<color>7F7FFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Eden Space&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>1</drawtype>
<color>BFFF7F</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=CMS Perm Gen&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>NonHeapMemoryUsage.used</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>009900</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=Memory&quot;,&quot;NonHeapMemoryUsage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Par Eden Space</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>7F7FFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Eden Space&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Par Survivor Space</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>0</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>1</drawtype>
<color>7FBFFF</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Cassandra JMX</host>
<key>jmx[&quot;java.lang:type=MemoryPool,name=Par Survivor Space&quot;,&quot;Usage.used&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment