contrib/collection3: Added the ability to `flush' data sets.
[collectd.git] / contrib / collection3 / etc / collection.conf
1 GraphWidth 400
2 Interval 10
3 UnixSockAddr "/var/run/collectd-unixsock"
4 <Type apache_scoreboard>
5   Module GenericStacked
6   DataSources count
7   RRDTitle "Apache scoreboard on {hostname}"
8   RRDVerticalLabel "Slots"
9   RRDFormat "%6.2lf"
10   DSName closing Closing
11   DSName dnslookup DNS lookup
12   DSName finishing Finishing
13   DSName idle_cleanup Idle cleanup
14   DSName keepalive Keep alive
15   DSName logging Logging
16   DSName open Open (empty)
17   DSName reading Reading
18   DSName sending Sending
19   DSName starting Starting
20   DSName waiting Waiting
21   Order open closing dnslookup finishing idle_cleanup keepalive logging open reading sending starting waiting
22   Color closing      000080
23   Color dnslookup    ff0000
24   Color finishing    008080
25   Color idle_cleanup ffff00
26   Color keepalive    0080ff
27   Color logging      a000a0
28   Color open         e0e0e0
29   Color reading      0000ff
30   Color sending      00e000
31   Color starting     ff00ff
32   Color waiting      ffb000
33 </Type>
34 <Type cpu>
35   Module GenericStacked
36   DataSources value
37   RRDTitle "CPU {plugin_instance} usage"
38   RRDVerticalLabel "Jiffies"
39   RRDFormat "%5.2lf"
40   DSName idle Idle
41   DSName nice Nice
42   DSName user User
43   DSName wait Wait-IO
44   DSName system System
45   DSName softirq SoftIRQ
46   DSName interrupt IRQ
47   DSName steal Steal
48   Order idle nice user wait system softirq interrupt steal
49   Color idle      e8e8e8
50   Color nice      00e000
51   Color user      0000ff
52   Color wait      ffb000
53   Color system    ff0000
54   Color softirq   ff00ff
55   Color interrupt a000a0
56   Color steal     000000
57 </Type>
58 <Type current>
59   DataSources value
60   DSName value Current
61   RRDTitle "Current ({type_instance})"
62   RRDVerticalLabel "Ampere"
63   RRDFormat "%4.1lfA"
64   Color value ffb000
65 </Type>
66 <Type df>
67   Module Df
68   DataSources free used
69 </Type>
70 <Type disk_octets>
71   Module GenericIO
72   DataSources read write
73   DSName "read Read   "
74   DSName write Written
75   RRDTitle "Disk Traffic ({plugin_instance})"
76   RRDVerticalLabel "Bytes per second"
77 # RRDOptions ...
78   RRDFormat "%5.1lf%s"
79 </Type>
80 <Type disk_ops>
81   Module GenericIO
82   DataSources read write
83   DSName "read Read   "
84   DSName write Written
85   RRDTitle "Disk Operations ({plugin_instance})"
86   RRDVerticalLabel "Operations per second"
87 # RRDOptions ...
88   RRDFormat "%5.1lf"
89 </Type>
90 <Type disk_merged>
91   Module GenericIO
92   DataSources read write
93   DSName "read Read   "
94   DSName write Written
95   RRDTitle "Disk Merged Operations ({plugin_instance})"
96   RRDVerticalLabel "Merged operations/s"
97 # RRDOptions ...
98   RRDFormat "%5.1lf"
99 </Type>
100 <Type disk_time>
101   Module GenericIO
102   DataSources read write
103   DSName "read Read   "
104   DSName write Written
105   RRDTitle "Disk time per operation ({plugin_instance})"
106   RRDVerticalLabel "Avg. Time/Op"
107 # RRDOptions ...
108   RRDFormat "%5.1lf%ss"
109   Scale 0.001
110 </Type>
111 <Type entropy>
112   DataSources entropy
113   DSName entropy Entropy bits
114   RRDTitle "Available entropy on {hostname}"
115   RRDVerticalLabel "Bits"
116   RRDFormat "%4.0lf"
117 </Type>
118 <Type fanspeed>
119   DataSources value
120   DSName value RPM
121   RRDTitle "Fanspeed ({instance})"
122   RRDVerticalLabel "RPM"
123   RRDFormat "%6.1lf"
124   Color value 00b000
125 </Type>
126 <Type frequency>
127   DataSources frequency
128   DSName frequency Frequency
129   RRDTitle "Frequency ({type_instance})"
130   RRDVerticalLabel "Hertz"
131   RRDFormat "%4.1lfHz"
132   Color frequency a000a0
133 </Type>
134 <Type humidity>
135   DataSources value
136   DSName value Humitidy
137   RRDTitle "Humitidy ({instance})"
138   RRDVerticalLabel "Percent"
139   RRDFormat "%4.1lf%%"
140   Color value 00e000
141 </Type>
142 <Type if_errors>
143   Module GenericIO
144   DataSources rx tx
145   DSName rx RX
146   DSName tx TX
147   RRDTitle "Interface Errors ({type_instance})"
148   RRDVerticalLabel "Errors per second"
149 # RRDOptions ...
150   RRDFormat "%.3lf"
151 </Type>
152 <Type if_rx_errors>
153   Module GenericStacked
154   DataSources value
155   RRDTitle "Interface receive errors ({plugin_instance})"
156   RRDVerticalLabel "Erorrs/s"
157   RRDFormat "%.1lf"
158   Color length  f00000
159   Color over    00e0ff
160   Color crc     00e000
161   Color frame   ffb000
162   Color fifo    f000c0
163   Color missed  0000f0
164 </Type>
165 <Type if_tx_errors>
166   Module GenericStacked
167   DataSources value
168   RRDTitle "Interface transmit errors ({plugin_instance})"
169   RRDVerticalLabel "Erorrs/s"
170   RRDFormat "%.1lf"
171   Color aborted   f00000
172   Color carrier   00e0ff
173   Color fifo      00e000
174   Color heartbeat ffb000
175   Color window    f000c0
176 </Type>
177 <Type if_octets>
178   Module GenericIO
179   DataSources rx tx
180   DSName rx RX
181   DSName tx TX
182   RRDTitle "Interface Traffic ({type_instance})"
183   RRDVerticalLabel "Bits per second"
184 # RRDOptions ...
185   RRDFormat "%5.1lf%s"
186   Scale 8
187 </Type>
188 <Type if_packets>
189   Module GenericIO
190   DataSources rx tx
191   DSName rx RX
192   DSName tx TX
193   RRDTitle "Interface Packets ({type_instance})"
194   RRDVerticalLabel "Packets per second"
195 # RRDOptions ...
196   RRDFormat "%5.1lf%s"
197 </Type>
198 <Type ipt_bytes>
199   DataSources value
200   DSName value Bytes/s
201   RRDTitle "Traffic ({type_instance})"
202   RRDVerticalLabel "Bytes per second"
203 # RRDOptions ...
204   RRDFormat "%5.1lf%s"
205 </Type>
206 <Type ipt_packets>
207   DataSources value
208   DSName value Packets/s
209   RRDTitle "Packets ({type_instance})"
210   RRDVerticalLabel "Packets per second"
211 # RRDOptions ...
212   RRDFormat "%5.1lf"
213 </Type>
214 <Type irq>
215   Module GenericStacked
216   DataSources value
217   RRDTitle "Interrupts on {hostname}"
218   RRDVerticalLabel "IRQs/s"
219   RRDFormat "%5.1lf"
220 </Type>
221 <Type load>
222   Module Load
223 </Type>
224 <Type memory>
225   Module GenericStacked
226   DataSources value
227   RRDTitle "Physical memory utilization on {hostname}"
228   RRDVerticalLabel "Bytes"
229   RRDFormat "%5.1lf%s"
230   RRDOptions -b 1024 -l 0
231   DSName     "free Free    "
232   DSName   "cached Cached  "
233   DSName "buffered Buffered"
234   DSName     "used Used    "
235   #Order used buffered cached free
236   Order free cached buffered used
237   Color free      00e000
238   Color cached    0000ff
239   Color buffered  ffb000
240   Color used      ff0000
241 </Type>
242 <Type percent>
243   DataSources percent
244   DSName percent Percent
245   RRDTitle "Percent ({type_instance})"
246   RRDVerticalLabel "Percent"
247   RRDFormat "%4.1lf%%"
248   Color percent 0000ff
249 </Type>
250 <Type ping>
251   DataSources ping
252   DSName "ping Latency"
253   RRDTitle "Network latency ({type_instance})"
254   RRDVerticalLabel "Milliseconds"
255   RRDFormat "%5.2lfms"
256 </Type>
257 <Type power>
258   DataSources value
259   DSName value Watts
260   RRDTitle "Power ({type_instance})"
261   RRDVerticalLabel "Watts"
262   RRDFormat "%6.2lf%sW"
263   Color value 008080
264 </Type>
265 <Type ps_state>
266   Module GenericStacked
267   DataSources value
268   RRDTitle "Processes on {hostname}"
269   RRDVerticalLabel "Processes"
270   RRDFormat "%5.1lf%s"
271   DSName running  Running
272   DSName sleeping Sleeping
273   DSName paging   Paging
274   DSName zombies  Zombies
275   DSName blocked  Blocked
276   DSName stopped  Stopped
277   Order paging blocked zombies stopped running sleeping
278   Color running  00e000
279   Color sleeping 0000ff
280   Color paging   ffb000
281   Color zombies  ff0000
282   Color blocked  ff00ff
283   Color stopped  a000a0
284 </Type>
285 <Type swap>
286   Module GenericStacked
287   DataSources value
288   RRDTitle "Swap utilization on {hostname}"
289   RRDVerticalLabel "Bytes"
290   RRDFormat "%5.1lf%s"
291   RRDOptions -b 1024 -l 0
292   DSName     "free Free    "
293   DSName   "cached Cached  "
294   DSName     "used Used    "
295   #Order used cached free
296   Order free cached used
297   Color free      00e000
298   Color cached    0000ff
299   Color used      ff0000
300 </Type>
301 <Type tcp_connections>
302   Module GenericStacked
303   DataSources value
304   RRDTitle "TCP connections ({plugin_instance})"
305   RRDVerticalLabel "Connections"
306   RRDFormat "%5.1lf"
307   Order LISTEN CLOSING LAST_ACK CLOSE_WAIT CLOSE TIME_WAIT FIN_WAIT2 FIN_WAIT1 SYN_RECV SYN_SENT ESTABLISHED CLOSED
308   Color ESTABLISHED 00e000
309   Color SYN_SENT   00e0ff
310   Color SYN_RECV   00e0a0
311   Color FIN_WAIT1  f000f0
312   Color FIN_WAIT2  f000a0
313   Color TIME_WAIT  ffb000
314   Color CLOSE      0000f0
315   Color CLOSE_WAIT 0000a0
316   Color LAST_ACK   000080
317   Color LISTEN     ff0000
318   Color CLOSING    000000
319   Color CLOSED     0000f0
320 </Type>
321 <Type temperature>
322   DataSources value
323   DSName value Temp
324   RRDTitle "Temperature ({instance})"
325   RRDVerticalLabel "°Celsius"
326   RRDFormat "%4.1lf°C"
327 </Type>
328 <Type users>
329   DataSources users
330   DSName users Users
331   RRDTitle "Users ({type_instance}) on {hostname}"
332   RRDVerticalLabel "Users"
333   RRDFormat "%.1lf"
334   Color users 0000f0
335 </Type>
336 <Type voltage>
337   DataSources value
338   DSName value Volts
339   RRDTitle "Voltage ({type_instance})"
340   RRDVerticalLabel "Volts"
341   RRDFormat "%4.1lfV"
342   Color value f00000
343 </Type>
344 # vim: set sw=2 sts=2 et syntax=apache fileencoding=latin-1 :