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