zabbix-ruby-client 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,16 @@
1
1
  Zabbbix Ruby Client Changelog
2
2
  -----------------------------
3
3
 
4
+ ### v0.0.7 - 2013-09-25
5
+
6
+ * fix network plugin
7
+ * added disk plugin and tepmlate
8
+ * various small templates fixes
9
+
4
10
  ### v0.0.6 - 2013-09-25
5
11
 
6
12
  * added a discover method in plugin for pushed discoveries on network interfaces
13
+ ** change your config file, args are now arrays for plugins
7
14
  * change memory reports to Bytes rather than KBytes
8
15
 
9
16
  ### v0.0.5 - 2013-09-23
data/README.md CHANGED
@@ -7,7 +7,7 @@ This tool is designed to make easy to install zabbix reporter on monitored serve
7
7
 
8
8
  The development is still in progress but it produces results and works in my case. Use at your own risk and read the code first. It is developed under ruby 2 but should work on 1.9.3 as well.
9
9
 
10
- Check the [Changelog](CHANGELOG.md) for recent changes
10
+ Check the [Changelog](CHANGELOG.md) for recent changes, code is still under huge development and is likely to move a lot until version 0.1.
11
11
 
12
12
  ## Installation
13
13
 
@@ -43,8 +43,8 @@ There are a set of standart plugins included in the package, aimed at linux syst
43
43
 
44
44
  * cpu (uses /proc/stat) [cpu_tpl](master/zabbix-templates/cpu_tpl.xml)
45
45
  * memory (requires iostat, apt-get install sysstat) [memory_tpl](master/zabbix-templates/memory_tpl.xml)
46
- * disk (requires iostat, apt-get install sysstat) (missing tpl)
47
- * network (requires netstat, apt-get install netstat) [network_tpl](master/zabbix-templates/network_tpl.xml)
46
+ * disk (requires iostat, apt-get install sysstat) [disk_tpl](master/zabbix-templates/disk_tpl.xml)
47
+ * network (uses /proc/net/dev) [network_tpl](master/zabbix-templates/network_tpl.xml)
48
48
  * apache (depends on mod_status with status_extended on) [apache_tpl](master/zabbix-templates/apache_tpl.xml)
49
49
 
50
50
  You can add extra plugin directories in the configuration file.
@@ -76,8 +76,9 @@ class ZabbixRubyClient
76
76
  end
77
77
 
78
78
  def merge_discover
79
+ time = Time.now.to_i
79
80
  @data = @discover.reduce([]) do |a,(k,v)|
80
- a << "#{@config['host']} #{k} { \"data\": [ #{v.join(', ')} ] }"
81
+ a << "#{@config['host']} #{k} #{time} { \"data\": [ #{v.join(', ')} ] }"
81
82
  a
82
83
  end + @data
83
84
  end
@@ -86,7 +87,7 @@ class ZabbixRubyClient
86
87
  merge_discover
87
88
  store
88
89
  begin
89
- res = `#{@config['zabbix']['sender']} -z #{@config['zabbix']['host']} -i #{datafile}`
90
+ res = `#{@config['zabbix']['sender']} -z #{@config['zabbix']['host']} -T -i #{datafile}`
90
91
  rescue Exception => e
91
92
  logger.error "Sending failed."
92
93
  logger.error e.message
@@ -11,28 +11,28 @@ class ZabbixRubyClient
11
11
  ret['Score'] = get_scores(ret["Scoreboard"])
12
12
  ret.delete "Scoreboard"
13
13
 
14
+ time = Time.now.to_i
14
15
  back = []
15
- back << "#{host} apache[TotalAccesses] #{ret["Total Accesses"]}"
16
- back << "#{host} apache[TotalKBytes] #{ret["Total kBytes"]}"
17
- back << "#{host} apache[CPULoad] #{ret["CPULoad"].to_f}"
18
- back << "#{host} apache[Uptime] #{ret["Uptime"]}"
19
- back << "#{host} apache[ReqPerSec] #{ret["ReqPerSec"].to_f}"
20
- back << "#{host} apache[BytesPerSec] #{ret["BytesPerSec"]}"
21
- back << "#{host} apache[BytesPerReq] #{ret["BytesPerReq"]}"
22
- back << "#{host} apache[BusyWorkers] #{ret["BusyWorkers"]}"
23
- back << "#{host} apache[IdleWorkers] #{ret["IdleWorkers"]}"
24
- back << "#{host} apache[c_idle] #{ret["Score"]["."]}"
25
- back << "#{host} apache[c_waiting] #{ret["Score"]["_"]}"
26
- back << "#{host} apache[c_closing] #{ret["Score"]["C"]}"
27
- back << "#{host} apache[c_dns] #{ret["Score"]["D"]}"
28
- back << "#{host} apache[c_finish] #{ret["Score"]["G"]}"
29
- back << "#{host} apache[c_cleanup] #{ret["Score"]["I"]}"
30
- back << "#{host} apache[c_keep] #{ret["Score"]["K"]}"
31
- back << "#{host} apache[c_log] #{ret["Score"]["L"]}"
32
- back << "#{host} apache[c_read] #{ret["Score"]["R"]}"
33
- back << "#{host} apache[c_send] #{ret["Score"]["W"]}"
34
- back << "#{host} apache[c_start] #{ret["Score"]["S"]}"
35
-
16
+ back << "#{host} apache[TotalAccesses] #{time} #{ret["Total Accesses"]}"
17
+ back << "#{host} apache[TotalKBytes] #{time} #{ret["Total kBytes"]}"
18
+ back << "#{host} apache[CPULoad] #{time} #{ret["CPULoad"].to_f}"
19
+ back << "#{host} apache[Uptime] #{time} #{ret["Uptime"]}"
20
+ back << "#{host} apache[ReqPerSec] #{time} #{ret["ReqPerSec"].to_f}"
21
+ back << "#{host} apache[BytesPerSec] #{time} #{ret["BytesPerSec"]}"
22
+ back << "#{host} apache[BytesPerReq] #{time} #{ret["BytesPerReq"]}"
23
+ back << "#{host} apache[BusyWorkers] #{time} #{ret["BusyWorkers"]}"
24
+ back << "#{host} apache[IdleWorkers] #{time} #{ret["IdleWorkers"]}"
25
+ back << "#{host} apache[c_idle] #{time} #{ret["Score"]["."]}"
26
+ back << "#{host} apache[c_waiting] #{time} #{ret["Score"]["_"]}"
27
+ back << "#{host} apache[c_closing] #{time} #{ret["Score"]["C"]}"
28
+ back << "#{host} apache[c_dns] #{time} #{ret["Score"]["D"]}"
29
+ back << "#{host} apache[c_finish] #{time} #{ret["Score"]["G"]}"
30
+ back << "#{host} apache[c_cleanup] #{time} #{ret["Score"]["I"]}"
31
+ back << "#{host} apache[c_keep] #{time} #{ret["Score"]["K"]}"
32
+ back << "#{host} apache[c_log] #{time} #{ret["Score"]["L"]}"
33
+ back << "#{host} apache[c_read] #{time} #{ret["Score"]["R"]}"
34
+ back << "#{host} apache[c_send] #{time} #{ret["Score"]["W"]}"
35
+ back << "#{host} apache[c_start] #{time}#{ret["Score"]["S"]}"
36
36
  return back
37
37
  end
38
38
 
@@ -17,18 +17,20 @@ class ZabbixRubyClient
17
17
  end
18
18
  used = user + nice + sys + wait + irq + soft + steal + guest
19
19
  total = used + idle
20
+
21
+ time = Time.now.to_i
20
22
  back = []
21
- back << "#{host} cpu[user] #{user}"
22
- back << "#{host} cpu[nice] #{nice}"
23
- back << "#{host} cpu[system] #{sys}"
24
- back << "#{host} cpu[iowait] #{wait}"
25
- back << "#{host} cpu[irq] #{irq}"
26
- back << "#{host} cpu[soft] #{soft}"
27
- back << "#{host} cpu[steal] #{steal}"
28
- back << "#{host} cpu[guest] #{guest}"
29
- back << "#{host} cpu[idle] #{idle}"
30
- back << "#{host} cpu[used] #{used}"
31
- back << "#{host} cpu[total] #{total}"
23
+ back << "#{host} cpu[user] #{time} #{user}"
24
+ back << "#{host} cpu[nice] #{time} #{nice}"
25
+ back << "#{host} cpu[system] #{time} #{sys}"
26
+ back << "#{host} cpu[iowait] #{time} #{wait}"
27
+ back << "#{host} cpu[irq] #{time} #{irq}"
28
+ back << "#{host} cpu[soft] #{time} #{soft}"
29
+ back << "#{host} cpu[steal] #{time} #{steal}"
30
+ back << "#{host} cpu[guest] #{time} #{guest}"
31
+ back << "#{host} cpu[idle] #{time} #{idle}"
32
+ back << "#{host} cpu[used] #{time} #{used}"
33
+ back << "#{host} cpu[total] #{time} #{total}"
32
34
  return back
33
35
 
34
36
  end
@@ -13,20 +13,33 @@ class ZabbixRubyClient
13
13
  logger.warn "Please install sysstat."
14
14
  return []
15
15
  end
16
+ diskspace = `df | grep "#{dev}"`
17
+ if $?.to_i == 0
18
+ _, size, used, available, percent_used, mount = diskspace.split(/\s+/)
19
+ else
20
+ logger.error "df is not working... ouchie."
21
+ return []
22
+ end
23
+
24
+ time = Time.now.to_i
16
25
  back = []
17
- back << "#{host} disk[#{dev},read_req_per_sec] #{rrqm}"
18
- back << "#{host} disk[#{dev},write_req_per_sec] #{wrqm}"
19
- back << "#{host} disk[#{dev},read_per_sec] #{r}"
20
- back << "#{host} disk[#{dev},write_per_sec] #{w}"
21
- back << "#{host} disk[#{dev},read_sector_per_sec] #{rkb}"
22
- back << "#{host} disk[#{dev},write_sector_per_sec] #{wkb}"
23
- back << "#{host} disk[#{dev},avg_sector_size] #{avgrq}"
24
- back << "#{host} disk[#{dev},avg_queue_length] #{avgqu}"
25
- back << "#{host} disk[#{dev},time_waiting] #{await}"
26
- back << "#{host} disk[#{dev},time_waiting_read] #{rawait}"
27
- back << "#{host} disk[#{dev},time_waiting_write] #{wawait}"
28
- back << "#{host} disk[#{dev},service_time] #{svctm}"
29
- back << "#{host} disk[#{dev},percent_util] #{util}"
26
+ back << "#{host} disk.io[#{dev},read_req_per_sec] #{time} #{rrqm}"
27
+ back << "#{host} disk.io[#{dev},write_req_per_sec] #{time} #{wrqm}"
28
+ back << "#{host} disk.io[#{dev},read_per_sec] #{time} #{r}"
29
+ back << "#{host} disk.io[#{dev},write_per_sec] #{time} #{w}"
30
+ back << "#{host} disk.io[#{dev},read_sector_per_sec] #{time} #{rkb}"
31
+ back << "#{host} disk.io[#{dev},write_sector_per_sec] #{time} #{wkb}"
32
+ back << "#{host} disk.io[#{dev},avg_sector_size] #{time} #{avgrq}"
33
+ back << "#{host} disk.io[#{dev},avg_queue_length] #{time} #{avgqu}"
34
+ back << "#{host} disk.io[#{dev},time_waiting] #{time} #{await}"
35
+ back << "#{host} disk.io[#{dev},time_waiting_read] #{time} #{rawait}"
36
+ back << "#{host} disk.io[#{dev},time_waiting_write] #{time} #{wawait}"
37
+ back << "#{host} disk.io[#{dev},service_time] #{time} #{svctm}"
38
+ back << "#{host} disk.io[#{dev},percent_util] #{time} #{util}"
39
+ back << "#{host} disk.space[#{dev},size] #{time} #{size.to_i * 1000}"
40
+ back << "#{host} disk.space[#{dev},used] #{time} #{used.to_i * 1000}"
41
+ back << "#{host} disk.space[#{dev},available] #{time} #{available.to_i * 1000}"
42
+ back << "#{host} disk.space[#{dev},percent_used] #{time} #{percent_used.gsub(/%/,'')}"
30
43
  return back
31
44
  end
32
45
 
@@ -12,17 +12,19 @@ class ZabbixRubyClient
12
12
  logger.warn "Please install sysstat."
13
13
  return []
14
14
  end
15
+
16
+ time = Time.now.to_i
15
17
  back = []
16
- back << "#{host} memory[total] #{info["totalmemory"]}"
17
- back << "#{host} memory[used] #{info["usedmemory"]}"
18
- back << "#{host} memory[active] #{info["activememory"]}"
19
- back << "#{host} memory[inactive] #{info["inactivememory"]}"
20
- back << "#{host} memory[free] #{info["freememory"]}"
21
- back << "#{host} memory[buffer] #{info["buffermemory"]}"
22
- back << "#{host} memory[swap_cache] #{info["swapcache"]}"
23
- back << "#{host} memory[swap_total] #{info["totalswap"]}"
24
- back << "#{host} memory[swap_used] #{info["usedswap"]}"
25
- back << "#{host} memory[swap_free] #{info["freeswap"]}"
18
+ back << "#{host} memory[total] #{time} #{info["totalmemory"]}"
19
+ back << "#{host} memory[used] #{time} #{info["usedmemory"]}"
20
+ back << "#{host} memory[active] #{time} #{info["activememory"]}"
21
+ back << "#{host} memory[inactive] #{time} #{info["inactivememory"]}"
22
+ back << "#{host} memory[free] #{time} #{info["freememory"]}"
23
+ back << "#{host} memory[buffer] #{time} #{info["buffermemory"]}"
24
+ back << "#{host} memory[swap_cache] #{time} #{info["swapcache"]}"
25
+ back << "#{host} memory[swap_total] #{time} #{info["totalswap"]}"
26
+ back << "#{host} memory[swap_used] #{time} #{info["usedswap"]}"
27
+ back << "#{host} memory[swap_free] #{time} #{info["freeswap"]}"
26
28
  return back
27
29
  end
28
30
 
@@ -6,24 +6,24 @@ class ZabbixRubyClient
6
6
  def collect(*args)
7
7
  host = args[0]
8
8
  interface = args[1]
9
- netinfo = `netstat -i | grep "^#{interface} "`
9
+ netinfo = `grep "#{interface}: " /proc/net/dev`
10
10
  if $?.to_i == 0
11
- _, mtu, met, rx_ok, rx_err, rx_drop, rx_over, tx_ok, tx_err, tx_drop, tx_over, flags = netinfo.split(/\s+/)
11
+ _, _, rx_ok, rx_packets, rx_err, rx_drop, _, _, _, _, tx_ok, tx_packets, tx_err, tx_drop, _, _, _, _ = netinfo.split(/\s+/)
12
12
  else
13
13
  logger.warn "Please install netstat."
14
14
  return []
15
15
  end
16
+
17
+ time = Time.now.to_i
16
18
  back = []
17
- back << "#{host} net.mtu[#{interface}] #{mtu}"
18
- back << "#{host} net.met[#{interface}] #{met}"
19
- back << "#{host} net.rx_ok[#{interface}] #{rx_ok}"
20
- back << "#{host} net.rx_err[#{interface}] #{rx_err}"
21
- back << "#{host} net.rx_drop[#{interface}] #{rx_drop}"
22
- back << "#{host} net.rx_over[#{interface}] #{rx_over}"
23
- back << "#{host} net.tx_ok[#{interface}] #{tx_ok}"
24
- back << "#{host} net.tx_err[#{interface}] #{tx_err}"
25
- back << "#{host} net.tx_drop[#{interface}] #{tx_drop}"
26
- back << "#{host} net.tx_over[#{interface}] #{tx_over}"
19
+ back << "#{host} net.rx_ok[#{interface}] #{time} #{rx_ok}"
20
+ back << "#{host} net.rx_packets[#{interface}] #{time} #{rx_packets}"
21
+ back << "#{host} net.rx_err[#{interface}] #{time} #{rx_err}"
22
+ back << "#{host} net.rx_drop[#{interface}] #{time} #{rx_drop}"
23
+ back << "#{host} net.tx_ok[#{interface}] #{time} #{tx_ok}"
24
+ back << "#{host} net.tx_packets[#{interface}] #{time} #{tx_packets}"
25
+ back << "#{host} net.tx_err[#{interface}] #{time} #{tx_err}"
26
+ back << "#{host} net.tx_drop[#{interface}] #{time} #{tx_drop}"
27
27
  return back
28
28
 
29
29
  end
@@ -1,3 +1,3 @@
1
1
  class ZabbixRubyClient
2
- VERSION ||= "0.0.6"
2
+ VERSION ||= "0.0.7"
3
3
  end
@@ -4,7 +4,7 @@ logsdir: logs
4
4
  loglevel: info
5
5
  datadir: data
6
6
  keepdata: no # or yes
7
- plugindirs:
7
+ plugindirs:
8
8
  - plugins
9
9
  zabbix:
10
10
  host: zabbix.example.com
@@ -14,10 +14,8 @@ plugins:
14
14
  - name: memory
15
15
  - name: cpu
16
16
  - name: network
17
- args: eth0
17
+ args: [ eth0 ]
18
18
  - name: disk
19
- args:
20
- - sda1
21
- - /
19
+ args: [ sda1, / ]
22
20
  - name: network
23
- args: eth1
21
+ args: [ eth1 ]
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <zabbix_export>
3
3
  <version>2.0</version>
4
- <date>2013-09-23T07:29:18Z</date>
4
+ <date>2013-09-25T10:35:58Z</date>
5
5
  <groups>
6
6
  <group>
7
7
  <name>Templates</name>
@@ -119,7 +119,7 @@
119
119
  <status>0</status>
120
120
  <value_type>0</value_type>
121
121
  <allowed_hosts>mb-sandbox</allowed_hosts>
122
- <units>B/s</units>
122
+ <units>Bps</units>
123
123
  <delta>0</delta>
124
124
  <snmpv3_securityname/>
125
125
  <snmpv3_securitylevel>0</snmpv3_securitylevel>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <zabbix_export>
3
3
  <version>2.0</version>
4
- <date>2013-09-23T07:01:52Z</date>
4
+ <date>2013-09-25T10:36:33Z</date>
5
5
  <groups>
6
6
  <group>
7
7
  <name>Linux servers</name>
@@ -0,0 +1,890 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <zabbix_export>
3
+ <version>2.0</version>
4
+ <date>2013-09-25T10:36:52Z</date>
5
+ <groups>
6
+ <group>
7
+ <name>Linux servers</name>
8
+ </group>
9
+ </groups>
10
+ <templates>
11
+ <template>
12
+ <template>Disk Stats</template>
13
+ <name>Disk (zrc)</name>
14
+ <groups>
15
+ <group>
16
+ <name>Linux servers</name>
17
+ </group>
18
+ </groups>
19
+ <applications>
20
+ <application>
21
+ <name>Disk</name>
22
+ </application>
23
+ </applications>
24
+ <items/>
25
+ <discovery_rules>
26
+ <discovery_rule>
27
+ <name>Disk devices</name>
28
+ <type>2</type>
29
+ <snmp_community/>
30
+ <snmp_oid/>
31
+ <key>disk.dev.discovery</key>
32
+ <delay>0</delay>
33
+ <status>0</status>
34
+ <allowed_hosts/>
35
+ <snmpv3_securityname/>
36
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
37
+ <snmpv3_authpassphrase/>
38
+ <snmpv3_privpassphrase/>
39
+ <delay_flex/>
40
+ <params/>
41
+ <ipmi_sensor/>
42
+ <authtype>0</authtype>
43
+ <username/>
44
+ <password/>
45
+ <publickey/>
46
+ <privatekey/>
47
+ <port/>
48
+ <filter>:</filter>
49
+ <lifetime>30</lifetime>
50
+ <description/>
51
+ <item_prototypes>
52
+ <item_prototype>
53
+ <name>$1 average queue length</name>
54
+ <type>2</type>
55
+ <snmp_community/>
56
+ <multiplier>0</multiplier>
57
+ <snmp_oid/>
58
+ <key>disk.io[{#DISK_DEVICE},avg_queue_length]</key>
59
+ <delay>0</delay>
60
+ <history>90</history>
61
+ <trends>365</trends>
62
+ <status>0</status>
63
+ <value_type>0</value_type>
64
+ <allowed_hosts/>
65
+ <units/>
66
+ <delta>0</delta>
67
+ <snmpv3_securityname/>
68
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
69
+ <snmpv3_authpassphrase/>
70
+ <snmpv3_privpassphrase/>
71
+ <formula>1</formula>
72
+ <delay_flex/>
73
+ <params/>
74
+ <ipmi_sensor/>
75
+ <data_type>0</data_type>
76
+ <authtype>0</authtype>
77
+ <username/>
78
+ <password/>
79
+ <publickey/>
80
+ <privatekey/>
81
+ <port/>
82
+ <description/>
83
+ <inventory_link>0</inventory_link>
84
+ <applications>
85
+ <application>
86
+ <name>Disk</name>
87
+ </application>
88
+ </applications>
89
+ <valuemap/>
90
+ </item_prototype>
91
+ <item_prototype>
92
+ <name>$1 average sector size</name>
93
+ <type>2</type>
94
+ <snmp_community/>
95
+ <multiplier>0</multiplier>
96
+ <snmp_oid/>
97
+ <key>disk.io[{#DISK_DEVICE},avg_sector_size]</key>
98
+ <delay>0</delay>
99
+ <history>90</history>
100
+ <trends>365</trends>
101
+ <status>0</status>
102
+ <value_type>0</value_type>
103
+ <allowed_hosts/>
104
+ <units/>
105
+ <delta>0</delta>
106
+ <snmpv3_securityname/>
107
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
108
+ <snmpv3_authpassphrase/>
109
+ <snmpv3_privpassphrase/>
110
+ <formula>1</formula>
111
+ <delay_flex/>
112
+ <params/>
113
+ <ipmi_sensor/>
114
+ <data_type>0</data_type>
115
+ <authtype>0</authtype>
116
+ <username/>
117
+ <password/>
118
+ <publickey/>
119
+ <privatekey/>
120
+ <port/>
121
+ <description/>
122
+ <inventory_link>0</inventory_link>
123
+ <applications>
124
+ <application>
125
+ <name>Disk</name>
126
+ </application>
127
+ </applications>
128
+ <valuemap/>
129
+ </item_prototype>
130
+ <item_prototype>
131
+ <name>$1 percent IO used</name>
132
+ <type>2</type>
133
+ <snmp_community/>
134
+ <multiplier>0</multiplier>
135
+ <snmp_oid/>
136
+ <key>disk.io[{#DISK_DEVICE},percent_util]</key>
137
+ <delay>0</delay>
138
+ <history>90</history>
139
+ <trends>365</trends>
140
+ <status>0</status>
141
+ <value_type>0</value_type>
142
+ <allowed_hosts/>
143
+ <units>%</units>
144
+ <delta>0</delta>
145
+ <snmpv3_securityname/>
146
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
147
+ <snmpv3_authpassphrase/>
148
+ <snmpv3_privpassphrase/>
149
+ <formula>1</formula>
150
+ <delay_flex/>
151
+ <params/>
152
+ <ipmi_sensor/>
153
+ <data_type>0</data_type>
154
+ <authtype>0</authtype>
155
+ <username/>
156
+ <password/>
157
+ <publickey/>
158
+ <privatekey/>
159
+ <port/>
160
+ <description/>
161
+ <inventory_link>0</inventory_link>
162
+ <applications>
163
+ <application>
164
+ <name>Disk</name>
165
+ </application>
166
+ </applications>
167
+ <valuemap/>
168
+ </item_prototype>
169
+ <item_prototype>
170
+ <name>$1 percent usage</name>
171
+ <type>2</type>
172
+ <snmp_community/>
173
+ <multiplier>0</multiplier>
174
+ <snmp_oid/>
175
+ <key>disk.space[{#DISK_DEVICE},percent_used]</key>
176
+ <delay>0</delay>
177
+ <history>90</history>
178
+ <trends>365</trends>
179
+ <status>0</status>
180
+ <value_type>3</value_type>
181
+ <allowed_hosts/>
182
+ <units>%</units>
183
+ <delta>0</delta>
184
+ <snmpv3_securityname/>
185
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
186
+ <snmpv3_authpassphrase/>
187
+ <snmpv3_privpassphrase/>
188
+ <formula>1</formula>
189
+ <delay_flex/>
190
+ <params/>
191
+ <ipmi_sensor/>
192
+ <data_type>0</data_type>
193
+ <authtype>0</authtype>
194
+ <username/>
195
+ <password/>
196
+ <publickey/>
197
+ <privatekey/>
198
+ <port/>
199
+ <description/>
200
+ <inventory_link>0</inventory_link>
201
+ <applications>
202
+ <application>
203
+ <name>Disk</name>
204
+ </application>
205
+ </applications>
206
+ <valuemap/>
207
+ </item_prototype>
208
+ <item_prototype>
209
+ <name>$1 Read per second</name>
210
+ <type>2</type>
211
+ <snmp_community/>
212
+ <multiplier>0</multiplier>
213
+ <snmp_oid/>
214
+ <key>disk.io[{#DISK_DEVICE},read_per_sec]</key>
215
+ <delay>0</delay>
216
+ <history>90</history>
217
+ <trends>365</trends>
218
+ <status>0</status>
219
+ <value_type>0</value_type>
220
+ <allowed_hosts/>
221
+ <units/>
222
+ <delta>0</delta>
223
+ <snmpv3_securityname/>
224
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
225
+ <snmpv3_authpassphrase/>
226
+ <snmpv3_privpassphrase/>
227
+ <formula>1</formula>
228
+ <delay_flex/>
229
+ <params/>
230
+ <ipmi_sensor/>
231
+ <data_type>0</data_type>
232
+ <authtype>0</authtype>
233
+ <username/>
234
+ <password/>
235
+ <publickey/>
236
+ <privatekey/>
237
+ <port/>
238
+ <description/>
239
+ <inventory_link>0</inventory_link>
240
+ <applications>
241
+ <application>
242
+ <name>Disk</name>
243
+ </application>
244
+ </applications>
245
+ <valuemap/>
246
+ </item_prototype>
247
+ <item_prototype>
248
+ <name>$1 Read Request per second</name>
249
+ <type>2</type>
250
+ <snmp_community/>
251
+ <multiplier>0</multiplier>
252
+ <snmp_oid/>
253
+ <key>disk.io[{#DISK_DEVICE},read_req_per_sec]</key>
254
+ <delay>0</delay>
255
+ <history>90</history>
256
+ <trends>365</trends>
257
+ <status>0</status>
258
+ <value_type>0</value_type>
259
+ <allowed_hosts/>
260
+ <units>B/s</units>
261
+ <delta>0</delta>
262
+ <snmpv3_securityname/>
263
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
264
+ <snmpv3_authpassphrase/>
265
+ <snmpv3_privpassphrase/>
266
+ <formula>1</formula>
267
+ <delay_flex/>
268
+ <params/>
269
+ <ipmi_sensor/>
270
+ <data_type>0</data_type>
271
+ <authtype>0</authtype>
272
+ <username/>
273
+ <password/>
274
+ <publickey/>
275
+ <privatekey/>
276
+ <port/>
277
+ <description/>
278
+ <inventory_link>0</inventory_link>
279
+ <applications>
280
+ <application>
281
+ <name>Disk</name>
282
+ </application>
283
+ </applications>
284
+ <valuemap/>
285
+ </item_prototype>
286
+ <item_prototype>
287
+ <name>$1 Read Sector per second</name>
288
+ <type>2</type>
289
+ <snmp_community/>
290
+ <multiplier>0</multiplier>
291
+ <snmp_oid/>
292
+ <key>disk.io[{#DISK_DEVICE},read_sector_per_sec]</key>
293
+ <delay>0</delay>
294
+ <history>90</history>
295
+ <trends>365</trends>
296
+ <status>0</status>
297
+ <value_type>0</value_type>
298
+ <allowed_hosts/>
299
+ <units/>
300
+ <delta>0</delta>
301
+ <snmpv3_securityname/>
302
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
303
+ <snmpv3_authpassphrase/>
304
+ <snmpv3_privpassphrase/>
305
+ <formula>1</formula>
306
+ <delay_flex/>
307
+ <params/>
308
+ <ipmi_sensor/>
309
+ <data_type>0</data_type>
310
+ <authtype>0</authtype>
311
+ <username/>
312
+ <password/>
313
+ <publickey/>
314
+ <privatekey/>
315
+ <port/>
316
+ <description/>
317
+ <inventory_link>0</inventory_link>
318
+ <applications>
319
+ <application>
320
+ <name>Disk</name>
321
+ </application>
322
+ </applications>
323
+ <valuemap/>
324
+ </item_prototype>
325
+ <item_prototype>
326
+ <name>$1 service time</name>
327
+ <type>2</type>
328
+ <snmp_community/>
329
+ <multiplier>0</multiplier>
330
+ <snmp_oid/>
331
+ <key>disk.io[{#DISK_DEVICE},service_time]</key>
332
+ <delay>0</delay>
333
+ <history>90</history>
334
+ <trends>365</trends>
335
+ <status>0</status>
336
+ <value_type>0</value_type>
337
+ <allowed_hosts/>
338
+ <units/>
339
+ <delta>0</delta>
340
+ <snmpv3_securityname/>
341
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
342
+ <snmpv3_authpassphrase/>
343
+ <snmpv3_privpassphrase/>
344
+ <formula>1</formula>
345
+ <delay_flex/>
346
+ <params/>
347
+ <ipmi_sensor/>
348
+ <data_type>0</data_type>
349
+ <authtype>0</authtype>
350
+ <username/>
351
+ <password/>
352
+ <publickey/>
353
+ <privatekey/>
354
+ <port/>
355
+ <description/>
356
+ <inventory_link>0</inventory_link>
357
+ <applications>
358
+ <application>
359
+ <name>Disk</name>
360
+ </application>
361
+ </applications>
362
+ <valuemap/>
363
+ </item_prototype>
364
+ <item_prototype>
365
+ <name>$1 space available</name>
366
+ <type>2</type>
367
+ <snmp_community/>
368
+ <multiplier>0</multiplier>
369
+ <snmp_oid/>
370
+ <key>disk.space[{#DISK_DEVICE},available]</key>
371
+ <delay>0</delay>
372
+ <history>90</history>
373
+ <trends>365</trends>
374
+ <status>0</status>
375
+ <value_type>3</value_type>
376
+ <allowed_hosts/>
377
+ <units>B</units>
378
+ <delta>0</delta>
379
+ <snmpv3_securityname/>
380
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
381
+ <snmpv3_authpassphrase/>
382
+ <snmpv3_privpassphrase/>
383
+ <formula>1</formula>
384
+ <delay_flex/>
385
+ <params/>
386
+ <ipmi_sensor/>
387
+ <data_type>0</data_type>
388
+ <authtype>0</authtype>
389
+ <username/>
390
+ <password/>
391
+ <publickey/>
392
+ <privatekey/>
393
+ <port/>
394
+ <description/>
395
+ <inventory_link>0</inventory_link>
396
+ <applications>
397
+ <application>
398
+ <name>Disk</name>
399
+ </application>
400
+ </applications>
401
+ <valuemap/>
402
+ </item_prototype>
403
+ <item_prototype>
404
+ <name>$1 space total</name>
405
+ <type>2</type>
406
+ <snmp_community/>
407
+ <multiplier>0</multiplier>
408
+ <snmp_oid/>
409
+ <key>disk.space[{#DISK_DEVICE},size]</key>
410
+ <delay>0</delay>
411
+ <history>90</history>
412
+ <trends>365</trends>
413
+ <status>0</status>
414
+ <value_type>3</value_type>
415
+ <allowed_hosts/>
416
+ <units>B</units>
417
+ <delta>0</delta>
418
+ <snmpv3_securityname/>
419
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
420
+ <snmpv3_authpassphrase/>
421
+ <snmpv3_privpassphrase/>
422
+ <formula>1</formula>
423
+ <delay_flex/>
424
+ <params/>
425
+ <ipmi_sensor/>
426
+ <data_type>0</data_type>
427
+ <authtype>0</authtype>
428
+ <username/>
429
+ <password/>
430
+ <publickey/>
431
+ <privatekey/>
432
+ <port/>
433
+ <description/>
434
+ <inventory_link>0</inventory_link>
435
+ <applications>
436
+ <application>
437
+ <name>Disk</name>
438
+ </application>
439
+ </applications>
440
+ <valuemap/>
441
+ </item_prototype>
442
+ <item_prototype>
443
+ <name>$1 space used</name>
444
+ <type>2</type>
445
+ <snmp_community/>
446
+ <multiplier>0</multiplier>
447
+ <snmp_oid/>
448
+ <key>disk.space[{#DISK_DEVICE},used]</key>
449
+ <delay>0</delay>
450
+ <history>90</history>
451
+ <trends>365</trends>
452
+ <status>0</status>
453
+ <value_type>3</value_type>
454
+ <allowed_hosts/>
455
+ <units>B</units>
456
+ <delta>0</delta>
457
+ <snmpv3_securityname/>
458
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
459
+ <snmpv3_authpassphrase/>
460
+ <snmpv3_privpassphrase/>
461
+ <formula>1</formula>
462
+ <delay_flex/>
463
+ <params/>
464
+ <ipmi_sensor/>
465
+ <data_type>0</data_type>
466
+ <authtype>0</authtype>
467
+ <username/>
468
+ <password/>
469
+ <publickey/>
470
+ <privatekey/>
471
+ <port/>
472
+ <description/>
473
+ <inventory_link>0</inventory_link>
474
+ <applications>
475
+ <application>
476
+ <name>Disk</name>
477
+ </application>
478
+ </applications>
479
+ <valuemap/>
480
+ </item_prototype>
481
+ <item_prototype>
482
+ <name>$1 time waiting</name>
483
+ <type>2</type>
484
+ <snmp_community/>
485
+ <multiplier>0</multiplier>
486
+ <snmp_oid/>
487
+ <key>disk.io[{#DISK_DEVICE},time_waiting]</key>
488
+ <delay>0</delay>
489
+ <history>90</history>
490
+ <trends>365</trends>
491
+ <status>0</status>
492
+ <value_type>0</value_type>
493
+ <allowed_hosts/>
494
+ <units/>
495
+ <delta>0</delta>
496
+ <snmpv3_securityname/>
497
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
498
+ <snmpv3_authpassphrase/>
499
+ <snmpv3_privpassphrase/>
500
+ <formula>1</formula>
501
+ <delay_flex/>
502
+ <params/>
503
+ <ipmi_sensor/>
504
+ <data_type>0</data_type>
505
+ <authtype>0</authtype>
506
+ <username/>
507
+ <password/>
508
+ <publickey/>
509
+ <privatekey/>
510
+ <port/>
511
+ <description/>
512
+ <inventory_link>0</inventory_link>
513
+ <applications>
514
+ <application>
515
+ <name>Disk</name>
516
+ </application>
517
+ </applications>
518
+ <valuemap/>
519
+ </item_prototype>
520
+ <item_prototype>
521
+ <name>$1 time waiting read</name>
522
+ <type>2</type>
523
+ <snmp_community/>
524
+ <multiplier>0</multiplier>
525
+ <snmp_oid/>
526
+ <key>disk.io[{#DISK_DEVICE},time_waiting_read]</key>
527
+ <delay>0</delay>
528
+ <history>90</history>
529
+ <trends>365</trends>
530
+ <status>0</status>
531
+ <value_type>0</value_type>
532
+ <allowed_hosts/>
533
+ <units/>
534
+ <delta>0</delta>
535
+ <snmpv3_securityname/>
536
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
537
+ <snmpv3_authpassphrase/>
538
+ <snmpv3_privpassphrase/>
539
+ <formula>1</formula>
540
+ <delay_flex/>
541
+ <params/>
542
+ <ipmi_sensor/>
543
+ <data_type>0</data_type>
544
+ <authtype>0</authtype>
545
+ <username/>
546
+ <password/>
547
+ <publickey/>
548
+ <privatekey/>
549
+ <port/>
550
+ <description/>
551
+ <inventory_link>0</inventory_link>
552
+ <applications>
553
+ <application>
554
+ <name>Disk</name>
555
+ </application>
556
+ </applications>
557
+ <valuemap/>
558
+ </item_prototype>
559
+ <item_prototype>
560
+ <name>$1 time waiting write</name>
561
+ <type>2</type>
562
+ <snmp_community/>
563
+ <multiplier>0</multiplier>
564
+ <snmp_oid/>
565
+ <key>disk.io[{#DISK_DEVICE},time_waiting_write]</key>
566
+ <delay>0</delay>
567
+ <history>90</history>
568
+ <trends>365</trends>
569
+ <status>0</status>
570
+ <value_type>0</value_type>
571
+ <allowed_hosts/>
572
+ <units/>
573
+ <delta>0</delta>
574
+ <snmpv3_securityname/>
575
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
576
+ <snmpv3_authpassphrase/>
577
+ <snmpv3_privpassphrase/>
578
+ <formula>1</formula>
579
+ <delay_flex/>
580
+ <params/>
581
+ <ipmi_sensor/>
582
+ <data_type>0</data_type>
583
+ <authtype>0</authtype>
584
+ <username/>
585
+ <password/>
586
+ <publickey/>
587
+ <privatekey/>
588
+ <port/>
589
+ <description/>
590
+ <inventory_link>0</inventory_link>
591
+ <applications>
592
+ <application>
593
+ <name>Disk</name>
594
+ </application>
595
+ </applications>
596
+ <valuemap/>
597
+ </item_prototype>
598
+ <item_prototype>
599
+ <name>$1 Write per second</name>
600
+ <type>2</type>
601
+ <snmp_community/>
602
+ <multiplier>0</multiplier>
603
+ <snmp_oid/>
604
+ <key>disk.io[{#DISK_DEVICE},write_per_sec]</key>
605
+ <delay>0</delay>
606
+ <history>90</history>
607
+ <trends>365</trends>
608
+ <status>0</status>
609
+ <value_type>0</value_type>
610
+ <allowed_hosts/>
611
+ <units>B/s</units>
612
+ <delta>0</delta>
613
+ <snmpv3_securityname/>
614
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
615
+ <snmpv3_authpassphrase/>
616
+ <snmpv3_privpassphrase/>
617
+ <formula>1</formula>
618
+ <delay_flex/>
619
+ <params/>
620
+ <ipmi_sensor/>
621
+ <data_type>0</data_type>
622
+ <authtype>0</authtype>
623
+ <username/>
624
+ <password/>
625
+ <publickey/>
626
+ <privatekey/>
627
+ <port/>
628
+ <description/>
629
+ <inventory_link>0</inventory_link>
630
+ <applications>
631
+ <application>
632
+ <name>Disk</name>
633
+ </application>
634
+ </applications>
635
+ <valuemap/>
636
+ </item_prototype>
637
+ <item_prototype>
638
+ <name>$1 Write Request per second</name>
639
+ <type>2</type>
640
+ <snmp_community/>
641
+ <multiplier>0</multiplier>
642
+ <snmp_oid/>
643
+ <key>disk.io[{#DISK_DEVICE},write_req_per_sec]</key>
644
+ <delay>0</delay>
645
+ <history>90</history>
646
+ <trends>365</trends>
647
+ <status>0</status>
648
+ <value_type>0</value_type>
649
+ <allowed_hosts/>
650
+ <units>B/s</units>
651
+ <delta>0</delta>
652
+ <snmpv3_securityname/>
653
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
654
+ <snmpv3_authpassphrase/>
655
+ <snmpv3_privpassphrase/>
656
+ <formula>1</formula>
657
+ <delay_flex/>
658
+ <params/>
659
+ <ipmi_sensor/>
660
+ <data_type>0</data_type>
661
+ <authtype>0</authtype>
662
+ <username/>
663
+ <password/>
664
+ <publickey/>
665
+ <privatekey/>
666
+ <port/>
667
+ <description/>
668
+ <inventory_link>0</inventory_link>
669
+ <applications>
670
+ <application>
671
+ <name>Disk</name>
672
+ </application>
673
+ </applications>
674
+ <valuemap/>
675
+ </item_prototype>
676
+ <item_prototype>
677
+ <name>$1 Write Sector per second</name>
678
+ <type>2</type>
679
+ <snmp_community/>
680
+ <multiplier>0</multiplier>
681
+ <snmp_oid/>
682
+ <key>disk.io[{#DISK_DEVICE},write_sector_per_sec]</key>
683
+ <delay>0</delay>
684
+ <history>90</history>
685
+ <trends>365</trends>
686
+ <status>0</status>
687
+ <value_type>0</value_type>
688
+ <allowed_hosts/>
689
+ <units/>
690
+ <delta>0</delta>
691
+ <snmpv3_securityname/>
692
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
693
+ <snmpv3_authpassphrase/>
694
+ <snmpv3_privpassphrase/>
695
+ <formula>1</formula>
696
+ <delay_flex/>
697
+ <params/>
698
+ <ipmi_sensor/>
699
+ <data_type>0</data_type>
700
+ <authtype>0</authtype>
701
+ <username/>
702
+ <password/>
703
+ <publickey/>
704
+ <privatekey/>
705
+ <port/>
706
+ <description/>
707
+ <inventory_link>0</inventory_link>
708
+ <applications>
709
+ <application>
710
+ <name>Disk</name>
711
+ </application>
712
+ </applications>
713
+ <valuemap/>
714
+ </item_prototype>
715
+ </item_prototypes>
716
+ <trigger_prototypes/>
717
+ <graph_prototypes>
718
+ <graph_prototype>
719
+ <name>Disk IO used ({#DISK_MOUNT} : {#DISK_DEVICE})</name>
720
+ <width>900</width>
721
+ <height>200</height>
722
+ <yaxismin>0.0000</yaxismin>
723
+ <yaxismax>100.0000</yaxismax>
724
+ <show_work_period>1</show_work_period>
725
+ <show_triggers>1</show_triggers>
726
+ <type>0</type>
727
+ <show_legend>1</show_legend>
728
+ <show_3d>0</show_3d>
729
+ <percent_left>0.0000</percent_left>
730
+ <percent_right>0.0000</percent_right>
731
+ <ymin_type_1>0</ymin_type_1>
732
+ <ymax_type_1>0</ymax_type_1>
733
+ <ymin_item_1>0</ymin_item_1>
734
+ <ymax_item_1>0</ymax_item_1>
735
+ <graph_items>
736
+ <graph_item>
737
+ <sortorder>0</sortorder>
738
+ <drawtype>0</drawtype>
739
+ <color>C86600</color>
740
+ <yaxisside>0</yaxisside>
741
+ <calc_fnc>7</calc_fnc>
742
+ <type>0</type>
743
+ <item>
744
+ <host>Disk Stats</host>
745
+ <key>disk.io[{#DISK_DEVICE},percent_util]</key>
746
+ </item>
747
+ </graph_item>
748
+ </graph_items>
749
+ </graph_prototype>
750
+ <graph_prototype>
751
+ <name>Disk pie ({#DISK_MOUNT} : {#DISK_DEVICE})</name>
752
+ <width>900</width>
753
+ <height>200</height>
754
+ <yaxismin>0.0000</yaxismin>
755
+ <yaxismax>0.0000</yaxismax>
756
+ <show_work_period>0</show_work_period>
757
+ <show_triggers>0</show_triggers>
758
+ <type>2</type>
759
+ <show_legend>1</show_legend>
760
+ <show_3d>1</show_3d>
761
+ <percent_left>0.0000</percent_left>
762
+ <percent_right>0.0000</percent_right>
763
+ <ymin_type_1>0</ymin_type_1>
764
+ <ymax_type_1>0</ymax_type_1>
765
+ <ymin_item_1>0</ymin_item_1>
766
+ <ymax_item_1>0</ymax_item_1>
767
+ <graph_items>
768
+ <graph_item>
769
+ <sortorder>0</sortorder>
770
+ <drawtype>0</drawtype>
771
+ <color>FF6666</color>
772
+ <yaxisside>0</yaxisside>
773
+ <calc_fnc>2</calc_fnc>
774
+ <type>0</type>
775
+ <item>
776
+ <host>Disk Stats</host>
777
+ <key>disk.space[{#DISK_DEVICE},used]</key>
778
+ </item>
779
+ </graph_item>
780
+ <graph_item>
781
+ <sortorder>1</sortorder>
782
+ <drawtype>0</drawtype>
783
+ <color>0000C8</color>
784
+ <yaxisside>0</yaxisside>
785
+ <calc_fnc>2</calc_fnc>
786
+ <type>0</type>
787
+ <item>
788
+ <host>Disk Stats</host>
789
+ <key>disk.space[{#DISK_DEVICE},available]</key>
790
+ </item>
791
+ </graph_item>
792
+ </graph_items>
793
+ </graph_prototype>
794
+ <graph_prototype>
795
+ <name>Disk R/W ({#DISK_MOUNT} : {#DISK_DEVICE})</name>
796
+ <width>900</width>
797
+ <height>200</height>
798
+ <yaxismin>0.0000</yaxismin>
799
+ <yaxismax>100.0000</yaxismax>
800
+ <show_work_period>1</show_work_period>
801
+ <show_triggers>1</show_triggers>
802
+ <type>0</type>
803
+ <show_legend>1</show_legend>
804
+ <show_3d>0</show_3d>
805
+ <percent_left>0.0000</percent_left>
806
+ <percent_right>0.0000</percent_right>
807
+ <ymin_type_1>0</ymin_type_1>
808
+ <ymax_type_1>0</ymax_type_1>
809
+ <ymin_item_1>0</ymin_item_1>
810
+ <ymax_item_1>0</ymax_item_1>
811
+ <graph_items>
812
+ <graph_item>
813
+ <sortorder>0</sortorder>
814
+ <drawtype>0</drawtype>
815
+ <color>6666FF</color>
816
+ <yaxisside>0</yaxisside>
817
+ <calc_fnc>2</calc_fnc>
818
+ <type>0</type>
819
+ <item>
820
+ <host>Disk Stats</host>
821
+ <key>disk.io[{#DISK_DEVICE},read_per_sec]</key>
822
+ </item>
823
+ </graph_item>
824
+ <graph_item>
825
+ <sortorder>1</sortorder>
826
+ <drawtype>0</drawtype>
827
+ <color>EE0000</color>
828
+ <yaxisside>0</yaxisside>
829
+ <calc_fnc>2</calc_fnc>
830
+ <type>0</type>
831
+ <item>
832
+ <host>Disk Stats</host>
833
+ <key>disk.io[{#DISK_DEVICE},write_per_sec]</key>
834
+ </item>
835
+ </graph_item>
836
+ </graph_items>
837
+ </graph_prototype>
838
+ <graph_prototype>
839
+ <name>Disk usage ({#DISK_MOUNT} : {#DISK_DEVICE})</name>
840
+ <width>900</width>
841
+ <height>200</height>
842
+ <yaxismin>0.0000</yaxismin>
843
+ <yaxismax>100.0000</yaxismax>
844
+ <show_work_period>1</show_work_period>
845
+ <show_triggers>1</show_triggers>
846
+ <type>1</type>
847
+ <show_legend>1</show_legend>
848
+ <show_3d>0</show_3d>
849
+ <percent_left>0.0000</percent_left>
850
+ <percent_right>0.0000</percent_right>
851
+ <ymin_type_1>0</ymin_type_1>
852
+ <ymax_type_1>0</ymax_type_1>
853
+ <ymin_item_1>0</ymin_item_1>
854
+ <ymax_item_1>0</ymax_item_1>
855
+ <graph_items>
856
+ <graph_item>
857
+ <sortorder>1</sortorder>
858
+ <drawtype>0</drawtype>
859
+ <color>CCCCFF</color>
860
+ <yaxisside>0</yaxisside>
861
+ <calc_fnc>2</calc_fnc>
862
+ <type>0</type>
863
+ <item>
864
+ <host>Disk Stats</host>
865
+ <key>disk.space[{#DISK_DEVICE},available]</key>
866
+ </item>
867
+ </graph_item>
868
+ <graph_item>
869
+ <sortorder>0</sortorder>
870
+ <drawtype>0</drawtype>
871
+ <color>FF6666</color>
872
+ <yaxisside>0</yaxisside>
873
+ <calc_fnc>2</calc_fnc>
874
+ <type>0</type>
875
+ <item>
876
+ <host>Disk Stats</host>
877
+ <key>disk.space[{#DISK_DEVICE},used]</key>
878
+ </item>
879
+ </graph_item>
880
+ </graph_items>
881
+ </graph_prototype>
882
+ </graph_prototypes>
883
+ </discovery_rule>
884
+ </discovery_rules>
885
+ <macros/>
886
+ <templates/>
887
+ <screens/>
888
+ </template>
889
+ </templates>
890
+ </zabbix_export>