Skip to content

Instantly share code, notes, and snippets.

@christopherpaquin
Created November 4, 2018 05:49
Show Gist options
  • Save christopherpaquin/0519721a779cc7e83be01d5e7832909a to your computer and use it in GitHub Desktop.
Save christopherpaquin/0519721a779cc7e83be01d5e7832909a to your computer and use it in GitHub Desktop.
#Custom Collectd Config
LoadPlugin "write_graphite"
<Plugin "write_graphite">
<Node "example">
Host "10.1.0.202"
Port "2003"
Prefix "collectd."
#Postfix ""
Protocol "tcp"
#Protocol "udp"
#LogSendErrors false
EscapeCharacter "_"
SeparateInstances true
StoreRates false
AlwaysAppendDS false
</Node>
</Plugin>
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin disk
<Plugin "disk">
Disk "sda1"
Disk "sdb1"
Disk "sdc1"
Disk "dm-0"
Disk "dm-2"
Disk "dm-3"
IgnoreSelected true
</Plugin>
<LoadPlugin virt>
Globals false
</LoadPlugin>
<Plugin "virt">
Connection "qemu:///system"
RefreshInterval 60
Domain "dom0"
BlockDevice "name:device"
InterfaceDevice "name:interface"
IgnoreSelected true
HostnameFormat "name"
</Plugin>
LoadPlugin interface
<Plugin interface>
Interface "lo"
IgnoreSelected true
</Plugin>
Include "/etc/collectd.d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment