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 memory>
265   Module GenericStacked
266   DataSources value
267   RRDTitle "Physical memory utilization on {hostname}"
268   RRDVerticalLabel "Bytes"
269   RRDFormat "%5.1lf%s"
270   RRDOptions -b 1024 -l 0
271   DSName     "free Free    "
272   DSName   "cached Cached  "
273   DSName "buffered Buffered"
274   DSName   "locked Locked  "
275   DSName     "used Used    "
276   #Order used buffered cached free
277   Order free cached buffered used
278   Color free      00e000
279   Color cached    0000ff
280   Color buffered  ffb000
281   Color locked    ff00ff
282   Color used      ff0000
283 </Type>
284 <Type mysql_commands>
285   Module GenericStacked
286   DataSources value
287   RRDTitle "MySQL commands ({plugin_instance})"
288   RRDVerticalLabel "Invocations"
289   RRDFormat "%6.2lf"
290
291
292   DSName admin_commands admin_commands
293   DSName alter_table alter_table
294   DSName begin begin
295   DSName change_db change_db
296   DSName check check
297   DSName commit commit
298   DSName create_db create_db
299   DSName create_table create_table
300   DSName delete delete
301   DSName drop_db drop_db
302   DSName drop_table drop_table
303   DSName flush flush
304   DSName grant grant
305   DSName insert insert
306   DSName insert_select insert_select
307   DSName lock_tables lock_tables
308   DSName optimize optimize
309   DSName rename_table rename_table
310   DSName replace replace
311   DSName revoke revoke
312   DSName select select
313   DSName set_option set_option
314   DSName show_create_table show_create_table
315   DSName show_databases show_databases
316   DSName show_fields show_fields
317   DSName show_keys show_keys
318   DSName show_master_status show_master_status
319   DSName show_processlist show_processlist
320   DSName show_slave_hosts show_slave_hosts
321   DSName show_status show_status
322   DSName show_tables show_tables
323   DSName show_triggers show_triggers
324   DSName show_variables show_variables
325   DSName unlock_tables unlock_tables
326   DSName update update
327   DSName update_multi update_multi
328
329   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
330
331   Color admin_commands ff0000
332   Color alter_table ff002a
333   Color begin ff0055
334   Color change_db ff007f
335   Color check ff00aa
336   Color commit ff00d4
337   Color create_db ff00ff
338   Color create_table d400ff
339   Color delete aa00ff
340   Color drop_db 7f00ff
341   Color drop_table 5400ff
342   Color flush 2a00ff
343   Color grant 0000ff
344   Color insert 002aff
345   Color insert_select 0055ff
346   Color lock_tables 007fff
347   Color optimize 00a9ff
348   Color rename_table 00d4ff
349   Color replace 00ffff
350   Color revoke 00ffd4
351   Color select 00ffa9
352   Color set_option 00ff7f
353   Color show_create_table 00ff55
354   Color show_databases 00ff2a
355   Color show_fields 00ff00
356   Color show_keys 2aff00
357   Color show_master_status 54ff00
358   Color show_processlist 7fff00
359   Color show_slave_hosts aaff00
360   Color show_status d4ff00
361   Color show_tables ffff00
362   Color show_triggers ffd400
363   Color show_variables ffaa00
364   Color unlock_tables ff7f00
365   Color update ff5400
366   Color update_multi ff2a00
367 </Type>
368 <Type mysql_handler>
369   Module GenericStacked
370   DataSources value
371   RRDTitle "MySQL handler ({plugin_instance})"
372   RRDVerticalLabel "Invocations"
373   RRDFormat "%6.2lf"
374   DSName commit commit
375   DSName delete delete
376   DSName read_first read_first
377   DSName read_key read_key
378   DSName read_next read_next
379   DSName read_prev read_prev
380   DSName read_rnd read_rnd
381   DSName read_rnd_next read_rnd_next
382   DSName update update
383   DSName write write
384   Order commit delete read_first read_key read_next read_prev read_rnd read_rnd_next update write
385   Color commit ff0000
386   Color delete ff0099
387   Color read_first cc00ff
388   Color read_key 3200ff
389   Color read_next 0065ff
390   Color read_prev 00ffff
391   Color read_rnd 00ff65
392   Color read_rnd_next 33ff00
393   Color update cbff00
394   Color write ff9800
395 </Type>
396 <Type mysql_octets>
397   Module GenericIO
398   DataSources rx tx
399   DSName rx RX
400   DSName tx TX
401   RRDTitle "MySQL Traffic ({plugin_instance})"
402   RRDVerticalLabel "Bits per second"
403   RRDFormat "%5.1lf%s"
404   Scale 8
405 </Type>
406 <Type percent>
407   DataSources percent
408   DSName percent Percent
409   RRDTitle "Percent ({type_instance})"
410   RRDVerticalLabel "Percent"
411   RRDFormat "%4.1lf%%"
412   Color percent 0000ff
413 </Type>
414 <Type ping>
415   DataSources ping
416   DSName "ping Latency"
417   RRDTitle "Network latency ({type_instance})"
418   RRDVerticalLabel "Milliseconds"
419   RRDFormat "%5.2lfms"
420 </Type>
421 <Type power>
422   DataSources value
423   DSName value Watts
424   RRDTitle "Power ({type_instance})"
425   RRDVerticalLabel "Watts"
426   RRDFormat "%6.2lf%sW"
427   Color value 008080
428 </Type>
429 <Type ps_cputime>
430   Module PsCputime
431 </Type>
432 <Type ps_rss>
433   DataSources value
434   DSName value RSS
435   RRDTitle "Resident Segment Size ({instance})"
436   RRDVerticalLabel "Bytes"
437   RRDFormat "%6.2lf%s"
438 </Type>
439 <Type ps_state>
440   Module GenericStacked
441   DataSources value
442   RRDTitle "Processes on {hostname}"
443   RRDVerticalLabel "Processes"
444   RRDFormat "%5.1lf%s"
445   DSName running  Running
446   DSName sleeping Sleeping
447   DSName paging   Paging
448   DSName zombies  Zombies
449   DSName blocked  Blocked
450   DSName stopped  Stopped
451   Order paging blocked zombies stopped running sleeping
452   Color running  00e000
453   Color sleeping 0000ff
454   Color paging   ffb000
455   Color zombies  ff0000
456   Color blocked  ff00ff
457   Color stopped  a000a0
458 </Type>
459 <Type swap>
460   Module GenericStacked
461   DataSources value
462   RRDTitle "Swap utilization on {hostname}"
463   RRDVerticalLabel "Bytes"
464   RRDFormat "%5.1lf%s"
465   RRDOptions -b 1024 -l 0
466   DSName     "free Free    "
467   DSName   "cached Cached  "
468   DSName     "used Used    "
469   #Order used cached free
470   Order free cached used
471   Color free      00e000
472   Color cached    0000ff
473   Color used      ff0000
474 </Type>
475 <Type table_size>
476   Module TableSize
477   DataSources value
478   DSName value Bytes
479   RRDTitle "Table size ({instance})"
480   RRDVerticalLabel "Size [Bytes]"
481 # RRDOptions ...
482   RRDFormat "%5.1lf%s"
483 </Type>
484 <Type tcp_connections>
485   Module GenericStacked
486   DataSources value
487   RRDTitle "TCP connections ({plugin_instance})"
488   RRDVerticalLabel "Connections"
489   RRDFormat "%5.1lf"
490   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
491   Color ESTABLISHED 00e000
492   Color SYN_SENT   00e0ff
493   Color SYN_RECV   00e0a0
494   Color FIN_WAIT1  f000f0
495   Color FIN_WAIT2  f000a0
496   Color TIME_WAIT  ffb000
497   Color CLOSE      0000f0
498   Color CLOSE_WAIT 0000a0
499   Color LAST_ACK   000080
500   Color LISTEN     ff0000
501   Color CLOSING    000000
502   Color CLOSED     0000f0
503 </Type>
504 <Type temperature>
505   DataSources value
506   DSName value Temp
507   RRDTitle "Temperature ({instance})"
508   RRDVerticalLabel "°Celsius"
509   RRDFormat "%4.1lf°C"
510 </Type>
511 <Type users>
512   DataSources users
513   DSName users Users
514   RRDTitle "Users ({type_instance}) on {hostname}"
515   RRDVerticalLabel "Users"
516   RRDFormat "%.1lf"
517   Color users 0000f0
518 </Type>
519 <Type voltage>
520   DataSources value
521   DSName value Volts
522   RRDTitle "Voltage ({type_instance})"
523   RRDVerticalLabel "Volts"
524   RRDFormat "%4.1lfV"
525   Color value f00000
526 </Type>
527 <Type wirkleistung>
528   Module Wirkleistung
529   DataSources kWh
530   DSName value Wh
531   RRDTitle "Watt"
532   RRDVerticalLabel "W"
533   RRDFormat "%4.1lfW"
534 </Type>
535 # vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 :