Created
May 16, 2013 13:48
-
-
Save evandhoffman/5591859 to your computer and use it in GitHub Desktop.
Zabbix template for getting disk IO from SNMP via low-level discovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>2.0</version> | |
<date>2013-05-16T13:46:38Z</date> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<templates> | |
<template> | |
<template>Template SNMP blockdevice</template> | |
<name>Template SNMP blockdevice</name> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<applications> | |
<application> | |
<name>Disk IO</name> | |
</application> | |
</applications> | |
<items/> | |
<discovery_rules> | |
<discovery_rule> | |
<name>IO devices (disks)</name> | |
<type>4</type> | |
<snmp_community>{$SNMP_COMMUNITY}</snmp_community> | |
<snmp_oid>UCD-DISKIO-MIB::diskIODevice</snmp_oid> | |
<key>diskIODevice</key> | |
<delay>600</delay> | |
<status>0</status> | |
<allowed_hosts/> | |
<snmpv3_securityname/> | |
<snmpv3_securitylevel>0</snmpv3_securitylevel> | |
<snmpv3_authpassphrase/> | |
<snmpv3_privpassphrase/> | |
<delay_flex/> | |
<params/> | |
<ipmi_sensor/> | |
<authtype>0</authtype> | |
<username/> | |
<password/> | |
<publickey/> | |
<privatekey/> | |
<port/> | |
<filter>{#SNMPVALUE}:@IO Device</filter> | |
<lifetime>30</lifetime> | |
<description/> | |
<item_prototypes> | |
<item_prototype> | |
<name>Bytes read on $1</name> | |
<type>4</type> | |
<snmp_community>{$SNMP_COMMUNITY}</snmp_community> | |
<multiplier>0</multiplier> | |
<snmp_oid>UCD-DISKIO-MIB::diskIONReadX.{#SNMPINDEX}</snmp_oid> | |
<key>diskIONReadX[{#SNMPVALUE}]</key> | |
<delay>30</delay> | |
<history>14</history> | |
<trends>365</trends> | |
<status>0</status> | |
<value_type>0</value_type> | |
<allowed_hosts/> | |
<units>Bps</units> | |
<delta>1</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>http://net-snmp.sourceforge.net/docs/mibs/ucdDiskIOMIB.html</description> | |
<inventory_link>0</inventory_link> | |
<applications> | |
<application> | |
<name>Disk IO</name> | |
</application> | |
</applications> | |
<valuemap/> | |
</item_prototype> | |
<item_prototype> | |
<name>Bytes written on $1</name> | |
<type>4</type> | |
<snmp_community>{$SNMP_COMMUNITY}</snmp_community> | |
<multiplier>0</multiplier> | |
<snmp_oid>UCD-DISKIO-MIB::diskIONWrittenX.{#SNMPINDEX}</snmp_oid> | |
<key>diskIONWrittenX[{#SNMPVALUE}]</key> | |
<delay>30</delay> | |
<history>14</history> | |
<trends>365</trends> | |
<status>0</status> | |
<value_type>0</value_type> | |
<allowed_hosts/> | |
<units>Bps</units> | |
<delta>1</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>http://net-snmp.sourceforge.net/docs/mibs/ucdDiskIOMIB.html</description> | |
<inventory_link>0</inventory_link> | |
<applications> | |
<application> | |
<name>Disk IO</name> | |
</application> | |
</applications> | |
<valuemap/> | |
</item_prototype> | |
<item_prototype> | |
<name>IO Read operations on $1</name> | |
<type>4</type> | |
<snmp_community>{$SNMP_COMMUNITY}</snmp_community> | |
<multiplier>0</multiplier> | |
<snmp_oid>UCD-DISKIO-MIB::diskIOReads.{#SNMPINDEX}</snmp_oid> | |
<key>diskIOReads[{#SNMPVALUE}]</key> | |
<delay>30</delay> | |
<history>14</history> | |
<trends>365</trends> | |
<status>0</status> | |
<value_type>0</value_type> | |
<allowed_hosts/> | |
<units>io</units> | |
<delta>1</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>http://net-snmp.sourceforge.net/docs/mibs/ucdDiskIOMIB.html</description> | |
<inventory_link>0</inventory_link> | |
<applications> | |
<application> | |
<name>Disk IO</name> | |
</application> | |
</applications> | |
<valuemap/> | |
</item_prototype> | |
<item_prototype> | |
<name>IO Write operations on $1</name> | |
<type>4</type> | |
<snmp_community>{$SNMP_COMMUNITY}</snmp_community> | |
<multiplier>0</multiplier> | |
<snmp_oid>UCD-DISKIO-MIB::diskIOWrites.{#SNMPINDEX}</snmp_oid> | |
<key>diskIOWrites[{#SNMPVALUE}]</key> | |
<delay>30</delay> | |
<history>14</history> | |
<trends>365</trends> | |
<status>0</status> | |
<value_type>0</value_type> | |
<allowed_hosts/> | |
<units>io</units> | |
<delta>1</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>http://net-snmp.sourceforge.net/docs/mibs/ucdDiskIOMIB.html</description> | |
<inventory_link>0</inventory_link> | |
<applications> | |
<application> | |
<name>Disk IO</name> | |
</application> | |
</applications> | |
<valuemap/> | |
</item_prototype> | |
</item_prototypes> | |
<trigger_prototypes/> | |
<graph_prototypes> | |
<graph_prototype> | |
<name>IO Summary for {#SNMPVALUE}</name> | |
<width>900</width> | |
<height>200</height> | |
<yaxismin>0.0000</yaxismin> | |
<yaxismax>100.0000</yaxismax> | |
<show_work_period>1</show_work_period> | |
<show_triggers>1</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>5</drawtype> | |
<color>66FF66</color> | |
<yaxisside>0</yaxisside> | |
<calc_fnc>2</calc_fnc> | |
<type>0</type> | |
<item> | |
<host>Template SNMP blockdevice</host> | |
<key>diskIONReadX[{#SNMPVALUE}]</key> | |
</item> | |
</graph_item> | |
<graph_item> | |
<sortorder>1</sortorder> | |
<drawtype>5</drawtype> | |
<color>EE0000</color> | |
<yaxisside>0</yaxisside> | |
<calc_fnc>2</calc_fnc> | |
<type>0</type> | |
<item> | |
<host>Template SNMP blockdevice</host> | |
<key>diskIONWrittenX[{#SNMPVALUE}]</key> | |
</item> | |
</graph_item> | |
<graph_item> | |
<sortorder>2</sortorder> | |
<drawtype>0</drawtype> | |
<color>00CCCC</color> | |
<yaxisside>1</yaxisside> | |
<calc_fnc>2</calc_fnc> | |
<type>0</type> | |
<item> | |
<host>Template SNMP blockdevice</host> | |
<key>diskIOReads[{#SNMPVALUE}]</key> | |
</item> | |
</graph_item> | |
<graph_item> | |
<sortorder>3</sortorder> | |
<drawtype>0</drawtype> | |
<color>EE00EE</color> | |
<yaxisside>1</yaxisside> | |
<calc_fnc>2</calc_fnc> | |
<type>0</type> | |
<item> | |
<host>Template SNMP blockdevice</host> | |
<key>diskIOWrites[{#SNMPVALUE}]</key> | |
</item> | |
</graph_item> | |
</graph_items> | |
</graph_prototype> | |
</graph_prototypes> | |
</discovery_rule> | |
</discovery_rules> | |
<macros/> | |
<templates/> | |
<screens/> | |
</template> | |
</templates> | |
</zabbix_export> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe you lost export the related regular expression "IO Device", cloud you paste it here?