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