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