Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
scoopex committed Nov 5, 2023
1 parent 4ef101c commit afbaf92
Showing 1 changed file with 59 additions and 39 deletions.
98 changes: 59 additions & 39 deletions zabbix_templates/6.4/custom-os-linux-disk-io-details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ The only field that should go to zero. Incremented as requests are given to appr
<key>custom.vfs.dev.io.ms[{#BLOCKDEVICE}]</key>
<status>DISABLED</status>
<discover>NO_DISCOVER</discover>
<units>io</units>
<units>s</units>
<description>Number of milliseconds spent doing I/Os. This field increases so long as field #12 (custom.vfs.dev.io.active) is nonzero.</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter>0.001</parameter>
<parameter/>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<type>MULTIPLIER</type>
<parameters>
<parameter/>
<parameter>0.001</parameter>
</parameters>
</step>
</preprocessing>
Expand All @@ -72,7 +72,7 @@ The only field that should go to zero. Incremented as requests are given to appr
</item_prototype>
<item_prototype>
<uuid>45a9028a831d4eaa803b1de08dbb798b</uuid>
<name>{#BLOCKDEVICE} - IO:Queue Depth</name>
<name>{#BLOCKDEVICE} - IO: Queue Depth</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.queue_depth[{#BLOCKDEVICE}]</key>
<units>io</units>
Expand All @@ -90,9 +90,17 @@ The only field that should go to zero. Incremented as requests are given to appr
<name>{#BLOCKDEVICE} - IO: Merged Reads</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.read.merged[{#BLOCKDEVICE}]</key>
<units>op</units>
<units>Bs</units>
<description>Number of reads merged.
Reads and writes which are adjacent to each other may be merged for efficiency. Thus two 4K reads may become one 8K read before it is ultimately handed to the disk, and so it will be counted (and queued) as only one I/O. This field lets you know how often this was done.</description>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter/>
</parameters>
</step>
</preprocessing>
<tags>
<tag>
<tag>Application</tag>
Expand All @@ -105,20 +113,20 @@ Reads and writes which are adjacent to each other may be merged for efficiency.
<name>{#BLOCKDEVICE} - IO: Milleseconds spend in Read IO</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.read.ms[{#BLOCKDEVICE}]</key>
<units>io</units>
<units>s</units>
<description>Number of milliseconds spent reading.
This is the total number of milliseconds spent by all reads (as measured from __make_request() to end_that_request_last()).</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter>0.001</parameter>
<parameter/>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<type>MULTIPLIER</type>
<parameters>
<parameter/>
<parameter>0.001</parameter>
</parameters>
</step>
</preprocessing>
Expand All @@ -134,8 +142,16 @@ This is the total number of milliseconds spent by all reads (as measured from __
<name>{#BLOCKDEVICE} - IO: Ops Read</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.read.ops[{#BLOCKDEVICE}]</key>
<units>io</units>
<units>ops</units>
<description>This is the total number of reads completed successfully.</description>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter/>
</parameters>
</step>
</preprocessing>
<tags>
<tag>
<tag>Application</tag>
Expand All @@ -148,15 +164,9 @@ This is the total number of milliseconds spent by all reads (as measured from __
<name>{#BLOCKDEVICE} - IO Transfer Read</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.read.sectors[{#BLOCKDEVICE}]</key>
<units>B</units>
<units>Bs</units>
<description>This is the total number of sectors read successfully.</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<parameters>
<parameter>512</parameter>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
Expand All @@ -178,21 +188,21 @@ This is the total number of milliseconds spent by all reads (as measured from __
<key>custom.vfs.dev.weight.io.ms[{#BLOCKDEVICE}]</key>
<status>DISABLED</status>
<discover>NO_DISCOVER</discover>
<units>io</units>
<units>s</units>
<description>Weighted number of milliseconds spent doing I/Os.

This field is incremented at each I/O start, I/O completion, I/O merge, or read of these stats by the number of I/Os in progress (field 12) times the number of milliseconds spent doing I/O since the last update of this field. This can provide an easy measure of both I/O completion time and the backlog that may be accumulating</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter>0.001</parameter>
<parameter/>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<type>MULTIPLIER</type>
<parameters>
<parameter/>
<parameter>0.001</parameter>
</parameters>
</step>
</preprocessing>
Expand All @@ -208,9 +218,17 @@ This field is incremented at each I/O start, I/O completion, I/O merge, or read
<name>{#BLOCKDEVICE} - IO: Merged Writes</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.write.merged[{#BLOCKDEVICE}]</key>
<units>op</units>
<units>Bs</units>
<description>Number of writes merged.
Reads and writes which are adjacent to each other may be merged for efficiency. Thus two 4K reads may become one 8K read before it is ultimately handed to the disk, and so it will be counted (and queued) as only one I/O. This field lets you know how often this was done.</description>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter/>
</parameters>
</step>
</preprocessing>
<tags>
<tag>
<tag>Application</tag>
Expand All @@ -223,20 +241,20 @@ Reads and writes which are adjacent to each other may be merged for efficiency.
<name>{#BLOCKDEVICE} - IO: Milleseconds spend in Write IO</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.write.ms[{#BLOCKDEVICE}]</key>
<units>io</units>
<units>s</units>
<description>Number of milliseconds spent writing.&amp;#13;
This is the total number of milliseconds spent by all writes (as measured from __make_request() to end_that_request_last()).</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter>0.001</parameter>
<parameter/>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<type>MULTIPLIER</type>
<parameters>
<parameter/>
<parameter>0.001</parameter>
</parameters>
</step>
</preprocessing>
Expand All @@ -252,8 +270,16 @@ This is the total number of milliseconds spent by all writes (as measured from _
<name>{#BLOCKDEVICE} - IO: Ops Write</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.write.ops[{#BLOCKDEVICE}]</key>
<units>io</units>
<units>ops</units>
<description>This is the total number of reads completed successfully.</description>
<preprocessing>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
<parameter/>
</parameters>
</step>
</preprocessing>
<tags>
<tag>
<tag>Application</tag>
Expand All @@ -266,15 +292,9 @@ This is the total number of milliseconds spent by all writes (as measured from _
<name>{#BLOCKDEVICE} - IO Transfer Write</name>
<type>ZABBIX_ACTIVE</type>
<key>custom.vfs.dev.write.sectors[{#BLOCKDEVICE}]</key>
<units>B</units>
<units>Bs</units>
<description>This is the total number of sectors write successfully.</description>
<preprocessing>
<step>
<type>MULTIPLIER</type>
<parameters>
<parameter>512</parameter>
</parameters>
</step>
<step>
<type>CHANGE_PER_SECOND</type>
<parameters>
Expand Down

0 comments on commit afbaf92

Please sign in to comment.