monitoring/conf/collectd/collectd.conf

55 lines
864 B
Plaintext

Interval 10
LoadPlugin syslog
LoadPlugin cpu
LoadPlugin memory
LoadPlugin network
LoadPlugin logfile
LoadPlugin write_graphite
<Plugin logfile>
LogLevel "debug"
File STDOUT
Timestamp true
PrintSeverity false
</Plugin>
<Plugin cpu>
ReportByCpu true
ReportByState true
ValuesPercentage false
</Plugin>
<Plugin memory>
ValuesAbsolute true
ValuesPercentage true
</Plugin>
<Plugin network>
Server "db" "25826"
MaxPacketSize 1452
Forward true
#CacheFlush 1800
TimeToLive 128
</Plugin>
<Plugin write_graphite>
<Node "docker-compose">
Host "db"
Port "2003"
Protocol "tcp"
ReconnectInterval 0
LogSendErrors true
Prefix "collectd"
Postfix "collectd"
StoreRates true
AlwaysAppendDS false
EscapeCharacter "_"
SeparateInstances false
# PreserveSeparator false
# DropDuplicateFields false
</Node>
</Plugin>