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