# 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 "hky" FQDNLookup true #BaseDir "/var/lib/collectd" #PluginDir "/usr/lib/collectd" #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" #LoadPlugin logfile LoadPlugin syslog #LoadPlugin log_logstash # # LogLevel "info" # File STDOUT # Timestamp true # PrintSeverity false # LogLevel info # # LogLevel info # File "/var/log/collectd.json.log" # ############################################################################## # LoadPlugin section # #----------------------------------------------------------------------------# # Specify what features to activate. # ############################################################################## LoadPlugin cpu LoadPlugin memory LoadPlugin network LoadPlugin ping ############################################################################## # 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. # ############################################################################## # ReportByCpu true # ReportByState true ValuesPercentage true ValuesAbsolute true ValuesPercentage false # # client setup: # Server "ff18::efc0:4a42" "25826" SecurityLevel Encrypt Username "collectd" Password "collectd" # Interface "eth0" ResolveInterval 3600 # TimeToLive 128 # # # server setup: # Listen "ff18::efc0:4a42" "25826" # # SecurityLevel Sign # AuthFile "/etc/collectd/passwd" # Interface "eth0" # # MaxPacketSize 1452 # # # proxy setup (client and server as above): # Forward true # # # statistics about the network plugin itself # ReportStats false # # # "garbage collection" # CacheFlush 1800 Host "pcu.gitzz.ltd" Host "pct.gitzz.ltd" Host "pcm.gitzz.ltd" Interval 1.0 Timeout 0.9 TTL 255 # SourceAddress "1.2.3.4" # Device "eth0" MaxMissed 60 Filter "*.conf"