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