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