contrib/collection3: Improve configuration for "df_complex".
[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 arc_counts>
51   Module ArcCounts
52   RRDTitle "ARC {type_instance} on {hostname}"
53 # RRDOptions ...
54 </Type>
55 <Type arc_l2_bytes>
56   Module GenericIO
57   DataSources read write
58   DSName  "read Read   "
59   DSName "write Written"
60   RRDTitle "L2ARC traffic"
61   RRDVerticalLabel "Bytes per second"
62 # RRDOptions ...
63   RRDFormat "%5.1lf%s"
64 </Type>
65 <Type arc_l2_size>
66   RRDTitle "L2ARC size on {hostname}"
67   RRDVerticalLabel "Size"
68   RRDFormat "%4.0lf%s"
69   RRDOptions -b 1024
70   DSName "value Current size"
71   Color value  00e000
72 </Type>
73 <Type arc_size>
74   DataSources "current target minlimit maxlimit"
75   RRDTitle "ARC size on {hostname}"
76   RRDVerticalLabel "Size"
77   RRDFormat "%4.0lf%s"
78   RRDOptions -b 1024
79   DSName  "current Current size"
80   DSName   "target Target size "
81   DSName "maxlimit Max size    "
82   DSName "minlimit Min size    "
83   Color current  00e000
84   Color target   0000ff
85   Color minlimit ff0000
86   Color maxlimit ff00ff
87 </Type>
88 <Type arc_ratio>
89   DataSources value
90   RRDTitle "{type_instance}ARC ratio on {hostname}"
91   RRDVerticalLabel "Ratio"
92   RRDFormat "%4.1lf"
93   RRDOptions -l 0
94   DSName "value Hit ratio"
95 </Type>
96 <Type cache_ratio>
97   DataSources value
98   DSName value Percent
99   RRDTitle "Cache hit ratio for {plugin_instance} {type_instance}"
100   RRDVerticalLabel "Percent"
101   RRDFormat "%5.1lf %%"
102 </Type>
103 <Type cpu>
104   Module GenericStacked
105   DataSources value
106   RRDTitle "CPU {plugin_instance} usage"
107   RRDVerticalLabel "Jiffies"
108   RRDFormat "%5.2lf"
109   DSName idle Idle
110   DSName nice Nice
111   DSName user User
112   DSName wait Wait-IO
113   DSName system System
114   DSName softirq SoftIRQ
115   DSName interrupt IRQ
116   DSName steal Steal
117   Order idle nice user wait system softirq interrupt steal
118   Color idle      e8e8e8
119   Color nice      00e000
120   Color user      0000ff
121   Color wait      ffb000
122   Color system    ff0000
123   Color softirq   ff00ff
124   Color interrupt a000a0
125   Color steal     000000
126 </Type>
127 <Type current>
128   DataSources value
129   DSName value Current
130   RRDTitle "Current ({type_instance})"
131   RRDVerticalLabel "Ampere"
132   RRDFormat "%4.1lfA"
133   Color value ffb000
134 </Type>
135 <Type df>
136   Module Df
137   DataSources free used
138 </Type>
139 <Type df_complex>
140   Module GenericStacked
141   DataSources value
142   RRDTitle "Disk/Volume usage on {plugin_instance}"
143   RRDVerticalLabel "Byte"
144   RRDFormat "%5.1lf%s"
145   DSName "sis_saved         SIS saved         "
146   DSName "free              Free              "
147   DSName "used              Used              "
148   DSName "snap_normal_used  Snap used (normal)"
149   DSName "snap_reserved     Snap reserved     "
150   DSName "snap_reserve_used Snap used (resv)  "
151   Order sis_saved free used snap_normal_used snap_reserved snap_reserve_used
152   Color sis_saved 00e0e0
153   Color free  00ff00
154   Color snap_reverse   ff8000
155   Color used  ff0000
156   Color snap_normal_used  c10640
157   Color snap_reserved     f15aef
158   Color snap_reserve_used 820c81
159 </Type>
160 <Type disk_latency>
161   Module GenericIO
162   DataSources read write
163   DSName "read Read "
164   DSName write Write
165   RRDTitle "Disk Latency for {plugin_instance}"
166   RRDVerticalLabel "seconds"
167   Scale 0.000001
168   RRDFormat "%5.1lf %ss"
169 </Type>
170 <Type disk_octets>
171   Module GenericIO
172   DataSources read write
173   DSName "read Read   "
174   DSName write Written
175   RRDTitle "Disk Traffic ({instance})"
176   RRDVerticalLabel "Bytes per second"
177 # RRDOptions ...
178   RRDFormat "%5.1lf%s"
179 </Type>
180 <Type disk_ops>
181   Module GenericIO
182   DataSources read write
183   DSName "read Read   "
184   DSName write Written
185   RRDTitle "Disk Operations ({instance})"
186   RRDVerticalLabel "Operations per second"
187 # RRDOptions ...
188   RRDFormat "%5.1lf"
189 </Type>
190 <Type disk_ops_complex>
191   Module GenericStacked
192   DataSources value
193   RRDTitle "Netapp disc ops on {plugin_instance}"
194   RRDVerticalLabel "Ops"
195   RRDFormat "%6.2lf"
196   DSName fcp_ops   FCP-Ops
197   DSName nfs_ops   NFS-Ops
198   DSName http_ops  HTTP-Ops
199   DSName cifs_ops  CIFS-Ops
200   DSName dafs_ops  DAFS-Ops
201   DSName iscsi_ops iSCSI-Ops
202   Order fcp_ops nfs_ops http_ops cifs_ops dafs_ops iscsi_ops
203   Color fcp_ops    000080
204   Color nfs_ops    ff0000
205   Color http_ops   ffb000
206   Color cifs_ops   00e0a0
207   Color dafs_ops   00e000
208   Color iscsi_ops  00e0ff
209 </Type>
210 <Type disk_merged>
211   Module GenericIO
212   DataSources read write
213   DSName "read Read   "
214   DSName write Written
215   RRDTitle "Disk Merged Operations ({instance})"
216   RRDVerticalLabel "Merged operations/s"
217 # RRDOptions ...
218   RRDFormat "%5.1lf"
219 </Type>
220 <Type disk_time>
221   Module GenericIO
222   DataSources read write
223   DSName "read Read   "
224   DSName write Written
225   RRDTitle "Disk time per operation ({instance})"
226   RRDVerticalLabel "Avg. Time/Op"
227 # RRDOptions ...
228   RRDFormat "%5.1lf%ss"
229   Scale 0.001
230 </Type>
231 <Type dns_opcode>
232   DataSources value
233   DSName "value Queries/s"
234   RRDTitle "DNS Opcode {type_instance}"
235   RRDVerticalLabel "Queries/s"
236   RRDFormat "%6.1lf"
237 </Type>
238 <Type conntrack>
239   DataSources conntrack
240   DSName conntrack Conntrack count
241   RRDTitle "nf_conntrack connections on {hostname}"
242   RRDVerticalLabel "Count"
243   RRDFormat "%4.0lf"
244 </Type>
245 <Type entropy>
246   DataSources entropy
247   DSName entropy Entropy bits
248   RRDTitle "Available entropy on {hostname}"
249   RRDVerticalLabel "Bits"
250   RRDFormat "%4.0lf"
251 </Type>
252 <Type fanspeed>
253   DataSources value
254   DSName value RPM
255   RRDTitle "Fanspeed ({instance})"
256   RRDVerticalLabel "RPM"
257   RRDFormat "%6.1lf"
258   Color value 00b000
259 </Type>
260 <Type frequency>
261   DataSources frequency
262   DSName frequency Frequency
263   RRDTitle "Frequency ({type_instance})"
264   RRDVerticalLabel "Hertz"
265   RRDFormat "%4.1lfHz"
266   Color frequency a000a0
267 </Type>
268 <Type humidity>
269   DataSources value
270   DSName value Humitidy
271   RRDTitle "Humitidy ({instance})"
272   RRDVerticalLabel "Percent"
273   RRDFormat "%4.1lf%%"
274   Color value 00e000
275 </Type>
276 <Type if_errors>
277   Module GenericIO
278   DataSources rx tx
279   DSName rx RX
280   DSName tx TX
281   RRDTitle "Interface Errors ({type_instance})"
282   RRDVerticalLabel "Errors per second"
283 # RRDOptions ...
284   RRDFormat "%.3lf"
285 </Type>
286 <Type if_rx_errors>
287   Module GenericStacked
288   DataSources value
289   RRDTitle "Interface receive errors ({plugin_instance})"
290   RRDVerticalLabel "Erorrs/s"
291   RRDFormat "%.1lf"
292   Color length  f00000
293   Color over    00e0ff
294   Color crc     00e000
295   Color frame   ffb000
296   Color fifo    f000c0
297   Color missed  0000f0
298 </Type>
299 <Type if_tx_errors>
300   Module GenericStacked
301   DataSources value
302   RRDTitle "Interface transmit errors ({plugin_instance})"
303   RRDVerticalLabel "Erorrs/s"
304   RRDFormat "%.1lf"
305   Color aborted   f00000
306   Color carrier   00e0ff
307   Color fifo      00e000
308   Color heartbeat ffb000
309   Color window    f000c0
310 </Type>
311 <Type if_octets>
312   Module GenericIO
313   DataSources rx tx
314   DSName rx RX
315   DSName tx TX
316   RRDTitle "Interface Traffic ({instance})"
317   RRDVerticalLabel "Bits per second"
318 # RRDOptions ...
319   RRDFormat "%5.1lf%s"
320   Scale 8
321 </Type>
322 <Type if_packets>
323   Module GenericIO
324   DataSources rx tx
325   DSName rx RX
326   DSName tx TX
327   RRDTitle "Interface Packets ({type_instance})"
328   RRDVerticalLabel "Packets per second"
329 # RRDOptions ...
330   RRDFormat "%5.1lf%s"
331 </Type>
332 <Type invocations>
333   DataSources value
334   DSName "value Invocations/s"
335   RRDTitle "Invocations ({instance})"
336   RRDVerticalLabel "Invocations/s"
337   RRDFormat "%5.1lf"
338 </Type>
339 <Type io_octets>
340   Module GenericIO
341   DataSources rx tx
342   DSName "rx Read   "
343   DSName "tx Written"
344   RRDTitle "IO Traffic ({instance})"
345   RRDVerticalLabel "Bytes per second"
346 # RRDOptions ...
347   RRDFormat "%5.1lf%s"
348 </Type>
349 <Type ipt_bytes>
350   DataSources value
351   DSName value Bytes/s
352   RRDTitle "Traffic ({type_instance})"
353   RRDVerticalLabel "Bytes per second"
354 # RRDOptions ...
355   RRDFormat "%5.1lf%s"
356 </Type>
357 <Type ipt_packets>
358   DataSources value
359   DSName value Packets/s
360   RRDTitle "Packets ({type_instance})"
361   RRDVerticalLabel "Packets per second"
362 # RRDOptions ...
363   RRDFormat "%5.1lf"
364 </Type>
365 <Type irq>
366   Module GenericStacked
367   DataSources value
368   RRDTitle "Interrupts on {hostname}"
369   RRDVerticalLabel "IRQs/s"
370   RRDFormat "%5.1lf"
371 </Type>
372 <Type load>
373   Module Load
374 </Type>
375 <Type java_memory>
376   Module JavaMemory
377   DataSources value
378 </Type>
379 <Type memory>
380   Module GenericStacked
381   DataSources value
382   RRDTitle "Physical memory utilization on {hostname}"
383   RRDVerticalLabel "Bytes"
384   RRDFormat "%5.1lf%s"
385   RRDOptions -b 1024 -l 0
386   DSName     "free Free    "
387   DSName   "cached Cached  "
388   DSName "buffered Buffered"
389   DSName   "locked Locked  "
390   DSName     "used Used    "
391   #Order used buffered cached free
392   Order free cached buffered used
393   Color free      00e000
394   Color cached    0000ff
395   Color buffered  ffb000
396   Color locked    ff00ff
397   Color used      ff0000
398 </Type>
399 <Type mysql_commands>
400   Module GenericStacked
401   DataSources value
402   RRDTitle "MySQL commands ({plugin_instance})"
403   RRDVerticalLabel "Invocations"
404   RRDFormat "%6.2lf"
405
406
407   DSName admin_commands admin_commands
408   DSName alter_table alter_table
409   DSName begin begin
410   DSName change_db change_db
411   DSName check check
412   DSName commit commit
413   DSName create_db create_db
414   DSName create_table create_table
415   DSName delete delete
416   DSName drop_db drop_db
417   DSName drop_table drop_table
418   DSName flush flush
419   DSName grant grant
420   DSName insert insert
421   DSName insert_select insert_select
422   DSName lock_tables lock_tables
423   DSName optimize optimize
424   DSName rename_table rename_table
425   DSName replace replace
426   DSName revoke revoke
427   DSName select select
428   DSName set_option set_option
429   DSName show_create_table show_create_table
430   DSName show_databases show_databases
431   DSName show_fields show_fields
432   DSName show_keys show_keys
433   DSName show_master_status show_master_status
434   DSName show_processlist show_processlist
435   DSName show_slave_hosts show_slave_hosts
436   DSName show_status show_status
437   DSName show_tables show_tables
438   DSName show_triggers show_triggers
439   DSName show_variables show_variables
440   DSName unlock_tables unlock_tables
441   DSName update update
442   DSName update_multi update_multi
443
444   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
445
446   Color admin_commands ff0000
447   Color alter_table ff002a
448   Color begin ff0055
449   Color change_db ff007f
450   Color check ff00aa
451   Color commit ff00d4
452   Color create_db ff00ff
453   Color create_table d400ff
454   Color delete aa00ff
455   Color drop_db 7f00ff
456   Color drop_table 5400ff
457   Color flush 2a00ff
458   Color grant 0000ff
459   Color insert 002aff
460   Color insert_select 0055ff
461   Color lock_tables 007fff
462   Color optimize 00a9ff
463   Color rename_table 00d4ff
464   Color replace 00ffff
465   Color revoke 00ffd4
466   Color select 00ffa9
467   Color set_option 00ff7f
468   Color show_create_table 00ff55
469   Color show_databases 00ff2a
470   Color show_fields 00ff00
471   Color show_keys 2aff00
472   Color show_master_status 54ff00
473   Color show_processlist 7fff00
474   Color show_slave_hosts aaff00
475   Color show_status d4ff00
476   Color show_tables ffff00
477   Color show_triggers ffd400
478   Color show_variables ffaa00
479   Color unlock_tables ff7f00
480   Color update ff5400
481   Color update_multi ff2a00
482 </Type>
483 <Type mysql_handler>
484   Module GenericStacked
485   DataSources value
486   RRDTitle "MySQL handler ({plugin_instance})"
487   RRDVerticalLabel "Invocations"
488   RRDFormat "%6.2lf"
489   DSName commit commit
490   DSName delete delete
491   DSName read_first read_first
492   DSName read_key read_key
493   DSName read_next read_next
494   DSName read_prev read_prev
495   DSName read_rnd read_rnd
496   DSName read_rnd_next read_rnd_next
497   DSName update update
498   DSName write write
499   Order commit delete read_first read_key read_next read_prev read_rnd read_rnd_next update write
500   Color commit ff0000
501   Color delete ff0099
502   Color read_first cc00ff
503   Color read_key 3200ff
504   Color read_next 0065ff
505   Color read_prev 00ffff
506   Color read_rnd 00ff65
507   Color read_rnd_next 33ff00
508   Color update cbff00
509   Color write ff9800
510 </Type>
511 <Type mysql_octets>
512   Module GenericIO
513   DataSources rx tx
514   DSName rx RX
515   DSName tx TX
516   RRDTitle "MySQL Traffic ({plugin_instance})"
517   RRDVerticalLabel "Bits per second"
518   RRDFormat "%5.1lf%s"
519   Scale 8
520 </Type>
521 <Type percent>
522   DataSources percent
523   DSName percent Percent
524   RRDTitle "Percent ({type_instance})"
525   RRDVerticalLabel "Percent"
526   RRDFormat "%4.1lf%%"
527   Color percent 0000ff
528 </Type>
529 <Type ping>
530   DataSources ping
531   DSName "ping Latency"
532   RRDTitle "Network latency ({type_instance})"
533   RRDVerticalLabel "Milliseconds"
534   RRDFormat "%5.2lfms"
535 </Type>
536 <Type power>
537   DataSources value
538   DSName value Watts
539   RRDTitle "Power ({type_instance})"
540   RRDVerticalLabel "Watts"
541   RRDFormat "%6.2lf%sW"
542   Color value 008080
543 </Type>
544 <Type ps_cputime>
545   Module PsCputime
546 </Type>
547 <Type ps_rss>
548   DataSources value
549   DSName value RSS
550   RRDTitle "Resident Segment Size ({instance})"
551   RRDVerticalLabel "Bytes"
552   RRDFormat "%6.2lf%s"
553 </Type>
554 <Type ps_state>
555   Module GenericStacked
556   DataSources value
557   RRDTitle "Processes on {hostname}"
558   RRDVerticalLabel "Processes"
559   RRDFormat "%5.1lf"
560   DSName running  Running
561   DSName sleeping Sleeping
562   DSName paging   Paging
563   DSName zombies  Zombies
564   DSName blocked  Blocked
565   DSName stopped  Stopped
566   Order paging blocked zombies stopped running sleeping
567   Color running  00e000
568   Color sleeping 0000ff
569   Color paging   ffb000
570   Color zombies  ff0000
571   Color blocked  ff00ff
572   Color stopped  a000a0
573 </Type>
574 <Type swap>
575   Module GenericStacked
576   DataSources value
577   RRDTitle "Swap utilization on {hostname}"
578   RRDVerticalLabel "Bytes"
579   RRDFormat "%5.1lf%s"
580   RRDOptions -b 1024 -l 0
581   DSName     "free Free    "
582   DSName   "cached Cached  "
583   DSName     "used Used    "
584   #Order used cached free
585   Order free cached used
586   Color free      00e000
587   Color cached    0000ff
588   Color used      ff0000
589 </Type>
590 <Type table_size>
591   Module TableSize
592   DataSources value
593   DSName value Bytes
594   RRDTitle "Table size ({instance})"
595   RRDVerticalLabel "Size [Bytes]"
596 # RRDOptions ...
597   RRDFormat "%5.1lf%s"
598 </Type>
599 <Type tcp_connections>
600   Module GenericStacked
601   DataSources value
602   RRDTitle "TCP connections ({plugin_instance})"
603   RRDVerticalLabel "Connections"
604   RRDFormat "%5.1lf"
605   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
606   Color ESTABLISHED 00e000
607   Color SYN_SENT   00e0ff
608   Color SYN_RECV   00e0a0
609   Color FIN_WAIT1  f000f0
610   Color FIN_WAIT2  f000a0
611   Color TIME_WAIT  ffb000
612   Color CLOSE      0000f0
613   Color CLOSE_WAIT 0000a0
614   Color LAST_ACK   000080
615   Color LISTEN     ff0000
616   Color CLOSING    000000
617   Color CLOSED     0000f0
618 </Type>
619 <Type temperature>
620   DataSources value
621   DSName value Temp
622   RRDTitle "Temperature ({instance})"
623   RRDVerticalLabel "°Celsius"
624   RRDFormat "%4.1lf°C"
625 </Type>
626 <Type threads>
627   DataSources value
628   DSName "value Threads"
629   RRDTitle "Threads ({instance})"
630   RRDVerticalLabel "Threads"
631   RRDFormat "%5.2lf"
632 </Type>
633 <Type total_requests>
634   DataSources value
635   DSName "value Requests/s"
636   RRDTitle "Requests ({instance})"
637   RRDVerticalLabel "Requests/s"
638   RRDFormat "%6.2lf"
639 </Type>
640 <Type total_time_in_ms>
641   DataSources value
642   DSName "value Time"
643   RRDTitle "Time {instance}"
644   RRDVerticalLabel "Seconds"
645   RRDFormat "%6.2lf %ss"
646   Scale 0.001
647 </Type>
648 <Type users>
649   DataSources users
650   DSName users Users
651   RRDTitle "Users ({type_instance}) on {hostname}"
652   RRDVerticalLabel "Users"
653   RRDFormat "%.1lf"
654   Color users 0000f0
655 </Type>
656 <Type voltage>
657   DataSources value
658   DSName value Volts
659   RRDTitle "Voltage ({type_instance})"
660   RRDVerticalLabel "Volts"
661   RRDFormat "%4.1lfV"
662   Color value f00000
663 </Type>
664 <Type wirkleistung>
665   Module Wirkleistung
666   DataSources kWh
667   DSName value Wh
668   RRDTitle "Watt"
669   RRDVerticalLabel "W"
670   RRDFormat "%4.1lfW"
671 </Type>
672 # vim: set sw=2 sts=2 et syntax=apache fileencoding=utf-8 :