src/data_provider.[ch]: Implement "data_provider_get_ident_data".
[collection4.git] / share / collection.conf
1 <DataProvider "rrdtool">
2   DataDir "/var/lib/collectd/rrd"
3 </DataProvider>
4
5 <Graph>
6   Host "/any/"
7   Plugin "cpu"
8   PluginInstance "/any/"
9   Type "cpu"
10   TypeInstance "/all/"
11
12   Title "CPU utilization"
13   VerticalLabel "Jiffies"
14
15   <DEF>
16     TypeInstance "idle"
17     DSName "value"
18     Legend "Idle   "
19     Color "e8e8e8"
20     Area true
21     Stack true
22     Format "%6.2lf"
23   </DEF>
24   <DEF>
25     TypeInstance "nice"
26     DSName "value"
27     Legend "Nice   "
28     Color "00e000"
29     Area true
30     Stack true
31     Format "%6.2lf"
32   </DEF>
33   <DEF>
34     TypeInstance "user"
35     DSName "value"
36     Legend "User   "
37     Color "0000ff"
38     Area true
39     Stack true
40     Format "%6.2lf"
41   </DEF>
42   <DEF>
43     TypeInstance "wait"
44     DSName "value"
45     Legend "Wait-IO"
46     Color "ffb000"
47     Area true
48     Stack true
49     Format "%6.2lf"
50   </DEF>
51   <DEF>
52     TypeInstance "system"
53     DSName "value"
54     Legend "System "
55     Color "ff0000"
56     Area true
57     Stack true
58     Format "%6.2lf"
59   </DEF>
60   <DEF>
61     TypeInstance "softirq"
62     DSName "value"
63     Legend "SoftIRQ"
64     Color "ff00ff"
65     Area true
66     Stack true
67     Format "%6.2lf"
68   </DEF>
69   <DEF>
70     TypeInstance "interrupt"
71     DSName "value"
72     Legend "IRQ    "
73     Color "a000a0"
74     Area true
75     Stack true
76     Format "%6.2lf"
77   </DEF>
78   <DEF>
79     TypeInstance "steal"
80     DSName "value"
81     Legend "Steal  "
82     Color "000000"
83     Area true
84     Stack true
85     Format "%6.2lf"
86   </DEF>
87 </Graph>
88
89 <Graph>
90   Host "/any/"
91   Plugin "df"
92   PluginInstance "/any/"
93   Type "df_complex"
94   TypeInstance "/all/"
95
96   Title "Diskspace"
97   VerticalLabel "Bytes"
98   ShowZero false
99
100   <DEF>
101     TypeInstance "reserved"
102     DSName "value"
103     Legend "Reserved"
104     Color "ffb000"
105     Area true
106     Stack true
107     Format "%5.1lf%s"
108   </DEF>
109   <DEF>
110     TypeInstance "free"
111     DSName "value"
112     Legend "Free    "
113     Color "00bf00"
114     Area true
115     Stack true
116     Format "%5.1lf%s"
117   </DEF>
118   <DEF>
119     TypeInstance "used"
120     DSName "value"
121     Legend "Used    "
122     Color "ff0000"
123     Area true
124     Stack true
125     Format "%5.1lf%s"
126   </DEF>
127 </Graph>
128
129 <Graph>
130   Host "/any/"
131   Plugin "netapp"
132   PluginInstance "/any/"
133   Type "df_complex"
134   TypeInstance "/all/"
135
136   Title "Diskspace (NetApp)"
137   VerticalLabel "Bytes"
138   ShowZero true
139
140   <DEF>
141     TypeInstance "sis_saved"
142     DSName "value"
143     Legend "SIS saved         "
144     Color "00e0e0"
145     Area true
146     Stack true
147     Format "%5.1lf%s"
148   </DEF>
149   <DEF>
150     TypeInstance "free"
151     DSName "value"
152     Legend "Free              "
153     Color "00ff00"
154     Area true
155     Stack true
156     Format "%5.1lf%s"
157   </DEF>
158   <DEF>
159     TypeInstance "used"
160     DSName "value"
161     Legend "Used              "
162     Color "ff0000"
163     Area true
164     Stack true
165     Format "%5.1lf%s"
166   </DEF>
167   <DEF>
168     TypeInstance "snap_normal_used"
169     DSName "value"
170     Legend "Snap used (normal)"
171     Color "c10640"
172     Area true
173     Stack true
174     Format "%5.1lf%s"
175   </DEF>
176   <DEF>
177     TypeInstance "snap_reserved"
178     DSName "value"
179     Legend "Snap reserved     "
180     Color "f15aef"
181     Area true
182     Stack true
183     Format "%5.1lf%s"
184   </DEF>
185   <DEF>
186     TypeInstance "snap_reserve_used"
187     DSName "value"
188     Legend "Snap used (resv)  "
189     Color "820c81"
190     Area true
191     Stack true
192     Format "%5.1lf%s"
193   </DEF>
194 </Graph>
195
196 <Graph>
197   Host "/any/"
198   Plugin "df"
199   PluginInstance "/any/"
200   Type "df_inodes"
201   TypeInstance "/all/"
202
203   Title "Diskspace (Inodes)"
204   VerticalLabel "Inodes"
205   ShowZero true
206
207   <DEF>
208     TypeInstance "reserved"
209     DSName "value"
210     Legend "Reserved"
211     Color "ffb000"
212     Area true
213     Stack true
214     Format "%5.1lf%s"
215   </DEF>
216   <DEF>
217     TypeInstance "free"
218     DSName "value"
219     Legend "Free    "
220     Color "00bf00"
221     Area true
222     Stack true
223     Format "%5.1lf%s"
224   </DEF>
225   <DEF>
226     TypeInstance "used"
227     DSName "value"
228     Legend "Used    "
229     Color "ff0000"
230     Area true
231     Stack true
232     Format "%5.1lf%s"
233   </DEF>
234 </Graph>
235
236 <Graph>
237   Host "/any/"
238   Plugin "df"
239   PluginInstance ""
240   Type "df"
241   TypeInstance "/any/"
242
243   Title "Diskspace (legacy)"
244   VerticalLabel "Bytes"
245   ShowZero true
246
247   <DEF>
248     DSName "free"
249     Legend "Free"
250     Color "00bf00"
251     Area true
252     Stack true
253     Format "%5.1lf%s"
254   </DEF>
255   <DEF>
256     DSName "used"
257     Legend "Used"
258     Color "ff0000"
259     Area true
260     Stack true
261     Format "%5.1lf%s"
262   </DEF>
263 </Graph>
264
265 <Graph>
266   Host "/any/"
267   Plugin "/any/"
268   PluginInstance "/any/"
269   Type "disk_merged"
270   TypeInstance ""
271
272   Title "Disk merged operations"
273
274   <DEF>
275     DSName "read"
276     Legend "Read "
277     Color "0000ff"
278   </DEF>
279   <DEF>
280     DSName "write"
281     Legend "Write"
282     Color "00bf00"
283   </DEF>
284 </Graph>
285
286 <Graph>
287   Host "/any/"
288   Plugin "/any/"
289   PluginInstance "/any/"
290   Type "disk_octets"
291   TypeInstance ""
292
293   Title "Disk octets"
294
295   <DEF>
296     DSName "read"
297     Legend "Read "
298     Color "0000ff"
299     Format "%5.1lf%s"
300   </DEF>
301   <DEF>
302     DSName "write"
303     Legend "Write"
304     Color "00bf00"
305     Format "%5.1lf%s"
306   </DEF>
307 </Graph>
308
309 <Graph>
310   Host "/any/"
311   Plugin "/any/"
312   PluginInstance "/any/"
313   Type "disk_ops"
314   TypeInstance ""
315
316   Title "Disk operations"
317
318   <DEF>
319     DSName "read"
320     Legend "Read "
321     Color "0000ff"
322   </DEF>
323   <DEF>
324     DSName "write"
325     Legend "Write"
326     Color "00bf00"
327   </DEF>
328 </Graph>
329
330 <Graph>
331   Host "/any/"
332   Plugin "/any/"
333   PluginInstance "/any/"
334   Type "disk_time"
335   TypeInstance ""
336
337   Title "Disk time per op"
338
339   <DEF>
340     DSName "read"
341     Legend "Read "
342     Color "0000ff"
343   </DEF>
344   <DEF>
345     DSName "write"
346     Legend "Write"
347     Color "00bf00"
348   </DEF>
349 </Graph>
350
351 <Graph>
352   Host "/any/"
353   Plugin "processes"
354   PluginInstance ""
355   Type "fork_rate"
356   TypeInstance ""
357
358   Title "Fork rate"
359   VerticalLabel "Forks/s"
360
361   <DEF>
362     DSName "value"
363     Legend "Fork rate"
364     Color "0000ff"
365   </DEF>
366 </Graph>
367
368 <Graph>
369   Host "/any/"
370   Plugin "interface"
371   PluginInstance "/any/"
372   Type "if_errors"
373   TypeInstance "/any/"
374
375   Title "Interface errors"
376   VerticalLabel "Errors/s"
377
378   <DEF>
379     DSName "rx"
380     Legend "RX"
381     Color "0000ff"
382     Format "%5.1lf"
383   </DEF>
384   <DEF>
385     DSName "tx"
386     Legend "TX"
387     Color "00bf00"
388     Format "%5.1lf"
389   </DEF>
390 </Graph>
391
392 <Graph>
393   Host "/any/"
394   Plugin "/any/"
395   PluginInstance "/any/"
396   Type "if_octets"
397   TypeInstance "/any/"
398
399   Title "Interface octets"
400   VerticalLabel "Bytes/s"
401
402   <DEF>
403     DSName "rx"
404     Legend "RX"
405     Color "0000ff"
406     Format "%5.1lf%s"
407   </DEF>
408   <DEF>
409     DSName "tx"
410     Legend "TX"
411     Color "00bf00"
412     Format "%5.1lf%s"
413   </DEF>
414 </Graph>
415
416 <Graph>
417   Host "/any/"
418   Plugin "interface"
419   PluginInstance "/any/"
420   Type "if_packets"
421   TypeInstance "/any/"
422
423   Title "Interface packets"
424   VerticalLabel "Packets/s"
425
426   <DEF>
427     DSName "rx"
428     Legend "RX"
429     Color "0000ff"
430   </DEF>
431   <DEF>
432     DSName "tx"
433     Legend "TX"
434     Color "00bf00"
435   </DEF>
436 </Graph>
437
438 <Graph>
439   Host "/any/"
440   Plugin "GenericJMX"
441   PluginInstance "/any/"
442   Type "jmx_memory"
443   TypeInstance "/all/"
444
445   Title "JMX memory"
446
447   <DEF>
448     TypeInstance "max"
449     DSName "value"
450     Legend "Max      "
451     Color "00e000"
452     Format "%5.1lf%s"
453   </DEF>
454   <DEF>
455     TypeInstance "committed"
456     DSName "value"
457     Legend "Committed"
458     Color "0000ff"
459     Format "%5.1lf%s"
460   </DEF>
461   <DEF>
462     TypeInstance "init"
463     DSName "value"
464     Legend "Init     "
465     Color "ffb000"
466     Format "%5.1lf%s"
467   </DEF>
468   <DEF>
469     TypeInstance "used"
470     DSName "value"
471     Legend "Used     "
472     Color "ff0000"
473     Format "%5.1lf%s"
474   </DEF>
475 </Graph>
476
477 <Graph>
478   Host "/any/"
479   Plugin "load"
480   PluginInstance ""
481   Type "load"
482   TypeInstance ""
483
484   Title "System load"
485
486   <DEF>
487     DSName "longterm"
488     Legend "15m"
489     Color "ff0000"
490   </DEF>
491   <DEF>
492     DSName "midterm"
493     Legend " 5m"
494     Color "0000ff"
495   </DEF>
496   <DEF>
497     DSName "shortterm"
498     Legend " 1m "
499     Color "00e000"
500   </DEF>
501 </Graph>
502
503 <Graph>
504   Host "/any/"
505   Plugin "memory"
506   PluginInstance ""
507   Type "memory"
508   TypeInstance "/all/"
509
510   Title "Memory utilization"
511   VerticalLabel "Bytes"
512   ShowZero true
513
514   <DEF>
515     TypeInstance "free"
516     DSName "value"
517     Legend "Free    "
518     Color "00e000"
519     Area true
520     Stack true
521     Format "%5.1lf%s"
522   </DEF>
523   <DEF>
524     TypeInstance "cached"
525     DSName "value"
526     Legend "Cached  "
527     Color "0000ff"
528     Area true
529     Stack true
530     Format "%5.1lf%s"
531   </DEF>
532   <DEF>
533     TypeInstance "buffered"
534     DSName "value"
535     Legend "Buffered"
536     Color "ffb000"
537     Area true
538     Stack true
539     Format "%5.1lf%s"
540   </DEF>
541   <DEF>
542     TypeInstance "locked"
543     DSName "value"
544     Legend "Locked  "
545     Color "ff00ff"
546     Area true
547     Stack true
548     Format "%5.1lf%s"
549   </DEF>
550   <DEF>
551     TypeInstance "used"
552     DSName "value"
553     Legend "Used    "
554     Color "ff0000"
555     Area true
556     Stack true
557     Format "%5.1lf%s"
558   </DEF>
559 </Graph>
560
561 <Graph>
562   Host "/any/"
563   Plugin "mysql"
564   PluginInstance ""
565   Type "mysql_commands"
566   TypeInstance "/all/"
567
568   Title "MySQL commands"
569   VerticalLabel "Invocations"
570
571   <DEF>
572     DSName "value"
573     #Legend "Paging  "
574     #Color "ffb000"
575   </DEF>
576 </Graph>
577
578 <Graph>
579   Host "/any/"
580   Plugin "processes"
581   PluginInstance ""
582   Type "ps_state"
583   TypeInstance "/all/"
584
585   Title "Processes"
586   VerticalLabel "Processes"
587
588   <DEF>
589     TypeInstance "paging"
590     DSName "value"
591     Legend "Paging  "
592     Color "ffb000"
593   </DEF>
594   <DEF>
595     TypeInstance "blocked"
596     DSName "value"
597     Legend "Blocked "
598     Color "ff00ff"
599   </DEF>
600   <DEF>
601     TypeInstance "zombies"
602     DSName "value"
603     Legend "Zombies "
604     Color "ff0000"
605   </DEF>
606   <DEF>
607     TypeInstance "stopped"
608     DSName "value"
609     Legend "Stopped "
610     Color "a000a0"
611   </DEF>
612   <DEF>
613     TypeInstance "running"
614     DSName "value"
615     Legend "Running "
616     Color "00e000"
617   </DEF>
618   <DEF>
619     TypeInstance "sleeping"
620     DSName "value"
621     Legend "Sleeping"
622     Color "0000ff"
623   </DEF>
624 </Graph>
625
626 <Graph>
627   Host "/any/"
628   Plugin "sensors"
629   PluginInstance "/any/"
630   Type "temperature"
631   TypeInstance "/any/"
632
633   Title "Temperature"
634   VerticalLabel "deg Celsius"
635
636   <DEF>
637     DSName "value"
638     Legend "Temperature"
639     Color "0000ff"
640   </DEF>
641 </Graph>
642
643 <Graph>
644   Host "/any/"
645   Plugin "swap"
646   PluginInstance ""
647   Type "swap"
648   TypeInstance "/all/"
649
650   Title "Swap utilization"
651   VerticalLabel "Bytes"
652
653   <DEF>
654     TypeInstance "free"
655     DSName "value"
656     Legend "Free  "
657     Color "00e000"
658     Area true
659     Stack true
660     Format "%5.1lf%s"
661   </DEF>
662   <DEF>
663     TypeInstance "cached"
664     DSName "value"
665     Legend "Cached"
666     Color "ffb000"
667     Area true
668     Stack true
669     Format "%5.1lf%s"
670   </DEF>
671   <DEF>
672     TypeInstance "used"
673     DSName "value"
674     Legend "Used  "
675     Color "ff0000"
676     Area true
677     Stack true
678     Format "%5.1lf%s"
679   </DEF>
680 </Graph>
681
682 <Graph>
683   Host "/any/"
684   Plugin "swap"
685   PluginInstance ""
686   Type "swap_io"
687   TypeInstance "/all/"
688
689   Title "Swap I/O"
690   VerticalLabel "Pages/s"
691
692   <DEF>
693     TypeInstance "in"
694     DSName "value"
695     Legend "In "
696     Color "0000ff"
697     Format "%5.1lf"
698   </DEF>
699   <DEF>
700     TypeInstance "out"
701     DSName "value"
702     Legend "Out"
703     Color "00bf00"
704     Format "%5.1lf"
705   </DEF>
706 </Graph>
707
708 <Graph>
709   Host "/any/"
710   Plugin "users"
711   PluginInstance ""
712   Type "users"
713   TypeInstance ""
714
715   Title "Users"
716   VerticalLabel "Users"
717
718   <DEF>
719     DSName "users"
720     Legend "Users"
721     Color "0000ff"
722   </DEF>
723 </Graph>
724
725 <Graph>
726   Host "/any/"
727   Plugin "terminal_services"
728   PluginInstance ""
729   Type "users"
730   TypeInstance "/all/"
731
732   Title "Users (Terminal Services)"
733   VerticalLabel "Users"
734
735   <DEF>
736     TypeInstance "active"
737     DSName "users"
738     Legend "Active  "
739     Color "ff0000"
740   </DEF>
741   <DEF>
742     TypeInstance "inactive"
743     DSName "users"
744     Legend "Inactive"
745     Color "0000ff"
746   </DEF>
747 </Graph>
748
749 <Graph>
750   Host "/any/"
751   Plugin "/any/"
752   PluginInstance "/any/"
753   Type "current"
754   TypeInstance "/any/"
755
756   Title "Current"
757   VerticalLabel "Amperes"
758
759   <DEF>
760     DSName "value"
761     Legend "Current"
762     Color "0000ff"
763   </DEF>
764 </Graph>
765
766 <Graph>
767   Host "/any/"
768   Plugin "/any/"
769   PluginInstance "/any/"
770   Type "power"
771   TypeInstance "/any/"
772
773   Title "Power"
774   VerticalLabel "Watts"
775
776   <DEF>
777     DSName "value"
778     Legend "Power"
779     Color "0000ff"
780   </DEF>
781 </Graph>
782
783 <Graph>
784   Host "/any/"
785   Plugin "/any/"
786   PluginInstance "/any/"
787   Type "temperature"
788   TypeInstance "/any/"
789
790   Title "Temperature"
791   VerticalLabel "Deg Celsius"
792
793   <DEF>
794     DSName "value"
795     Legend "Temperature"
796     Color "0000ff"
797   </DEF>
798 </Graph>
799
800 <Graph>
801   Host "/any/"
802   Plugin "/any/"
803   PluginInstance "/any/"
804   Type "voltage"
805   TypeInstance "/any/"
806
807   Title "Voltage"
808   VerticalLabel "Volts"
809
810   <DEF>
811     DSName "value"
812     Legend "Voltage"
813     Color "0000ff"
814   </DEF>
815 </Graph>
816
817 <Graph>
818   Host "/any/"
819   Plugin "/any/"
820   PluginInstance "/any/"
821   Type "work"
822   TypeInstance "/any/"
823
824   Title "Work"
825   #VerticalLabel ""
826
827   <DEF>
828     DSName "value"
829     Legend "Work"
830     Color "0000ff"
831   </DEF>
832 </Graph>
833