Skip to content

Instantly share code, notes, and snippets.

@uffsalot
Created July 16, 2016 12:23
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save uffsalot/2edca3a47c600b2341f45cb845af0308 to your computer and use it in GitHub Desktop.
Save uffsalot/2edca3a47c600b2341f45cb845af0308 to your computer and use it in GitHub Desktop.
sample collectd.conf
FQDNLookup true
Interval 120
LoadPlugin syslog
<Plugin syslog>
LogLevel info
</Plugin>
LoadPlugin disk
LoadPlugin df
LoadPlugin interface
LoadPlugin network
LoadPlugin users
LoadPlugin cpu
LoadPlugin entropy
LoadPlugin load
LoadPlugin memory
LoadPlugin swap
LoadPlugin uptime
LoadPlugin mysql
LoadPlugin processes
LoadPlugin sensors
LoadPlugin exec
LoadPlugin write_graphite
<Plugin "mysql">
<Database "mysql">
Socket "/var/run/mysqld/mysqld.sock"
User ""
Password ""
Port 3306
</Database>
</Plugin>
<Plugin "cpu">
ValuesPercentage true
</Plugin>
<Plugin interface>
Interface "eth0"
IgnoreSelected false
</Plugin>
<Plugin write_graphite>
<Carbon>
Host "localhost"
Port "2003"
Prefix "collectd."
StoreRates true
AlwaysAppendDS false
EscapeCharacter "_"
</Carbon>
</Plugin>
<Plugin disk>
Disk "sda"
Disk "sdb"
Disk "sdc"
IgnoreSelected false
</Plugin>
<Plugin "df">
IgnoreSelected false
MountPoint "/"
</Plugin>
<Plugin exec>
Exec "smart" "/tank/backup/_scripts/3ware_temp.pl"
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment