Code

08524901d982a7357075f31fa75906880e3e0fa7
[collectd.git] / src / collectd.pod
1 =head1 NAME
3 collectd - System statistics collection daemon
5 =head1 SYNOPSIS
7 collectd I<[options]>
9 =head1 DESCRIPTION
11 collectd is a daemon that collects various system statistics periodically and
12 stores them into RRD-files. Which data is collected depends on compile-time
13 settings. The following features may be available:
15 =over 4
17 =item
19 Apache and lighttpd server statistics (I<apache>)
21 =item
23 Apple hardware sensors (I<apple_sensors>, Darwin only)
25 =item
27 Battery status (I<battery>)
29 =item
31 CPU utilization (I<cpu>)
33 =item
35 Mountpoint usage (I<df>)
37 =item
39 Disk and partition usage/throughput (I<disk>)
41 =item
43 DNS traffic (I<dns>)
45 =item
47 Email usage (I<email>)
49 =item
51 Harddisk temperatures (I<hddtemp>)
53 =item
55 Irq (I<irq>)
57 =item
59 System load averages (I<load>)
61 =item
63 Motherboard monitor (I<mbmon>)
65 =item
67 Memory usage (I<memory>)
69 =item
71 MySQL statistics (I<mysql>)
73 =item
75 NFS utilization (I<nfs>, Linux only)
77 =item
79 Network latency (I<ping>)
81 =item
83 Number of processes (I<processes>, Linux only)
85 =item
87 lm_sensors information (I<sensors>, Linux only)
89 =item
91 Serial port traffic (I<serial>, Linux only)
93 =item
95 Swap usage (I<swap>)
97 =item
99 Tape drive usage (I<tape>, Solaris only)
101 =item
103 Network traffic (I<traffic>)
105 =item
107 Number of users logged into the system (I<users>)
109 =item
111 System ressources used by VServers (I<vserver>)
113 =item
115 Wireless network stats (I<wireless>)
117 =back
119 =head1 OPTIONS
121 =over 4
123 =item B<-C> I<E<lt>config-fileE<gt>>
125 Specify an alternative config file. This is the place to go when you wish to
126 change B<collectd>'s behavior. The path may be relative to the current working
127 directory.
129 =item B<-P> I<E<lt>pid-fileE<gt>>
131 Specify an alternative pid file. This overwrites any settings in the config 
132 file. This is thought for init-scripts that require the PID-file in a certain
133 directory to work correctly. For everyday-usage use the B<PIDFile>
134 config-option.
136 =item B<-f>
138 Don't fork to the background. I<collectd> will also B<not> close standard file
139 descriptors, detach from the session nor write a pid file. This is mainly
140 thought for 'supervisioning' init replacements such as I<runit>.
142 =item B<-h>
144 Output usage information and exit.
146 =back
148 =head1 MODES
150 collectd can operate in four different operating modes. The modes are described
151 below.
153 The simplest mode is the so called B<local mode>. Data is collected locally and
154 written in RRD files that reside in I<DataDir>. This is the default mode when
155 collectd is linked against C<librrd>.
157 The modes B<client mode> and B<server mode> are used to send data over a
158 network and receive it again.
160 In B<client mode> the daemon collects the data locally and sends its results
161 to one or more network addresses. No RRD files are written locally in this
162 case. If collectd is not linked against C<librrd> this is the default mode.
164 If started in B<server mode> the daemon will listen on one or more interfaces
165 and write the data it receives to RRD files. No data is collected locally.
167 In the last mode, B<log mode>, data is collected locally and written in
168 text files that reside in I<DataDir>.
170 Please refer to L<collectd.conf(5)> for the configuration options and default
171 values.
173 =head1 SPECIAL PLUGINS
175 =head2 apache
177 This module connects to an Apache or lighttpd webserver and expects the output
178 produced by B<mod_status.c>. If requires B<libcurl> to set up the HTTP
179 connection and issue the request(s). The following is a sample config for the
180 Apache webserver. Under Apache, the use of C<ExtendedStatus on> is mandatory.
182   ExtendedStatus on
183   <IfModule mod_status.c>
184     <Location /mod_status>
185       SetHandler server-status
186     </Location>
187   </IfModule>
189 This plugin requires further configuration. Please read L<collectd.conf(5)>.
191 =head2 cpufreq
193 This module reads F</sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq> (for
194 the first CPU installed) to get the current CPU frequency. If this file does
195 not exist make sure B<cpufreqd> (L<http://cpufreqd.sourceforge.net/>) or a
196 similar tool is installed and an "cpu governor" (that's kernel module) is
197 loaded.
199 =head2 email
201 This plugin collects data indirectly by providing a UNIX socket that external
202 programs can connect to. A simple line based protocol is used to communicate
203 with the plugin:
205 E-Mail type (e.g. "ham", "spam", "virus", ...) and size (bytes):
207   e:<type>:<size>
209 If C<size> is less than or equal to zero, C<size> is ignored.
211 Spam score:
213   s:<value>
215 Successful spam checks (e.g. "BAYES_99", "SUBJECT_DRUG_GAP_C", ...):
217   c:<type1>[,<type2>,...]
219 Each line is limited to 256 characters (including the newline character). 
220 Longer lines will be ignored.
222 =head2 exec
224 The C<exec> plugin forks of an executable and reads back values that it writes
225 to C<STDOUT>. The executable is forked kind of as L<init> does: It is forked
226 once and not again until it exits. If it exited, it will be forked again after
227 at most I<Interval> seconds. It is perfectly legal for the executable to run
228 for a long time and continuously write values to C<STDOUT>.
230 The forked executable is expected to print values to C<STDOUT>. The expected
231 format is as follows:
233 =over 4
235 =item
237 Each line beginning with a C<#> (hash mark) is ignored.
239 =item
241 Any other line must be of the form C<I<type>,I<type-instance>,I<value>>, where
242 I<type> is either B<counter> or B<gauge>, I<type-instance> may not contain
243 C<,> (comma), C</> (slash) and C<\0> (null byte) and I<value> is either an
244 integer (if I<type> is B<counter>) or a floating-point number (if I<type> is
245 B<gauge>).
247 =back
249 The values are always considered to be "fresh", i.E<nbsp>e. the time is set to
250 "now".
252 When collectd exits it sends a B<SIGTERM> to all still running
253 child-processes upon which they have to quit.
255 =head2 mysql
257 Requires B<mysqlclient> to be installed. It connects to the database when
258 started and keeps the connection up as long as possible. When the connection is
259 interrupted for whatever reason it will try to re-connect. The syslog will
260 contain loud complaints in case anything goes wrong.
262 This plugin issues C<SHOW STATUS> and evaluates C<Bytes_{received,sent}>,
263 C<Com_*> and C<Handler_*> which correspond to F<traffic-mysql.rrd>,
264 F<mysql_commands-*.rrd> and F<mysql_handler-*.rrd>. Also, the values of
265 C<Qcache_*> are put in F<mysql_qcache.rrd> and values of C<Threads_*> are put
266 in F<mysql_threads.rrd>. Please refer to the B<MySQL reference manual>,
267 I<5.2.4. Server Status Variables> for an explanation of these values.
269 =head2 perl
271 The C<perl plugin> includes a Perl-interpreter in collectd and provides
272 Perl-equvalents of the plugin-functions. This makes it possible to write
273 plugins in Perl.
275 There are two more comlex types you need to know about:
277 =over 4
279 =item Data-Set
281 A data-set is a list of one or more data-sources. Each data-source defines a
282 name, type, min- and max-value and the data-set wraps them up into one
283 structure. The general layout looks like this:
285   [{
286     name => 'data_source_name',
287     type => DS_TYPE_COUNTER || DS_TYPE_GAUGE
288     min  => value || undef,
289     max  => value || undef
290   }, ...]
292 =item Value-List
294 A value-list is one structure which features an array of values and fields to
295 identify the values, i. e. time and host, plugin name and plugin-instance as
296 well as a type and type-instance. Since the "type" is not included in the
297 value-list but is passed as an extra argument, the general layout looks like
298 this:
300   {
301     values => [123, 0.5],
302     time   => time (),
303     host   => 'localhost',
304     plugin => 'myplugin',
305     plugin_instance => '',
306     type_instance   => ''
307   }
309 =back
311 The following functions provide the C-interface to Perl-modules:
313 =over 4
315 =item B<plugin_register> (I<type>, I<name>, I<data>)
317 Registers a callback-function or data-set.
319 I<type> can be one of:
321 =over 4
323 =item TYPE_INIT
325 =item TYPE_READ
327 =item TYPE_WRITE
329 =item TYPE_LOG
331 =item TYPE_SHUTDOWN
333 =item TYPE_DATASET
335 =back
337 I<name> is the name of the callback-function or the type of the data-set,
338 depending on the value of I<type>. (Please note that the type of the data-set
339 is the value passed as I<name> here and has nothing to do with the I<type>
340 argument which simply tells B<plugin_register> what is being registered.)
342 The last argument, I<data>, is either a function- or an array-reference. If
343 I<type> is B<TYPE_DATASET>, then the I<data> argument must be an
344 array-reference which points to an array of hashes. Each hash describes one
345 data-source. For the exact layout see B<Data-Set> above.
347 If the I<type> argument is any of the other types (B<TYPE_INIT>, B<TYPE_READ>,
348 ...) when I<data> is expected to be a funtion reference. These functions are
349 called in the various stages of the daemon and are passed the following
350 arguments:
352 =over 4
354 =item TYPE_INIT
356 =item TYPE_READ
358 =item TYPE_SHUTDOWN
360 No arguments are passed
362 =item TYPE_WRITE
364 The arguments passed are I<type>, I<data-set>, and I<value-list>. I<type> is a
365 string. For the layout of I<data-set> and I<value-list> see above.
367 =item TYPE_LOG
369 The arguments are I<log-level> and I<message>. The log level is small for
370 important messages and high for less important messages. The least important
371 level is B<LOG_DEBUG>, the most important level is B<LOG_ERR>. In between there
372 are (from least to most important): B<LOG_INFO>, B<LOG_NOTICE>, and
373 B<LOG_WARNING>. I<message> is simply a string B<without> a newline at the end.
375 =back
377 =item B<plugin_unregister> (I<type>, I<plugin>)
379 Removes a callback or data-set from collectd's internal list of
380 functionsE<nbsp>/ datasets.
382 =item B<plugin_dispatch_values> (I<type>, I<value-list>)
384 Submits a I<value-list> of type I<type> to the daemon. If the data-set I<type>
385 is found (and the number of values matches the number of data-sources) then the
386 type, data-set and value-list is passed to all write-callbacks that are
387 registered with the daemon.
389 =item B<plugin_log> (I<log-level>, I<message>)
391 TODO.
393 =back
395 =head2 sensors
397 The B<sensors> module uses lm_sensors to retrieve sensor-values. This means
398 that all the needed modules have to be loaded and lm_sensors has to be
399 configured (most likely by editing F</etc/sensors.conf>. Read
400 L<sensors.conf(5)> for details.
402 The B<lm_sensors> homepage can be found at
403 L<http://secure.netroedge.com/~lm78/>.
405 =head2 mbmon
407 The B<mbmon> module uses mbmon to retrieve temperature, voltage, etc.
409 collectd connects to B<localhost> (127.0.0.1), port B<411/tcp>.
410 The B<Host> and B<Port> options can be used to change these
411 default values. See L<collectd.conf(5)> for details. C<mbmon> has to be
412 running to work correctly. If C<mbmon> is not running timeouts may appear
413 which may interfere with other statistics..
415 C<mbmon> must be run with the -r option ("print TAG and Value format");
416 Debian's /etc/init.d/mbmon script already does this, other people
417 will need to ensure that this is the case.
419 =head2 hddtemp
421 To get values from B<hddtemp> collectd connects to B<localhost> (127.0.0.1),
422 port B<7634/tcp>. The B<Host> and B<Port> options can be used to change these
423 default values. See L<collectd.conf(5)> for details. C<hddtemp> has to be
424 running to work correctly. If C<hddtemp> is not running timeouts may appear
425 which may interfere with other statistics..
427 The B<hddtemp> homepage can be found at
428 L<http://www.guzu.net/linux/hddtemp.php>.
430 =head2 vserver
432 B<VServer> support is only available for Linux. It cannot yet be found in a 
433 vanilla kernel, though. To make use of this plugin you need a kernel that has 
434 B<VServer> support built in, i.e. you need to apply the patches and compile 
435 your own kernel, which will then provide the /proc/virtual filesystem that is
436 required by this plugin.
438 The B<VServer> homepage can be found at L<http://linux-vserver.org/>.
440 =head1 RRD FILES
442 The RRD files are created automatically. The size of the RRAs depend on the
443 compile time settings of I<step> and I<width>. With the default values (I<step>
444 = B<10>, I<width> = B<1200>) the following RRAs are created:
446   RRA:AVERAGE:0.1:1:8640
447   RRA:AVERAGE:0.1:50:1210
448   RRA:AVERAGE:0.1:223:1202
449   RRA:AVERAGE:0.1:2635:1201
450   RRA:MIN:0.1:1:8640
451   RRA:MIN:0.1:50:1210
452   RRA:MIN:0.1:223:1202
453   RRA:MIN:0.1:2635:1201
454   RRA:MAX:0.1:1:8640
455   RRA:MAX:0.1:50:1210
456   RRA:MAX:0.1:223:1202
457   RRA:MAX:0.1:2635:1201
459 By default collectd uses a 10 second I<step>. Thus the RRAs contain the
460 following timespans. If you've changed the I<step> at compile time you will
461 have calculate resolution and timespan yourself.
463   PDP per CDP |  Resolution  | Data points | Timespan
464   ------------+--------------+-------------+---------
465             1 | 10.0 seconds !        8640 ! 1 day
466            50 |  8.3 minutes |        1210 | 1 week
467           223 | 37.2 minutes |        1202 | 1 month
468          2635 |  7.3 hours   |        1201 | 1 year
470 The DS'es depend on the module creating the RRD files:
472 =over 4
474 =item Apache traffic (F<apache/apache_bytes.rrd>)
476   DS:count:COUNTER:HEARTBEAT:0:134217728
478 =item Apache requests (F<apache/apache_requests.rrd>)
480   DS:count:COUNTER:HEARTBEAT:0:1048576
482 =item Apache scoreboard (F<apache/apache_scoreboard-I<E<lt>nameE<gt>>.rrd>)
484   DS:count:GAUGE:HEARTBEAT:0:U
486 =item Apple temperature sensor (F<apple_sensors/temperature-I<E<lt>nameE<gt>>.rrd>)
488   DS:value:GAUGE:HEARTBEAT:U:U
490 =item Apple fanspeed sensor (F<apple_sensors/fanspeed-I<E<lt>nameE<gt>>.rrd>)
492   DS:value:GAUGE:HEARTBEAT:U:U
494 =item Battery charge (F<battery-I<E<lt>nameE<gt>>/charge.rrd>)
496   DS:charge:GAUGE:HEARTBEAT:0:U
498 =item Battery current (F<battery-I<E<lt>nameE<gt>>/current.rrd>)
500   DS:current:GAUGE:HEARTBEAT:U:U
502 =item Battery voltage (F<battery-I<E<lt>nameE<gt>>/voltage.rrd>)
504   DS:voltage:GAUGE:HEARTBEAT:U:U
506 =item CPU (F<cpu-I<E<lt>numE<gt>>.rrd>)
508   DS:user:COUNTER:HEARTBEAT:0:100
509   DS:nice:COUNTER:HEARTBEAT:0:100
510   DS:syst:COUNTER:HEARTBEAT:0:100
511   DS:idle:COUNTER:HEARTBEAT:0:100
512   DS:wait:COUNTER:HEARTBEAT:0:100
514 =item CPU frequency (F<cpufreq-I<E<lt>numE<gt>>.rrd>)
516   DS:value:GAUGE:HEARTBEAT:0:U
518 =item Mountpoints (F<df-I<E<lt>pathE<gt>>.rrd>)
520   DS:used:GAUGE:HEARTBEAT:0:U
521   DS:free:GAUGE:HEARTBEAT:0:U
523 =item Diskstats (F<disk-I<E<lt>majorE<gt>>-I<E<lt>minorE<gt>>.rrd>)
525   DS:rcount:COUNTER:HEARTBEAT:0:U
526   DS:rmerged:COUNTER:HEARTBEAT:0:U
527   DS:rbytes:COUNTER:HEARTBEAT:0:U
528   DS:rtime:COUNTER:HEARTBEAT:0:U
529   DS:wcount:COUNTER:HEARTBEAT:0:U
530   DS:wmerged:COUNTER:HEARTBEAT:0:U
531   DS:wbytes:COUNTER:HEARTBEAT:0:U
532   DS:wtime:COUNTER:HEARTBEAT:0:U
534 =item Diskstats (F<partition-I<E<lt>majorE<gt>>-I<E<lt>minorE<gt>>.rrd>)
536   DS:rcount:COUNTER:HEARTBEAT:0:U
537   DS:rbytes:COUNTER:HEARTBEAT:0:U
538   DS:wcount:COUNTER:HEARTBEAT:0:U
539   DS:wbytes:COUNTER:HEARTBEAT:0:U
541 =item E-Mail count (F<email/email-I<E<lt>typeE<gt>>.rrd>)
543   DS:count:GAUGE:HEARTBEAT:0:U
545 =item E-Mail size (F<email/email_size-I<E<lt>typeE<gt>>.rrd>)
547   DS:size:GAUGE:HEARTBEAT:0:U
549 =item HDD Temperature (F<hddtemp-I<E<lt>majorE<gt>>-I<E<lt>minorE<gt>>.rrd>)
551   DS:value:GAUGE:HEARTBEAT:U:U
553 =item Irq (F<irq-I<E<lt>irqnumberE<gt>>.rrd>)
555   DS:value:COUNTER:HEARTBEAT:0:65535
557 =item System load (F<load.rrd>)
559   DS:shortterm:GAUGE:HEARTBEAT:0:100
560   DS:midterm:GAUGE:HEARTBEAT:0:100
561   DS:longterm:GAUGE:HEARTBEAT:0:100
563 =item Memory usage (F<memory.rrd>)
565   DS:used:GAUGE:HEARTBEAT:0:9223372036854775807
566   DS:free:GAUGE:HEARTBEAT:0:9223372036854775807
567   DS:buffers:GAUGE:HEARTBEAT:0:9223372036854775807
568   DS:cached:GAUGE:HEARTBEAT:0:9223372036854775807
570 =item MySQL commands and handlers (F<mysql_commands-I<E<lt>commandE<gt>>.rrd> and F<mysql_handler-I<E<lt>handlerE<gt>>.rrd>)
572   DS:value:COUNTER:HEARTBEAT:0:U
574 =item MySQL query cache (F<mysql_qcache.rrd>)
576   DS:hits:COUNTER:HEARTBEAT:0:U
577   DS:inserts:COUNTER:HEARTBEAT:0:U
578   DS:not_cached:COUNTER:HEARTBEAT:0:U
579   DS:lowmem_prunes:COUNTER:HEARTBEAT:0:U
580   DS:queries_in_cache:GAUGE:HEARTBEAT:0:U
582 =item MySQL threads (F<mysql_threads.rrd>)
584   DS:running:GAUGE:HEARTBEAT:0:U
585   DS:connected:GAUGE:HEARTBEAT:0:U
586   DS:cached:GAUGE:HEARTBEAT:0:U
587   DS:created:COUNTER:HEARTBEAT:0:U
589 =item NFSv2 Procedures (F<nfs2_procedures-I<(client|server)>.rrd>)
591   DS:null:COUNTER:HEARTBEAT:0:U
592   DS:getattr:COUNTER:HEARTBEAT:0:U
593   DS:setattr:COUNTER:HEARTBEAT:0:U
594   DS:root:COUNTER:HEARTBEAT:0:U
595   DS:lookup:COUNTER:HEARTBEAT:0:U
596   DS:readlink:COUNTER:HEARTBEAT:0:U
597   DS:read:COUNTER:HEARTBEAT:0:U
598   DS:wrcache:COUNTER:HEARTBEAT:0:U
599   DS:write:COUNTER:HEARTBEAT:0:U
600   DS:create:COUNTER:HEARTBEAT:0:U
601   DS:remove:COUNTER:HEARTBEAT:0:U
602   DS:rename:COUNTER:HEARTBEAT:0:U
603   DS:link:COUNTER:HEARTBEAT:0:U
604   DS:symlink:COUNTER:HEARTBEAT:0:U
605   DS:mkdir:COUNTER:HEARTBEAT:0:U
606   DS:rmdir:COUNTER:HEARTBEAT:0:U
607   DS:readdir:COUNTER:HEARTBEAT:0:U
608   DS:fsstat:COUNTER:HEARTBEAT:0:U
610 =item NFSv3 Procedures (F<nfs3_procedures-I<(client|server)>.rrd>)
612   DS:null:COUNTER:HEARTBEAT:0:U
613   DS:getattr:COUNTER:HEARTBEAT:0:U
614   DS:setattr:COUNTER:HEARTBEAT:0:U
615   DS:lookup:COUNTER:HEARTBEAT:0:U
616   DS:access:COUNTER:HEARTBEAT:0:U
617   DS:readlink:COUNTER:HEARTBEAT:0:U
618   DS:read:COUNTER:HEARTBEAT:0:U
619   DS:write:COUNTER:HEARTBEAT:0:U
620   DS:create:COUNTER:HEARTBEAT:0:U
621   DS:mkdir:COUNTER:HEARTBEAT:0:U
622   DS:symlink:COUNTER:HEARTBEAT:0:U
623   DS:mknod:COUNTER:HEARTBEAT:0:U
624   DS:remove:COUNTER:HEARTBEAT:0:U
625   DS:rmdir:COUNTER:HEARTBEAT:0:U
626   DS:rename:COUNTER:HEARTBEAT:0:U
627   DS:link:COUNTER:HEARTBEAT:0:U
628   DS:readdir:COUNTER:HEARTBEAT:0:U
629   DS:readdirplus:COUNTER:HEARTBEAT:0:U
630   DS:fsstat:COUNTER:HEARTBEAT:0:U
631   DS:fsinfo:COUNTER:HEARTBEAT:0:U
632   DS:pathconf:COUNTER:HEARTBEAT:0:U
633   DS:commit:COUNTER:HEARTBEAT:0:U
635 =item Network latency / Ping (F<ping-I<E<lt>hostnameE<gt>>.rrd>)
637   DS:ping:GAUGE:HEARTBEAT:0:65535
639 =item Processes (F<processes.rrd>)
641   DS:running:GAUGE:HEARTBEAT:0:65535
642   DS:sleeping:GAUGE:HEARTBEAT:0:65535
643   DS:zombies:GAUGE:HEARTBEAT:0:65535
644   DS:stopped:GAUGE:HEARTBEAT:0:65535
645   DS:paging:GAUGE:HEARTBEAT:0:65535
646   DS:blocked:GAUGE:HEARTBEAT:0:65535
648 =item lm_sensors fanspeed sensor (F<sensors-I<E<lt>instE<gt>>.rrd> or F<lm_sensors-I<E<lt>chipE<gt>>/fanspeed-I<E<lt>instE<gt>>.rrd>)
650   DS:value:GAUGE:HEARTBEAT:U:U
652 =item lm_sensors temperature sensor (F<sensors-I<E<lt>instE<gt>>.rrd> or F<lm_sensors-I<E<lt>chipE<gt>>/temperature-I<E<lt>instE<gt>>.rrd>)
654   DS:value:GAUGE:HEARTBEAT:U:U
656 =item lm_sensors voltage sensor (F<sensors-I<E<lt>instE<gt>>.rrd> or F<lm_sensors-I<E<lt>chipE<gt>>/voltage-I<E<lt>instE<gt>>.rrd>)
658   DS:voltage:GAUGE:HEARTBEAT:U:U
660 =item Serial port traffic (F<serial-I<E<lt>numE<gt>>.rrd>)
662   DS:incoming:COUNTER:HEARTBEAT:0:U
663   DS:outgoing:COUNTER:HEARTBEAT:0:U
665 =item Spam score (F<email/spam_score.rrd>)
667   DS:score:GAUGE:HEARTBEAT:0:U
669 =item Spam checks (F<email/spam_check-I<E<lt>typeE<gt>>.rrd>)
671   DS:hits:GAUGE:HEARTBEAT:0:U
673 =item Swap usage (F<swap.rrd>)
675   DS:used:GAUGE:HEARTBEAT:0:1099511627776
676   DS:free:GAUGE:HEARTBEAT:0:1099511627776
677   DS:cached:GAUGE:HEARTBEAT:0:1099511627776
678   DS:resv:GAUGE:HEARTBEAT:0:1099511627776
680 =item Tape drive usage (F<tape-I<E<lt>nameE<gt>>.rrd>)
682   DS:rcount:COUNTER:HEARTBEAT:0:
683   DS:rmerged:COUNTER:HEARTBEAT:0:U
684   DS:rbytes:COUNTER:HEARTBEAT:0:U
685   DS:rtime:COUNTER:HEARTBEAT:0:U
686   DS:wcount:COUNTER:HEARTBEAT:0:U
687   DS:wmerged:COUNTER:HEARTBEAT:0:U
688   DS:wbytes:COUNTER:HEARTBEAT:0:U
689   DS:wtime:COUNTER:HEARTBEAT:0:U
691 =item Network traffic (F<traffic-I<E<lt>interfaceE<gt>>.rrd>)
693   DS:incoming:COUNTER:HEARTBEAT:0:U
694   DS:outgoing:COUNTER:HEARTBEAT:0:U
696 =item Interface packets (F<if_packets-I<E<lt>interfaceE<gt>>.rrd>)
698   DS:rx:COUNTER:HEARTBEAT:0:U
699   DS:tx:COUNTER:HEARTBEAT:0:U
701 =item Interface errors (F<if_errors-I<E<lt>interfaceE<gt>>.rrd>)
703   DS:rx:COUNTER:HEARTBEAT:0:U
704   DS:tx:COUNTER:HEARTBEAT:0:U
706 =item Users (F<users.rrd>)
708   DS:users:GAUGE:HEARTBEAT:0:65535
710 =item VServer load (F<vserver-I<E<lt>xidE<gt>>/load.rrd>)
712   DS:shortterm:GAUGE:HEARTBEAT:0:100
713   DS:midterm:GAUGE:HEARTBEAT:0:100
714   DS:longterm:GAUGE:HEARTBEAT:0:100
716 =item VServer threads (F<vserver-I<E<lt>xidE<gt>>/threads.rrd>)
718   DS:total:GAUGE:HEARTBEAT:0:65535
719   DS:running:GAUGE:HEARTBEAT:0:65535
720   DS:uninterruptible:GAUGE:HEARTBEAT:0:65535
721   DS:onhold:GAUGE:HEARTBEAT:0:65535
723 =item VServer network traffic (F<vserver-I<E<lt>xidE<gt>>/traffic-I<E<lt>nameE<gt>>.rrd>)
725   DS:incoming:COUNTER:HEARTBEAT:0:9223372036854775807
726   DS:outgoing:COUNTER:HEARTBEAT:0:9223372036854775807
727   DS:failed:COUNTER:HEARTBEAT:0:9223372036854775807
729 =item VServer processes (F<vserver-I<E<lt>xidE<gt>>/vs_processes.rrd>)
731   DS:total:GAUGE:HEARTBEAT:0:65535
733 =item VServer memory usage (F<vserver-I<E<lt>xidE<gt>>/vs_memory.rrd>)
735   DS:vm:GAUGE:HEARTBEAT:0:9223372036854775807
736   DS:vml:GAUGE:HEARTBEAT:0:9223372036854775807
737   DS:rss:GAUGE:HEARTBEAT:0:9223372036854775807
738   DS:anon:GAUGE:HEARTBEAT:0:9223372036854775807
740 =item Wireless link quality (F<wireless-I<E<lt>interfaceE<gt>>.rrd>)
742   DS:quality:GAUGE:HEARTBEAT:0:U
743   DS:power:GAUGE:HEARTBEAT:U:0
744   DS:noise:GAUGE:HEARTBEAT:U:0
746 =back
748 =head1 SEE ALSO
750 L<collectd.conf(5)>, L<rrdtool(1)>, L<sensors(1)>, L<hddtemp(8)>,
751 L<mbmon(1)>,
752 L<kstat(3KSTAT)>
754 =head1 AUTHOR
756 Florian Forster E<lt>octo@verplant.orgE<gt>
758 =cut