Skip to content

Instantly share code, notes, and snippets.

@elmobp
Created September 9, 2016 03:44
Show Gist options
  • Save elmobp/cfce80a2ed2c576e9d3bc3bc7c1940e9 to your computer and use it in GitHub Desktop.
Save elmobp/cfce80a2ed2c576e9d3bc3bc7c1940e9 to your computer and use it in GitHub Desktop.
#Interval 10
#ReadThreads 5
#LoadPlugin syslog
#<Plugin "syslog">
# LogLevel "err"
#</Plugin>
LoadPlugin logfile
<Plugin "logfile">
LogLevel "err"
File "/var/log/collectd.log"
Timestamp true
</Plugin>
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin dns
#LoadPlugin entropy
LoadPlugin interface
#LoadPlugin irq
LoadPlugin load
LoadPlugin memory
#LoadPlugin ping
LoadPlugin processes
LoadPlugin swap
#LoadPlugin users
#LoadPlugin vmem
LoadPlugin network
<Plugin "network">
Server "127.0.0.1"
</Plugin>
<Plugin cpu>
ValuesPercentage true
</Plugin>
LoadPlugin aggregation
<Plugin "aggregation">
<Aggregation>
Plugin "cpu"
Type "cpu"
GroupBy "Host"
GroupBy "TypeInstance"
CalculateSum true
CalculateAverage true
</Aggregation>
</Plugin>
<Plugin "disk">
Disk "sda"
Disk "/^hd/"
IgnoreSelected false
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment