mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-09-08 14:52:12 +00:00
Currently we loose collectd data from a node when scaling ends to a system failure on the node - yet this data can be very helpful in root causing the failure. This patch changes collectd configuration so that the output will be continuously written to host filesystem instead of the collectd container overlay that will be lost unless scaling reaches graceful exit. Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
50 lines
877 B
Plaintext
50 lines
877 B
Plaintext
Interval 5
|
|
|
|
LoadPlugin aggregation
|
|
LoadPlugin cpu
|
|
LoadPlugin csv
|
|
LoadPlugin interface
|
|
LoadPlugin ipc
|
|
LoadPlugin memory
|
|
LoadPlugin cpufreq
|
|
LoadPlugin df
|
|
|
|
Hostname localhost
|
|
|
|
<Plugin "cpu">
|
|
ReportByCpu true
|
|
ReportByState true
|
|
ValuesPercentage true
|
|
</Plugin>
|
|
<Plugin "csv">
|
|
DataDir "/mnt/opt/collectd/run"
|
|
StoreRates true
|
|
</Plugin>
|
|
<Plugin "interface">
|
|
Interface "/^eno/"
|
|
Interface "/^ens/"
|
|
Interface "/^enp/"
|
|
Interface "/^em/"
|
|
Interface "/^eth/"
|
|
IgnoreSelected false
|
|
</Plugin>
|
|
<Plugin "aggregation">
|
|
<Aggregation>
|
|
Plugin "cpu"
|
|
Type "percent"
|
|
|
|
GroupBy "Host"
|
|
GroupBy "TypeInstance"
|
|
|
|
CalculateSum true
|
|
CalculateAverage true
|
|
</Aggregation>
|
|
</Plugin>
|
|
<Plugin "df">
|
|
Device "overlay"
|
|
MountPoint "/"
|
|
FSType "overlay"
|
|
ReportInodes true
|
|
IgnoreSelected false
|
|
</Plugin>
|