LinuxCommandLibrary

collectd

TLDR

Test the configuration file and exit

$ collectd -t
copy
Test plugin data collection functionality
$ collectd -T
copy
Start collectd daemon
$ collectd
copy
Specify a custom configuration file
$ collectd -C [path/to/file]
copy
Specify a custom PID file
$ collectd -P [path/to/file]
copy
Run in foreground (don't fork)
$ collectd -f
copy

SYNOPSIS

collectd [options]

DESCRIPTION

collectd is a daemon that collects, transfers, and stores system performance statistics. It supports numerous input plugins for collecting metrics and output plugins for storing or forwarding data.
Common use cases include monitoring system resources, network statistics, and application metrics.

PARAMETERS

-t

Test configuration file syntax
-T
Test plugin data collection
-C file
Use specified configuration file
-P file
Write PID to specified file
-f
Don't fork into background
-h
Display help and version

CAVEATS

Configuration requires careful setup of input and output plugins. Some plugins may require additional libraries. Running without proper output plugins will collect data but not store it.

SEE ALSO

Copied to clipboard