cc13b4c339b4cd19b7a631e0835cc8f77c9820e8
[collectd.git] / contrib / collection3 / etc / collection.conf
1 GraphWidth 400
2 #UnixSockAddr "/var/run/collectd-unixsock"
3 <Type apache_bytes>
4   DataSources count
5   DSName "count Bytes/s"
6   RRDTitle "Apache Traffic"
7   RRDVerticalLabel "Bytes/s"
8   RRDFormat "%5.1lf%s"
9   Color count 0000ff
10 </Type>
11 <Type apache_requests>
12   DataSources count
13   DSName "count Requests/s"
14   RRDTitle "Apache Traffic"
15   RRDVerticalLabel "Requests/s"
16   RRDFormat "%5.2lf"
17   Color count 00d000
18 </Type>
19 <Type apache_scoreboard>
20   Module GenericStacked
21   DataSources count
22   RRDTitle "Apache scoreboard on {hostname}"
23   RRDVerticalLabel "Slots"
24   RRDFormat "%6.2lf"
25   DSName closing Closing
26   DSName dnslookup DNS lookup
27   DSName finishing Finishing
28   DSName idle_cleanup Idle cleanup
29   DSName keepalive Keep alive
30   DSName logging Logging
31   DSName open Open (empty)
32   DSName reading Reading
33   DSName sending Sending
34   DSName starting Starting
35   DSName waiting Waiting
36   Order open closing dnslookup finishing idle_cleanup keepalive logging open reading sending starting waiting
37   Color closing      000080
38   Color dnslookup    ff0000
39   Color finishing    008080
40   Color idle_cleanup ffff00
41   Color keepalive    0080ff
42   Color logging      a000a0
43   Color open         e0e0e0
44   Color reading      0000ff
45   Color sending      00e000
46   Color starting     ff00ff
47   Color waiting      ffb000
48 </Type>
49 <Type cpu>
50   Module GenericStacked
51   DataSources value
52   RRDTitle "CPU {plugin_instance} usage"
53   RRDVerticalLabel "Jiffies"
54   RRDFormat "%5.2lf"
55   DSName idle Idle
56   DSName nice Nice
57   DSName user User
58   DSName wait Wait-IO
59   DSName system System
60   DSName softirq SoftIRQ
61   DSName interrupt IRQ
62   DSName steal Steal
63   Order idle nice user wait system softirq interrupt steal
64   Color idle      e8e8e8
65   Color nice      00e000
66   Color user      0000ff
67   Color wait      ffb000
68   Color system    ff0000
69   Color softirq   ff00ff
70   Color interrupt a000a0
71   Color steal     000000
72 </Type>
73 <Type current>
74   DataSources value
75   DSName value Current
76   RRDTitle "Current ({type_instance})"
77   RRDVerticalLabel "Ampere"
78   RRDFormat "%4.1lfA"
79   Color value ffb000
80 </Type>
81 <Type df>
82   Module Df
83   DataSources free used
84 </Type>
85 <Type disk_octets>
86   Module GenericIO
87   DataSources read write
88   DSName "read Read   "
89   DSName write Written
90   RRDTitle "Disk Traffic ({instance})"
91   RRDVerticalLabel "Bytes per second"
92 # RRDOptions ...
93   RRDFormat "%5.1lf%s"
94 </Type>
95 <Type disk_ops>
96   Module GenericIO
97   DataSources read write
98   DSName "read Read   "
99   DSName write Written
100   RRDTitle "Disk Operations ({instance})"
101   RRDVerticalLabel "Operations per second"
102 # RRDOptions ...
103   RRDFormat "%5.1lf"
104 </Type>
105 <Type disk_merged>
106   Module GenericIO
107   DataSources read write
108   DSName "read Read   "
109   DSName write Written
110   RRDTitle "Disk Merged Operations ({instance})"
111   RRDVerticalLabel "Merged operations/s"
112 # RRDOptions ...
113   RRDFormat "%5.1lf"
114 </Type>
115 <Type disk_time>
116   Module GenericIO
117   DataSources read write
118   DSName "read Read   "
119   DSName write Written
120   RRDTitle "Disk time per operation ({instance})"
121   RRDVerticalLabel "Avg. Time/Op"
122 # RRDOptions ...
123   RRDFormat "%5.1lf%ss"
124   Scale 0.001
125 </Type>
126 <Type entropy>
127   DataSources entropy
128   DSName entropy Entropy bits
129   RRDTitle "Available entropy on {hostname}"
130   RRDVerticalLabel "Bits"
131   RRDFormat "%4.0lf"
132 </Type>
133 <Type fanspeed>
134   DataSources value
135   DSName value RPM
136   RRDTitle "Fanspeed ({instance})"
137   RRDVerticalLabel "RPM"
138   RRDFormat "%6.1lf"
139   Color value 00b000
140 </Type>
141 <Type frequency>
142   DataSources frequency
143   DSName frequency Frequency
144   RRDTitle "Frequency ({type_instance})"
145   RRDVerticalLabel "Hertz"
146   RRDFormat "%4.1lfHz"
147   Color frequency a000a0
148 </Type>
149 <Type humidity>
150   DataSources value
151   DSName value Humitidy
152   RRDTitle "Humitidy ({instance})"
153   RRDVerticalLabel "Percent"
154   RRDFormat "%4.1lf%%"
155   Color value 00e000
156 </Type>
157 <Type if_errors>
158   Module GenericIO
159   DataSources rx tx
160   DSName rx RX
161   DSName tx TX
162   RRDTitle "Interface Errors ({type_instance})"
163   RRDVerticalLabel "Errors per second"
164 # RRDOptions ...
165   RRDFormat "%.3lf"
166 </Type>
167 <Type if_rx_errors>
168   Module GenericStacked
169   DataSources value
170   RRDTitle "Interface receive errors ({plugin_instance})"
171   RRDVerticalLabel "Erorrs/s"
172   RRDFormat "%.1lf"
173   Color length  f00000
174   Color over    00e0ff
175   Color crc     00e000
176   Color frame   ffb000
177   Color fifo    f000c0
178   Color missed  0000f0
179 </Type>
180 <Type if_tx_errors>
181   Module GenericStacked
182   DataSources value
183   RRDTitle "Interface transmit errors ({plugin_instance})"
184   RRDVerticalLabel "Erorrs/s"
185   RRDFormat "%.1lf"
186   Color aborted   f00000
187   Color carrier   00e0ff
188   Color fifo      00e000
189   Color heartbeat ffb000
190   Color window    f000c0
191 </Type>
192 <Type if_octets>
193   Module GenericIO
194   DataSources rx tx
195   DSName rx RX
196   DSName tx TX
197   RRDTitle "Interface Traffic ({type_instance})"
198   RRDVerticalLabel "Bits per second"
199 # RRDOptions ...
200   RRDFormat "%5.1lf%s"
201   Scale 8
202 </Type>
203 <Type if_packets>
204   Module GenericIO
205   DataSources rx tx
206   DSName rx RX
207   DSName tx TX
208   RRDTitle "Interface Packets ({type_instance})"
209   RRDVerticalLabel "Packets per second"
210 # RRDOptions ...
211   RRDFormat "%5.1lf%s"
212 </Type>
213 <Type ipt_bytes>
214   DataSources value
215   DSName value Bytes/s
216   RRDTitle "Traffic ({type_instance})"
217   RRDVerticalLabel "Bytes per second"
218 # RRDOptions ...
219   RRDFormat "%5.1lf%s"
220 </Type>
221 <Type ipt_packets>
222   DataSources value
223   DSName value Packets/s
224   RRDTitle "Packets ({type_instance})"
225   RRDVerticalLabel "Packets per second"
226 # RRDOptions ...
227   RRDFormat "%5.1lf"
228 </Type>
229 <Type irq>
230   Module GenericStacked
231   DataSources value
232   RRDTitle "Interrupts on {hostname}"
233   RRDVerticalLabel "IRQs/s"
234   RRDFormat "%5.1lf"
235 </Type>
236 <Type load>
237   Module Load
238 </Type>
239 <Type memory>
240   Module GenericStacked
241   DataSources value
242   RRDTitle "Physical memory utilization on {hostname}"
243   RRDVerticalLabel "Bytes"
244   RRDFormat "%5.1lf%s"
245   RRDOptions -b 1024 -l 0
246   DSName     "free Free    "
247   DSName   "cached Cached  "
248   DSName "buffered Buffered"
249   DSName     "used Used    "
250   #Order used buffered cached free
251   Order free cached buffered used
252   Color free      00e000
253   Color cached    0000ff
254   Color buffered  ffb000
255   Color used      ff0000
256 </Type>
257 <Type mysql_commands>
258   Module GenericStacked
259   DataSources value
260   RRDTitle "MySQL commands"
261   RRDVerticalLabel "Invocations"
262   RRDFormat "%6.2lf"
263
264   DSName admin_commands admin_commands
265   DSName alter_table alter_table
266   DSName begin begin
267   DSName change_db change_db
268   DSName check check
269   DSName commit commit
270   DSName create_db create_db
271   DSName create_table create_table
272   DSName delete delete
273   DSName drop_db drop_db
274   DSName drop_table drop_table
275   DSName flush flush
276   DSName grant grant
277   DSName insert insert
278   DSName insert_select insert_select
279   DSName lock_tables lock_tables
280   DSName optimize optimize
281   DSName rename_table rename_table
282   DSName replace replace
283   DSName revoke revoke
284   DSName select select
285   DSName set_option set_option
286   DSName show_create_table show_create_table
287   DSName show_databases show_databases
288   DSName show_fields show_fields
289   DSName show_keys show_keys
290   DSName show_master_status show_master_status
291   DSName show_processlist show_processlist
292   DSName show_slave_hosts show_slave_hosts
293   DSName show_status show_status
294   DSName show_tables show_tables
295   DSName show_triggers show_triggers
296   DSName show_variables show_variables
297   DSName unlock_tables unlock_tables
298   DSName update update
299   DSName update_multi update_multi
300
301   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
302
303   Color admin_commands ff0000
304   Color alter_table ff002a
305   Color begin ff0055
306   Color change_db ff007f
307   Color check ff00aa
308   Color commit ff00d4
309   Color create_db ff00ff
310   Color create_table d400ff
311   Color delete aa00ff
312   Color drop_db 7f00ff
313   Color drop_table 5400ff
314   Color flush 2a00ff
315   Color grant 0000ff
316   Color insert 002aff
317   Color insert_select 0055ff
318   Color lock_tables 007fff
319   Color optimize 00a9ff
320   Color rename_table 00d4ff
321   Color replace 00ffff
322   Color revoke 00ffd4
323   Color select 00ffa9
324   Color set_option 00ff7f
325   Color show_create_table 00ff55
326   Color show_databases 00ff2a
327   Color show_fields 00ff00
328   Color show_keys 2aff00
329   Color show_master_status 54ff00
330   Color show_processlist 7fff00
331   Color show_slave_hosts aaff00
332   Color show_status d4ff00
333   Color show_tables ffff00
334   Color show_triggers ffd400
335   Color show_variables ffaa00
336   Color unlock_tables ff7f00
337   Color update ff5400
338   Color update_multi ff2a00
339 </Type>
340 <Type mysql_handler>
341   Module GenericStacked
342   DataSources value
343   RRDTitle "MySQL handler"
344   RRDVerticalLabel "Invocations"
345   RRDFormat "%6.2lf"
346   DSName commit commit
347   DSName delete delete
348   DSName read_first read_first
349   DSName read_key read_key
350   DSName read_next read_next
351   DSName read_prev read_prev
352   DSName read_rnd read_rnd
353   DSName read_rnd_next read_rnd_next
354   DSName update update
355   DSName write write
356   Order commit delete read_first read_key read_next read_prev read_rnd read_rnd_next update write
357   Color commit ff0000
358   Color delete ff0099
359   Color read_first cc00ff
360   Color read_key 3200ff
361   Color read_next 0065ff
362   Color read_prev 00ffff
363   Color read_rnd 00ff65
364   Color read_rnd_next 33ff00
365   Color update cbff00
366   Color write ff9800
367 </Type>
368 <Type mysql_octets>
369   Module GenericIO
370   DataSources rx tx
371   DSName rx RX
372   DSName tx TX
373   RRDTitle "MySQL Traffic"
374   RRDVerticalLabel "Bits per second"
375   RRDFormat "%5.1lf%s"
376   Scale 8
377 </Type>
378 <Type percent>
379   DataSources percent
380   DSName percent Percent
381   RRDTitle "Percent ({type_instance})"
382   RRDVerticalLabel "Percent"
383   RRDFormat "%4.1lf%%"
384   Color percent 0000ff
385 </Type>
386 <Type ping>
387   DataSources ping
388   DSName "ping Latency"
389   RRDTitle "Network latency ({type_instance})"
390   RRDVerticalLabel "Milliseconds"
391   RRDFormat "%5.2lfms"
392 </Type>
393 <Type power>
394   DataSources value
395   DSName value Watts
396   RRDTitle "Power ({type_instance})"
397   RRDVerticalLabel "Watts"
398   RRDFormat "%6.2lf%sW"
399   Color value 008080
400 </Type>
401 <Type ps_rss>
402   DataSources value
403   DSName value RSS
404   RRDTitle "Resident Segment Size ({instance})"
405   RRDVerticalLabel "Bytes"
406   RRDFormat "%6.2lf%s"
407 </Type>
408 <Type ps_state>
409   Module GenericStacked
410   DataSources value
411   RRDTitle "Processes on {hostname}"
412   RRDVerticalLabel "Processes"
413   RRDFormat "%5.1lf%s"
414   DSName running  Running
415   DSName sleeping Sleeping
416   DSName paging   Paging
417   DSName zombies  Zombies
418   DSName blocked  Blocked
419   DSName stopped  Stopped
420   Order paging blocked zombies stopped running sleeping
421   Color running  00e000
422   Color sleeping 0000ff
423   Color paging   ffb000
424   Color zombies  ff0000
425   Color blocked  ff00ff
426   Color stopped  a000a0
427 </Type>
428 <Type swap>
429   Module GenericStacked
430   DataSources value
431   RRDTitle "Swap utilization on {hostname}"
432   RRDVerticalLabel "Bytes"
433   RRDFormat "%5.1lf%s"
434   RRDOptions -b 1024 -l 0
435   DSName     "free Free    "
436   DSName   "cached Cached  "
437   DSName     "used Used    "
438   #Order used cached free
439   Order free cached used
440   Color free      00e000
441   Color cached    0000ff
442   Color used      ff0000
443 </Type>
444 <Type tcp_connections>
445   Module GenericStacked
446   DataSources value
447   RRDTitle "TCP connections ({plugin_instance})"
448   RRDVerticalLabel "Connections"
449   RRDFormat "%5.1lf"
450   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
451   Color ESTABLISHED 00e000
452   Color SYN_SENT   00e0ff
453   Color SYN_RECV   00e0a0
454   Color FIN_WAIT1  f000f0
455   Color FIN_WAIT2  f000a0
456   Color TIME_WAIT  ffb000
457   Color CLOSE      0000f0
458   Color CLOSE_WAIT 0000a0
459   Color LAST_ACK   000080
460   Color LISTEN     ff0000
461   Color CLOSING    000000
462   Color CLOSED     0000f0
463 </Type>
464 <Type temperature>
465   DataSources value
466   DSName value Temp
467   RRDTitle "Temperature ({instance})"
468   RRDVerticalLabel "°Celsius"
469   RRDFormat "%4.1lf°C"
470 </Type>
471 <Type users>
472   DataSources users
473   DSName users Users
474   RRDTitle "Users ({type_instance}) on {hostname}"
475   RRDVerticalLabel "Users"
476   RRDFormat "%.1lf"
477   Color users 0000f0
478 </Type>
479 <Type voltage>
480   DataSources value
481   DSName value Volts
482   RRDTitle "Voltage ({type_instance})"
483   RRDVerticalLabel "Volts"
484   RRDFormat "%4.1lfV"
485   Color value f00000
486 </Type>
487 # vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 :