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