Merge branch 'collectd-4.6' into collectd-4.7
[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 dns_opcode>
128   DataSources value
129   DSName "value Queries/s"
130   RRDTitle "DNS Opcode {type_instance}"
131   RRDVerticalLabel "Queries/s"
132   RRDFormat "%6.1lf"
133 </Type>
134 <Type conntrack>
135   DataSources conntrack
136   DSName conntrack Conntrack count
137   RRDTitle "nf_conntrack connections on {hostname}"
138   RRDVerticalLabel "Count"
139   RRDFormat "%4.0lf"
140 </Type>
141 <Type entropy>
142   DataSources entropy
143   DSName entropy Entropy bits
144   RRDTitle "Available entropy on {hostname}"
145   RRDVerticalLabel "Bits"
146   RRDFormat "%4.0lf"
147 </Type>
148 <Type fanspeed>
149   DataSources value
150   DSName value RPM
151   RRDTitle "Fanspeed ({instance})"
152   RRDVerticalLabel "RPM"
153   RRDFormat "%6.1lf"
154   Color value 00b000
155 </Type>
156 <Type frequency>
157   DataSources frequency
158   DSName frequency Frequency
159   RRDTitle "Frequency ({type_instance})"
160   RRDVerticalLabel "Hertz"
161   RRDFormat "%4.1lfHz"
162   Color frequency a000a0
163 </Type>
164 <Type humidity>
165   DataSources value
166   DSName value Humitidy
167   RRDTitle "Humitidy ({instance})"
168   RRDVerticalLabel "Percent"
169   RRDFormat "%4.1lf%%"
170   Color value 00e000
171 </Type>
172 <Type if_errors>
173   Module GenericIO
174   DataSources rx tx
175   DSName rx RX
176   DSName tx TX
177   RRDTitle "Interface Errors ({type_instance})"
178   RRDVerticalLabel "Errors per second"
179 # RRDOptions ...
180   RRDFormat "%.3lf"
181 </Type>
182 <Type if_rx_errors>
183   Module GenericStacked
184   DataSources value
185   RRDTitle "Interface receive errors ({plugin_instance})"
186   RRDVerticalLabel "Erorrs/s"
187   RRDFormat "%.1lf"
188   Color length  f00000
189   Color over    00e0ff
190   Color crc     00e000
191   Color frame   ffb000
192   Color fifo    f000c0
193   Color missed  0000f0
194 </Type>
195 <Type if_tx_errors>
196   Module GenericStacked
197   DataSources value
198   RRDTitle "Interface transmit errors ({plugin_instance})"
199   RRDVerticalLabel "Erorrs/s"
200   RRDFormat "%.1lf"
201   Color aborted   f00000
202   Color carrier   00e0ff
203   Color fifo      00e000
204   Color heartbeat ffb000
205   Color window    f000c0
206 </Type>
207 <Type if_octets>
208   Module GenericIO
209   DataSources rx tx
210   DSName rx RX
211   DSName tx TX
212   RRDTitle "Interface Traffic ({instance})"
213   RRDVerticalLabel "Bits per second"
214 # RRDOptions ...
215   RRDFormat "%5.1lf%s"
216   Scale 8
217 </Type>
218 <Type if_packets>
219   Module GenericIO
220   DataSources rx tx
221   DSName rx RX
222   DSName tx TX
223   RRDTitle "Interface Packets ({type_instance})"
224   RRDVerticalLabel "Packets per second"
225 # RRDOptions ...
226   RRDFormat "%5.1lf%s"
227 </Type>
228 <Type io_octets>
229   Module GenericIO
230   DataSources rx tx
231   DSName "rx Read   "
232   DSName "tx Written"
233   RRDTitle "IO Traffic ({instance})"
234   RRDVerticalLabel "Bytes per second"
235 # RRDOptions ...
236   RRDFormat "%5.1lf%s"
237 </Type>
238 <Type ipt_bytes>
239   DataSources value
240   DSName value Bytes/s
241   RRDTitle "Traffic ({type_instance})"
242   RRDVerticalLabel "Bytes per second"
243 # RRDOptions ...
244   RRDFormat "%5.1lf%s"
245 </Type>
246 <Type ipt_packets>
247   DataSources value
248   DSName value Packets/s
249   RRDTitle "Packets ({type_instance})"
250   RRDVerticalLabel "Packets per second"
251 # RRDOptions ...
252   RRDFormat "%5.1lf"
253 </Type>
254 <Type irq>
255   Module GenericStacked
256   DataSources value
257   RRDTitle "Interrupts on {hostname}"
258   RRDVerticalLabel "IRQs/s"
259   RRDFormat "%5.1lf"
260 </Type>
261 <Type load>
262   Module Load
263 </Type>
264 <Type java_memory>
265   Module JavaMemory
266   DataSources value
267 </Type>
268 <Type memory>
269   Module GenericStacked
270   DataSources value
271   RRDTitle "Physical memory utilization on {hostname}"
272   RRDVerticalLabel "Bytes"
273   RRDFormat "%5.1lf%s"
274   RRDOptions -b 1024 -l 0
275   DSName     "free Free    "
276   DSName   "cached Cached  "
277   DSName "buffered Buffered"
278   DSName   "locked Locked  "
279   DSName     "used Used    "
280   #Order used buffered cached free
281   Order free cached buffered used
282   Color free      00e000
283   Color cached    0000ff
284   Color buffered  ffb000
285   Color locked    ff00ff
286   Color used      ff0000
287 </Type>
288 <Type mysql_commands>
289   Module GenericStacked
290   DataSources value
291   RRDTitle "MySQL commands ({plugin_instance})"
292   RRDVerticalLabel "Invocations"
293   RRDFormat "%6.2lf"
294
295
296   DSName admin_commands admin_commands
297   DSName alter_table alter_table
298   DSName begin begin
299   DSName change_db change_db
300   DSName check check
301   DSName commit commit
302   DSName create_db create_db
303   DSName create_table create_table
304   DSName delete delete
305   DSName drop_db drop_db
306   DSName drop_table drop_table
307   DSName flush flush
308   DSName grant grant
309   DSName insert insert
310   DSName insert_select insert_select
311   DSName lock_tables lock_tables
312   DSName optimize optimize
313   DSName rename_table rename_table
314   DSName replace replace
315   DSName revoke revoke
316   DSName select select
317   DSName set_option set_option
318   DSName show_create_table show_create_table
319   DSName show_databases show_databases
320   DSName show_fields show_fields
321   DSName show_keys show_keys
322   DSName show_master_status show_master_status
323   DSName show_processlist show_processlist
324   DSName show_slave_hosts show_slave_hosts
325   DSName show_status show_status
326   DSName show_tables show_tables
327   DSName show_triggers show_triggers
328   DSName show_variables show_variables
329   DSName unlock_tables unlock_tables
330   DSName update update
331   DSName update_multi update_multi
332
333   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
334
335   Color admin_commands ff0000
336   Color alter_table ff002a
337   Color begin ff0055
338   Color change_db ff007f
339   Color check ff00aa
340   Color commit ff00d4
341   Color create_db ff00ff
342   Color create_table d400ff
343   Color delete aa00ff
344   Color drop_db 7f00ff
345   Color drop_table 5400ff
346   Color flush 2a00ff
347   Color grant 0000ff
348   Color insert 002aff
349   Color insert_select 0055ff
350   Color lock_tables 007fff
351   Color optimize 00a9ff
352   Color rename_table 00d4ff
353   Color replace 00ffff
354   Color revoke 00ffd4
355   Color select 00ffa9
356   Color set_option 00ff7f
357   Color show_create_table 00ff55
358   Color show_databases 00ff2a
359   Color show_fields 00ff00
360   Color show_keys 2aff00
361   Color show_master_status 54ff00
362   Color show_processlist 7fff00
363   Color show_slave_hosts aaff00
364   Color show_status d4ff00
365   Color show_tables ffff00
366   Color show_triggers ffd400
367   Color show_variables ffaa00
368   Color unlock_tables ff7f00
369   Color update ff5400
370   Color update_multi ff2a00
371 </Type>
372 <Type mysql_handler>
373   Module GenericStacked
374   DataSources value
375   RRDTitle "MySQL handler ({plugin_instance})"
376   RRDVerticalLabel "Invocations"
377   RRDFormat "%6.2lf"
378   DSName commit commit
379   DSName delete delete
380   DSName read_first read_first
381   DSName read_key read_key
382   DSName read_next read_next
383   DSName read_prev read_prev
384   DSName read_rnd read_rnd
385   DSName read_rnd_next read_rnd_next
386   DSName update update
387   DSName write write
388   Order commit delete read_first read_key read_next read_prev read_rnd read_rnd_next update write
389   Color commit ff0000
390   Color delete ff0099
391   Color read_first cc00ff
392   Color read_key 3200ff
393   Color read_next 0065ff
394   Color read_prev 00ffff
395   Color read_rnd 00ff65
396   Color read_rnd_next 33ff00
397   Color update cbff00
398   Color write ff9800
399 </Type>
400 <Type mysql_octets>
401   Module GenericIO
402   DataSources rx tx
403   DSName rx RX
404   DSName tx TX
405   RRDTitle "MySQL Traffic ({plugin_instance})"
406   RRDVerticalLabel "Bits per second"
407   RRDFormat "%5.1lf%s"
408   Scale 8
409 </Type>
410 <Type percent>
411   DataSources percent
412   DSName percent Percent
413   RRDTitle "Percent ({type_instance})"
414   RRDVerticalLabel "Percent"
415   RRDFormat "%4.1lf%%"
416   Color percent 0000ff
417 </Type>
418 <Type ping>
419   DataSources ping
420   DSName "ping Latency"
421   RRDTitle "Network latency ({type_instance})"
422   RRDVerticalLabel "Milliseconds"
423   RRDFormat "%5.2lfms"
424 </Type>
425 <Type power>
426   DataSources value
427   DSName value Watts
428   RRDTitle "Power ({type_instance})"
429   RRDVerticalLabel "Watts"
430   RRDFormat "%6.2lf%sW"
431   Color value 008080
432 </Type>
433 <Type ps_cputime>
434   Module PsCputime
435 </Type>
436 <Type ps_rss>
437   DataSources value
438   DSName value RSS
439   RRDTitle "Resident Segment Size ({instance})"
440   RRDVerticalLabel "Bytes"
441   RRDFormat "%6.2lf%s"
442 </Type>
443 <Type ps_state>
444   Module GenericStacked
445   DataSources value
446   RRDTitle "Processes on {hostname}"
447   RRDVerticalLabel "Processes"
448   RRDFormat "%5.1lf"
449   DSName running  Running
450   DSName sleeping Sleeping
451   DSName paging   Paging
452   DSName zombies  Zombies
453   DSName blocked  Blocked
454   DSName stopped  Stopped
455   Order paging blocked zombies stopped running sleeping
456   Color running  00e000
457   Color sleeping 0000ff
458   Color paging   ffb000
459   Color zombies  ff0000
460   Color blocked  ff00ff
461   Color stopped  a000a0
462 </Type>
463 <Type swap>
464   Module GenericStacked
465   DataSources value
466   RRDTitle "Swap utilization on {hostname}"
467   RRDVerticalLabel "Bytes"
468   RRDFormat "%5.1lf%s"
469   RRDOptions -b 1024 -l 0
470   DSName     "free Free    "
471   DSName   "cached Cached  "
472   DSName     "used Used    "
473   #Order used cached free
474   Order free cached used
475   Color free      00e000
476   Color cached    0000ff
477   Color used      ff0000
478 </Type>
479 <Type table_size>
480   Module TableSize
481   DataSources value
482   DSName value Bytes
483   RRDTitle "Table size ({instance})"
484   RRDVerticalLabel "Size [Bytes]"
485 # RRDOptions ...
486   RRDFormat "%5.1lf%s"
487 </Type>
488 <Type tcp_connections>
489   Module GenericStacked
490   DataSources value
491   RRDTitle "TCP connections ({plugin_instance})"
492   RRDVerticalLabel "Connections"
493   RRDFormat "%5.1lf"
494   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
495   Color ESTABLISHED 00e000
496   Color SYN_SENT   00e0ff
497   Color SYN_RECV   00e0a0
498   Color FIN_WAIT1  f000f0
499   Color FIN_WAIT2  f000a0
500   Color TIME_WAIT  ffb000
501   Color CLOSE      0000f0
502   Color CLOSE_WAIT 0000a0
503   Color LAST_ACK   000080
504   Color LISTEN     ff0000
505   Color CLOSING    000000
506   Color CLOSED     0000f0
507 </Type>
508 <Type temperature>
509   DataSources value
510   DSName value Temp
511   RRDTitle "Temperature ({instance})"
512   RRDVerticalLabel "°Celsius"
513   RRDFormat "%4.1lf°C"
514 </Type>
515 <Type total_time_in_ms>
516   DataSources value
517   DSName "value Time"
518   RRDTitle "Time {instance}"
519   RRDVerticalLabel "Seconds"
520   RRDFormat "%6.2lf %ss"
521   Scale 0.001
522 </Type>
523 <Type users>
524   DataSources users
525   DSName users Users
526   RRDTitle "Users ({type_instance}) on {hostname}"
527   RRDVerticalLabel "Users"
528   RRDFormat "%.1lf"
529   Color users 0000f0
530 </Type>
531 <Type voltage>
532   DataSources value
533   DSName value Volts
534   RRDTitle "Voltage ({type_instance})"
535   RRDVerticalLabel "Volts"
536   RRDFormat "%4.1lfV"
537   Color value f00000
538 </Type>
539 <Type wirkleistung>
540   Module Wirkleistung
541   DataSources kWh
542   DSName value Wh
543   RRDTitle "Watt"
544   RRDVerticalLabel "W"
545   RRDFormat "%4.1lfW"
546 </Type>
547 # vim: set sw=2 sts=2 et syntax=apache fileencoding=utf-8 :