# Config file for collectd(1). # # Some plugins need additional configuration and are disabled by default. # Please read collectd.conf(5) for details. # # You should also read /usr/share/doc/collectd-core/README.Debian.plugins # before enabling any more plugins. ############################################################################## # Global # #----------------------------------------------------------------------------# # Global settings for the daemon. # ############################################################################## Hostname "shuttle" FQDNLookup true #BaseDir "/var/lib/collectd" #PluginDir "/usr/lib/collectd" #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" #----------------------------------------------------------------------------# # When enabled, plugins are loaded automatically with the default options # # when an appropriate block is encountered. # # Disabled by default. # #----------------------------------------------------------------------------# #AutoLoadPlugin false #----------------------------------------------------------------------------# # Interval at which to query values. This may be overwritten on a per-plugin # # base by using the 'Interval' option of the LoadPlugin block: # # # # Interval 60 # # # #----------------------------------------------------------------------------# Interval 10 #Timeout 2 #ReadThreads 5 #WriteThreads 5 # Limit the size of the write queue. Default is no limit. Setting up a limit # is recommended for servers handling a high volume of traffic. #WriteQueueLimitHigh 1000000 #WriteQueueLimitLow 800000 ############################################################################## # Logging # #----------------------------------------------------------------------------# # Plugins which provide logging functions should be loaded first, so log # # messages generated when loading or configuring other plugins can be # # accessed. # ############################################################################## LoadPlugin logfile LogLevel "info" File "/var/lib/collectd/log/collectd.log" Timestamp true PrintSeverity true ############################################################################## # LoadPlugin section # #----------------------------------------------------------------------------# # Specify what features to activate. # ############################################################################## LoadPlugin cpu LoadPlugin cpufreq LoadPlugin df LoadPlugin disk LoadPlugin entropy #LoadPlugin interface #LoadPlugin irq LoadPlugin load LoadPlugin md LoadPlugin memory LoadPlugin network LoadPlugin processes LoadPlugin rrdtool LoadPlugin sensors LoadPlugin swap LoadPlugin uptime LoadPlugin users LoadPlugin smart LoadPlugin pg_collectd LoadPlugin mqtt ############################################################################## # Plugin configuration # #----------------------------------------------------------------------------# # In this section configuration stubs for each plugin are provided. A desc- # # ription of those options is available in the collectd.conf(5) manual page. # ############################################################################## DataDir "/var/lib/collectd/rrd" # CacheTimeout 120 # CacheFlush 900 # WritesPerSecond 30 # CreateFilesAsync false # RandomTimeout 0 # # The following settings are rather advanced # and should usually not be touched: # StepSize 10 # HeartBeat 20 # RRARows 1200 # RRATimespan 158112000 # XFF 0.1 Disk "sda" Disk "sdb" Disk "sdc" Disk "nvme0n1" IgnoreSelected false # # Device "/dev/md0" # IgnoreSelected false # Disk "sda" Disk "sdb" Disk "nvme0n1" IgnoreSelected false # # BatchSize 1000 # Connection "postgresql://collectd:collectd@host:6543/collectd" # StoreRates true # LogTimings INFO # Filter "*.conf" Server "host" "24224" Host "host" Port 1883 User "collectd" Password "p5TJbEbeqaJU0Z4g63EvwX0hWG4VLZXg" ClientId "collectd-shuttle" Prefix "collectd" Retain false