# Installed by Browbeat Ansible Installer # Config type: {{config_type}} # Interval default is 10s Interval {{collectd_interval}} # Hostname for this machine, if not defined, use gethostname(2) system call Hostname "{{inventory_hostname}}" # Loaded Plugins: LoadPlugin "logfile" LogLevel "info" File "/var/log/collectd.log" Timestamp true LoadPlugin write_graphite LoadPlugin cpu LoadPlugin df LoadPlugin disk LoadPlugin interface LoadPlugin irq LoadPlugin load LoadPlugin memory LoadPlugin numa LoadPlugin processes LoadPlugin swap LoadPlugin turbostat LoadPlugin unixsock LoadPlugin uptime # Open unix domain socket for collectdctl SocketFile "/var/run/collectd-unixsock" SocketGroup "collectd" SocketPerms "0770" DeleteSocket true # Graphite Host Configuration Host "{{graphite_host}}" Port "2003" Prefix "{{graphite_prefix}}." Protocol "tcp" LogSendErrors true StoreRates true AlwaysAppendDS false EscapeCharacter "_" ValuesPercentage true Disk "/^[hsv]d[a-z]+[0-9]?$/" IgnoreSelected false # Example, collect on all httpd processes: Process "httpd" # Collect on collectd process ProcessMatch "collectd" "/usr/sbin/collectd.+-C.+/etc/collectd.conf" ReportBytes true ValuesPercentage true # Include other collectd configuration files Include "/etc/collectd.d"