Merge branch 'collectd-4.6'
[collectd.git] / contrib / collection3 / etc / collection.conf
1 #DataDir "/var/lib/collectd/rrd"
2 GraphWidth 400
3 #UnixSockAddr "/var/run/collectd-unixsock"
4 <Type apache_bytes>
5   DataSources count
6   DSName "count Bytes/s"
7   RRDTitle "Apache Traffic"
8   RRDVerticalLabel "Bytes/s"
9   RRDFormat "%5.1lf%s"
10   Color count 0000ff
11 </Type>
12 <Type apache_requests>
13   DataSources count
14   DSName "count Requests/s"
15   RRDTitle "Apache Traffic"
16   RRDVerticalLabel "Requests/s"
17   RRDFormat "%5.2lf"
18   Color count 00d000
19 </Type>
20 <Type apache_scoreboard>
21   Module GenericStacked
22   DataSources count
23   RRDTitle "Apache scoreboard on {hostname}"
24   RRDVerticalLabel "Slots"
25   RRDFormat "%6.2lf"
26   DSName closing Closing
27   DSName dnslookup DNS lookup
28   DSName finishing Finishing
29   DSName idle_cleanup Idle cleanup
30   DSName keepalive Keep alive
31   DSName logging Logging
32   DSName open Open (empty)
33   DSName reading Reading
34   DSName sending Sending
35   DSName starting Starting
36   DSName waiting Waiting
37   Order open closing dnslookup finishing idle_cleanup keepalive logging open reading sending starting waiting
38   Color closing      000080
39   Color dnslookup    ff0000
40   Color finishing    008080
41   Color idle_cleanup ffff00
42   Color keepalive    0080ff
43   Color logging      a000a0
44   Color open         e0e0e0
45   Color reading      0000ff
46   Color sending      00e000
47   Color starting     ff00ff
48   Color waiting      ffb000
49 </Type>
50 <Type cpu>
51   Module GenericStacked
52   DataSources value
53   RRDTitle "CPU {plugin_instance} usage"
54   RRDVerticalLabel "Jiffies"
55   RRDFormat "%5.2lf"
56   DSName idle Idle
57   DSName nice Nice
58   DSName user User
59   DSName wait Wait-IO
60   DSName system System
61   DSName softirq SoftIRQ
62   DSName interrupt IRQ
63   DSName steal Steal
64   Order idle nice user wait system softirq interrupt steal
65   Color idle      e8e8e8
66   Color nice      00e000
67   Color user      0000ff
68   Color wait      ffb000
69   Color system    ff0000
70   Color softirq   ff00ff
71   Color interrupt a000a0
72   Color steal     000000
73 </Type>
74 <Type current>
75   DataSources value
76   DSName value Current
77   RRDTitle "Current ({type_instance})"
78   RRDVerticalLabel "Ampere"
79   RRDFormat "%4.1lfA"
80   Color value ffb000
81 </Type>
82 <Type df>
83   Module Df
84   DataSources free used
85 </Type>
86 <Type disk_octets>
87   Module GenericIO
88   DataSources read write
89   DSName "read Read   "
90   DSName write Written
91   RRDTitle "Disk Traffic ({instance})"
92   RRDVerticalLabel "Bytes per second"
93 # RRDOptions ...
94   RRDFormat "%5.1lf%s"
95 </Type>
96 <Type disk_ops>
97   Module GenericIO
98   DataSources read write
99   DSName "read Read   "
100   DSName write Written
101   RRDTitle "Disk Operations ({instance})"
102   RRDVerticalLabel "Operations per second"
103 # RRDOptions ...
104   RRDFormat "%5.1lf"
105 </Type>
106 <Type disk_merged>
107   Module GenericIO
108   DataSources read write
109   DSName "read Read   "
110   DSName write Written
111   RRDTitle "Disk Merged Operations ({instance})"
112   RRDVerticalLabel "Merged operations/s"
113 # RRDOptions ...
114   RRDFormat "%5.1lf"
115 </Type>
116 <Type disk_time>
117   Module GenericIO
118   DataSources read write
119   DSName "read Read   "
120   DSName write Written
121   RRDTitle "Disk time per operation ({instance})"
122   RRDVerticalLabel "Avg. Time/Op"
123 # RRDOptions ...
124   RRDFormat "%5.1lf%ss"
125   Scale 0.001
126 </Type>
127 <Type entropy>
128   DataSources entropy
129   DSName entropy Entropy bits
130   RRDTitle "Available entropy on {hostname}"
131   RRDVerticalLabel "Bits"
132   RRDFormat "%4.0lf"
133 </Type>
134 <Type fanspeed>
135   DataSources value
136   DSName value RPM
137   RRDTitle "Fanspeed ({instance})"
138   RRDVerticalLabel "RPM"
139   RRDFormat "%6.1lf"
140   Color value 00b000
141 </Type>
142 <Type frequency>
143   DataSources frequency
144   DSName frequency Frequency
145   RRDTitle "Frequency ({type_instance})"
146   RRDVerticalLabel "Hertz"
147   RRDFormat "%4.1lfHz"
148   Color frequency a000a0
149 </Type>
150 <Type humidity>
151   DataSources value
152   DSName value Humitidy
153   RRDTitle "Humitidy ({instance})"
154   RRDVerticalLabel "Percent"
155   RRDFormat "%4.1lf%%"
156   Color value 00e000
157 </Type>
158 <Type if_errors>
159   Module GenericIO
160   DataSources rx tx
161   DSName rx RX
162   DSName tx TX
163   RRDTitle "Interface Errors ({type_instance})"
164   RRDVerticalLabel "Errors per second"
165 # RRDOptions ...
166   RRDFormat "%.3lf"
167 </Type>
168 <Type if_rx_errors>
169   Module GenericStacked
170   DataSources value
171   RRDTitle "Interface receive errors ({plugin_instance})"
172   RRDVerticalLabel "Erorrs/s"
173   RRDFormat "%.1lf"
174   Color length  f00000
175   Color over    00e0ff
176   Color crc     00e000
177   Color frame   ffb000
178   Color fifo    f000c0
179   Color missed  0000f0
180 </Type>
181 <Type if_tx_errors>
182   Module GenericStacked
183   DataSources value
184   RRDTitle "Interface transmit errors ({plugin_instance})"
185   RRDVerticalLabel "Erorrs/s"
186   RRDFormat "%.1lf"
187   Color aborted   f00000
188   Color carrier   00e0ff
189   Color fifo      00e000
190   Color heartbeat ffb000
191   Color window    f000c0
192 </Type>
193 <Type if_octets>
194   Module GenericIO
195   DataSources rx tx
196   DSName rx RX
197   DSName tx TX
198   RRDTitle "Interface Traffic ({type_instance})"
199   RRDVerticalLabel "Bits per second"
200 # RRDOptions ...
201   RRDFormat "%5.1lf%s"
202   Scale 8
203 </Type>
204 <Type if_packets>
205   Module GenericIO
206   DataSources rx tx
207   DSName rx RX
208   DSName tx TX
209   RRDTitle "Interface Packets ({type_instance})"
210   RRDVerticalLabel "Packets per second"
211 # RRDOptions ...
212   RRDFormat "%5.1lf%s"
213 </Type>
214 <Type ipt_bytes>
215   DataSources value
216   DSName value Bytes/s
217   RRDTitle "Traffic ({type_instance})"
218   RRDVerticalLabel "Bytes per second"
219 # RRDOptions ...
220   RRDFormat "%5.1lf%s"
221 </Type>
222 <Type ipt_packets>
223   DataSources value
224   DSName value Packets/s
225   RRDTitle "Packets ({type_instance})"
226   RRDVerticalLabel "Packets per second"
227 # RRDOptions ...
228   RRDFormat "%5.1lf"
229 </Type>
230 <Type irq>
231   Module GenericStacked
232   DataSources value
233   RRDTitle "Interrupts on {hostname}"
234   RRDVerticalLabel "IRQs/s"
235   RRDFormat "%5.1lf"
236 </Type>
237 <Type load>
238   Module Load
239 </Type>
240 <Type memory>
241   Module GenericStacked
242   DataSources value
243   RRDTitle "Physical memory utilization on {hostname}"
244   RRDVerticalLabel "Bytes"
245   RRDFormat "%5.1lf%s"
246   RRDOptions -b 1024 -l 0
247   DSName     "free Free    "
248   DSName   "cached Cached  "
249   DSName "buffered Buffered"
250   DSName     "used Used    "
251   #Order used buffered cached free
252   Order free cached buffered used
253   Color free      00e000
254   Color cached    0000ff
255   Color buffered  ffb000
256   Color used      ff0000
257 </Type>
258 <Type mysql_commands>
259   Module GenericStacked
260   DataSources value
261   RRDTitle "MySQL commands"
262   RRDVerticalLabel "Invocations"
263   RRDFormat "%6.2lf"
264
265   DSName admin_commands admin_commands
266   DSName alter_table alter_table
267   DSName begin begin
268   DSName change_db change_db
269   DSName check check
270   DSName commit commit
271   DSName create_db create_db
272   DSName create_table create_table
273   DSName delete delete
274   DSName drop_db drop_db
275   DSName drop_table drop_table
276   DSName flush flush
277   DSName grant grant
278   DSName insert insert
279   DSName insert_select insert_select
280   DSName lock_tables lock_tables
281   DSName optimize optimize
282   DSName rename_table rename_table
283   DSName replace replace
284   DSName revoke revoke
285   DSName select select
286   DSName set_option set_option
287   DSName show_create_table show_create_table
288   DSName show_databases show_databases
289   DSName show_fields show_fields
290   DSName show_keys show_keys
291   DSName show_master_status show_master_status
292   DSName show_processlist show_processlist
293   DSName show_slave_hosts show_slave_hosts
294   DSName show_status show_status
295   DSName show_tables show_tables
296   DSName show_triggers show_triggers
297   DSName show_variables show_variables
298   DSName unlock_tables unlock_tables
299   DSName update update
300   DSName update_multi update_multi
301
302   Order admin_commands alter_table begin change_db check commit create_db create_table delete drop_db drop_table flush grant insert insert_select lock_tables optimize rename_table replace revoke select set_option show_create_table show_databases show_fields show_keys show_master_status show_processlist show_slave_hosts show_status show_tables show_triggers show_variables unlock_tables update update_multi
303
304   Color admin_commands ff0000
305   Color alter_table ff002a
306   Color begin ff0055
307   Color change_db ff007f
308   Color check ff00aa
309   Color commit ff00d4
310   Color create_db ff00ff
311   Color create_table d400ff
312   Color delete aa00ff
313   Color drop_db 7f00ff
314   Color drop_table 5400ff
315   Color flush 2a00ff
316   Color grant 0000ff
317   Color insert 002aff
318   Color insert_select 0055ff
319   Color lock_tables 007fff
320   Color optimize 00a9ff
321   Color rename_table 00d4ff
322   Color replace 00ffff
323   Color revoke 00ffd4
324   Color select 00ffa9
325   Color set_option 00ff7f
326   Color show_create_table 00ff55
327   Color show_databases 00ff2a
328   Color show_fields 00ff00
329   Color show_keys 2aff00
330   Color show_master_status 54ff00
331   Color show_processlist 7fff00
332   Color show_slave_hosts aaff00
333   Color show_status d4ff00
334   Color show_tables ffff00
335   Color show_triggers ffd400
336   Color show_variables ffaa00
337   Color unlock_tables ff7f00
338   Color update ff5400
339   Color update_multi ff2a00
340 </Type>
341 <Type mysql_handler>
342   Module GenericStacked
343   DataSources value
344   RRDTitle "MySQL handler"
345   RRDVerticalLabel "Invocations"
346   RRDFormat "%6.2lf"
347   DSName commit commit
348   DSName delete delete
349   DSName read_first read_first
350   DSName read_key read_key
351   DSName read_next read_next
352   DSName read_prev read_prev
353   DSName read_rnd read_rnd
354   DSName read_rnd_next read_rnd_next
355   DSName update update
356   DSName write write
357   Order commit delete read_first read_key read_next read_prev read_rnd read_rnd_next update write
358   Color commit ff0000
359   Color delete ff0099
360   Color read_first cc00ff
361   Color read_key 3200ff
362   Color read_next 0065ff
363   Color read_prev 00ffff
364   Color read_rnd 00ff65
365   Color read_rnd_next 33ff00
366   Color update cbff00
367   Color write ff9800
368 </Type>
369 <Type mysql_octets>
370   Module GenericIO
371   DataSources rx tx
372   DSName rx RX
373   DSName tx TX
374   RRDTitle "MySQL Traffic"
375   RRDVerticalLabel "Bits per second"
376   RRDFormat "%5.1lf%s"
377   Scale 8
378 </Type>
379 <Type percent>
380   DataSources percent
381   DSName percent Percent
382   RRDTitle "Percent ({type_instance})"
383   RRDVerticalLabel "Percent"
384   RRDFormat "%4.1lf%%"
385   Color percent 0000ff
386 </Type>
387 <Type ping>
388   DataSources ping
389   DSName "ping Latency"
390   RRDTitle "Network latency ({type_instance})"
391   RRDVerticalLabel "Milliseconds"
392   RRDFormat "%5.2lfms"
393 </Type>
394 <Type power>
395   DataSources value
396   DSName value Watts
397   RRDTitle "Power ({type_instance})"
398   RRDVerticalLabel "Watts"
399   RRDFormat "%6.2lf%sW"
400   Color value 008080
401 </Type>
402 <Type ps_rss>
403   DataSources value
404   DSName value RSS
405   RRDTitle "Resident Segment Size ({instance})"
406   RRDVerticalLabel "Bytes"
407   RRDFormat "%6.2lf%s"
408 </Type>
409 <Type ps_state>
410   Module GenericStacked
411   DataSources value
412   RRDTitle "Processes on {hostname}"
413   RRDVerticalLabel "Processes"
414   RRDFormat "%5.1lf%s"
415   DSName running  Running
416   DSName sleeping Sleeping
417   DSName paging   Paging
418   DSName zombies  Zombies
419   DSName blocked  Blocked
420   DSName stopped  Stopped
421   Order paging blocked zombies stopped running sleeping
422   Color running  00e000
423   Color sleeping 0000ff
424   Color paging   ffb000
425   Color zombies  ff0000
426   Color blocked  ff00ff
427   Color stopped  a000a0
428 </Type>
429 <Type swap>
430   Module GenericStacked
431   DataSources value
432   RRDTitle "Swap utilization on {hostname}"
433   RRDVerticalLabel "Bytes"
434   RRDFormat "%5.1lf%s"
435   RRDOptions -b 1024 -l 0
436   DSName     "free Free    "
437   DSName   "cached Cached  "
438   DSName     "used Used    "
439   #Order used cached free
440   Order free cached used
441   Color free      00e000
442   Color cached    0000ff
443   Color used      ff0000
444 </Type>
445 <Type tcp_connections>
446   Module GenericStacked
447   DataSources value
448   RRDTitle "TCP connections ({plugin_instance})"
449   RRDVerticalLabel "Connections"
450   RRDFormat "%5.1lf"
451   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
452   Color ESTABLISHED 00e000
453   Color SYN_SENT   00e0ff
454   Color SYN_RECV   00e0a0
455   Color FIN_WAIT1  f000f0
456   Color FIN_WAIT2  f000a0
457   Color TIME_WAIT  ffb000
458   Color CLOSE      0000f0
459   Color CLOSE_WAIT 0000a0
460   Color LAST_ACK   000080
461   Color LISTEN     ff0000
462   Color CLOSING    000000
463   Color CLOSED     0000f0
464 </Type>
465 <Type temperature>
466   DataSources value
467   DSName value Temp
468   RRDTitle "Temperature ({instance})"
469   RRDVerticalLabel "°Celsius"
470   RRDFormat "%4.1lf°C"
471 </Type>
472 <Type users>
473   DataSources users
474   DSName users Users
475   RRDTitle "Users ({type_instance}) on {hostname}"
476   RRDVerticalLabel "Users"
477   RRDFormat "%.1lf"
478   Color users 0000f0
479 </Type>
480 <Type voltage>
481   DataSources value
482   DSName value Volts
483   RRDTitle "Voltage ({type_instance})"
484   RRDVerticalLabel "Volts"
485   RRDFormat "%4.1lfV"
486   Color value f00000
487 </Type>
488 # vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 :