mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(host): telegraf ignore hugetlbfs
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
This commit is contained in:
@@ -98,7 +98,7 @@ func (s *STelegraf) GetConfig(kwargs map[string]interface{}) string {
|
||||
conf += "\n"
|
||||
conf += "[[inputs.disk]]\n"
|
||||
conf += " ignore_mount_points = [\"/etc/telegraf\", \"/etc/hosts\", \"/etc/hostname\", \"/etc/resolv.conf\", \"/dev/termination-log\"]"
|
||||
conf += " ignore_fs = [\"tmpfs\", \"devtmpfs\", \"overlay\", \"squashfs\", \"iso9660\", \"rootfs\"]\n"
|
||||
conf += " ignore_fs = [\"tmpfs\", \"devtmpfs\", \"overlay\", \"squashfs\", \"iso9660\", \"rootfs\", \"hugetlbfs\"]\n"
|
||||
conf += "\n"
|
||||
conf += "[[inputs.diskio]]\n"
|
||||
conf += " skip_serial_number = false\n"
|
||||
|
||||
Reference in New Issue
Block a user