graph_def.c: Implement the "Format" config option.
[collection4.git] / 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 "%lf"
19   </DEF>
20   <DEF>
21     TypeInstance "nice"
22     DSName "value"
23     Legend "Nice   "
24     Color "00e000"
25     Area true
26     Stack true
27     #Format "%lf"
28   </DEF>
29   <DEF>
30     TypeInstance "user"
31     DSName "value"
32     Legend "User   "
33     Color "0000ff"
34     Area true
35     Stack true
36     #Format "%lf"
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 "%lf"
46   </DEF>
47   <DEF>
48     TypeInstance "system"
49     DSName "value"
50     Legend "System "
51     Color "ff0000"
52     Area true
53     Stack true
54     #Format "%lf"
55   </DEF>
56   <DEF>
57     TypeInstance "softirq"
58     DSName "value"
59     Legend "SoftIRQ"
60     Color "ff00ff"
61     Area true
62     Stack true
63     #Format "%lf"
64   </DEF>
65   <DEF>
66     TypeInstance "interrupt"
67     DSName "value"
68     Legend "IRQ    "
69     Color "a000a0"
70     Area true
71     Stack true
72     #Format "%lf"
73   </DEF>
74   <DEF>
75     TypeInstance "steal"
76     DSName "value"
77     Legend "Steal  "
78     Color "000000"
79     Area true
80     Stack true
81     #Format "%lf"
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
95   <DEF>
96     TypeInstance "used"
97     DSName "value"
98     Legend "Used    "
99     Color "ff0000"
100     Area true
101     #Stack true
102     Format "%5.1lf%s"
103   </DEF>
104   <DEF>
105     TypeInstance "reserved"
106     DSName "value"
107     Legend "Reserved"
108     Color "ffb000"
109     Area true
110     Stack true
111     Format "%5.1lf%s"
112   </DEF>
113   <DEF>
114     TypeInstance "free"
115     DSName "value"
116     Legend "Free    "
117     Color "00bf00"
118     Area true
119     Stack true
120     Format "%5.1lf%s"
121   </DEF>
122 </Graph>
123
124 <Graph>
125   Host "/any/"
126   Plugin "df"
127   PluginInstance "/any/"
128   Type "df_inodes"
129   TypeInstance "/all/"
130
131   Title "Diskspace (Inodes)"
132
133   <DEF>
134     TypeInstance "used"
135     DSName "value"
136     Legend "Used    "
137     Color "ff0000"
138     Area true
139     #Stack true
140   </DEF>
141   <DEF>
142     TypeInstance "reserved"
143     DSName "value"
144     Legend "Reserved"
145     Color "ffb000"
146     Area true
147     Stack true
148   </DEF>
149   <DEF>
150     TypeInstance "free"
151     DSName "value"
152     Legend "Free    "
153     Color "00bf00"
154     Area true
155     Stack true
156   </DEF>
157 </Graph>
158
159 <Graph>
160   Host "/any/"
161   Plugin "df"
162   PluginInstance ""
163   Type "df"
164   TypeInstance "/any/"
165
166   Title "Diskspace (legacy)"
167
168   <DEF>
169     DSName "used"
170     Legend "Used "
171     Color "ff0000"
172     Area true
173     #Stack true
174   </DEF>
175   <DEF>
176     DSName "free"
177     Legend "Free"
178     Color "00bf00"
179     Area true
180     Stack true
181   </DEF>
182 </Graph>
183
184 <Graph>
185   Host "/any/"
186   Plugin "disk"
187   PluginInstance "/any/"
188   Type "disk_merged"
189   TypeInstance ""
190
191   Title "Disk merged operations"
192
193   <DEF>
194     DSName "read"
195     Legend "Read "
196     Color "0000ff"
197   </DEF>
198   <DEF>
199     DSName "write"
200     Legend "Write"
201     Color "00bf00"
202   </DEF>
203 </Graph>
204
205 <Graph>
206   Host "/any/"
207   Plugin "disk"
208   PluginInstance "/any/"
209   Type "disk_octets"
210   TypeInstance ""
211
212   Title "Disk octets"
213
214   <DEF>
215     DSName "read"
216     Legend "Read "
217     Color "0000ff"
218   </DEF>
219   <DEF>
220     DSName "write"
221     Legend "Write"
222     Color "00bf00"
223   </DEF>
224 </Graph>
225
226 <Graph>
227   Host "/any/"
228   Plugin "disk"
229   PluginInstance "/any/"
230   Type "disk_ops"
231   TypeInstance ""
232
233   Title "Disk operations"
234
235   <DEF>
236     DSName "read"
237     Legend "Read "
238     Color "0000ff"
239   </DEF>
240   <DEF>
241     DSName "write"
242     Legend "Write"
243     Color "00bf00"
244   </DEF>
245 </Graph>
246
247 <Graph>
248   Host "/any/"
249   Plugin "disk"
250   PluginInstance "/any/"
251   Type "disk_time"
252   TypeInstance ""
253
254   Title "Disk time per op"
255
256   <DEF>
257     DSName "read"
258     Legend "Read "
259     Color "0000ff"
260   </DEF>
261   <DEF>
262     DSName "write"
263     Legend "Write"
264     Color "00bf00"
265   </DEF>
266 </Graph>
267
268 <Graph>
269   Host "/any/"
270   Plugin "memory"
271   PluginInstance ""
272   Type "memory"
273   TypeInstance "/all/"
274
275   Title "Memory utilization"
276   VerticalLabel "Bytes"
277 </Graph>
278
279 <Graph>
280   Host "/any/"
281   Plugin "processes"
282   PluginInstance ""
283   Type "ps_state"
284   TypeInstance "/all/"
285
286   Title "Processes"
287   VerticalLabel "Processes"
288
289   <DEF>
290     TypeInstance "paging"
291     DSName "value"
292     Legend "Paging  "
293     Color "ffb000"
294   </DEF>
295   <DEF>
296     TypeInstance "blocked"
297     DSName "value"
298     Legend "Blocked "
299     Color "ff00ff"
300   </DEF>
301   <DEF>
302     TypeInstance "zombies"
303     DSName "value"
304     Legend "Zombies "
305     Color "ff0000"
306   </DEF>
307   <DEF>
308     TypeInstance "stopped"
309     DSName "value"
310     Legend "Stopped "
311     Color "a000a0"
312   </DEF>
313   <DEF>
314     TypeInstance "running"
315     DSName "value"
316     Legend "Running "
317     Color "00e000"
318   </DEF>
319   <DEF>
320     TypeInstance "sleeping"
321     DSName "value"
322     Legend "Sleeping"
323     Color "0000ff"
324   </DEF>
325 </Graph>
326
327 <Graph>
328   Host "/any/"
329   Plugin "swap"
330   PluginInstance ""
331   Type "swap"
332   TypeInstance "/all/"
333
334   Title "Swap utilization"
335   VerticalLabel "Bytes"
336 </Graph>
337