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