Open GitChenfan opened 3 hours ago
经查看 出问题的 采集指标 是 findmnt 查看列表 中 SOURCE 和 FSTYPE 不一致的项
经查看 出问题的 采集指标 是 findmnt 查看列表 中 SOURCE 和 FSTYPE 不一致的项
截个图吧
root@ubuntu20043:/# findmnt TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,relatime ├─/sys sysfs sysfs rw,nosuid,nodev,noexec, │ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec, │ ├─/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec, │ │ ├─/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec, │ │ └─/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec, │ ├─/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec, │ ├─/sys/fs/bpf none bpf rw,nosuid,nodev,noexec, │ ├─/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec, │ │ └─/sys/kernel/debug/tracing tracefs tracefs rw,nosuid,nodev,noexec, │ ├─/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec, │ ├─/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec, │ └─/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec, ├─/proc proc proc rw,nosuid,nodev,noexec, │ └─/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp= │ └─/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec, ├─/dev udev devtmpfs rw,nosuid,noexec,relati │ ├─/dev/pts devpts devpts rw,nosuid,noexec,relati │ ├─/dev/shm tmpfs tmpfs rw,nosuid,nodev │ ├─/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M │ └─/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec, ├─/run tmpfs tmpfs rw,nosuid,nodev,noexec, │ ├─/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec, │ ├─/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec, │ │ └─/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532614]] │ │ nsfs rw │ ├─/run/docker/netns/default nsfs[net:[4026531992]] │ │ nsfs rw │ ├─/run/docker/netns/0c4c4dfbc66a nsfs[net:[4026533121]] │ │ nsfs rw │ ├─/run/user/1001 tmpfs tmpfs rw,nosuid,nodev,relatim │ ├─/run/docker/netns/202edaffcace nsfs[net:[4026532639]] │ │ nsfs rw │ ├─/run/docker/netns/8f92fe284b37 nsfs[net:[4026533003]] │ │ nsfs rw │ ├─/run/docker/netns/d3bf38fa027f nsfs[net:[4026532706]] │ │ nsfs rw │ ├─/run/docker/netns/4413bca92d85 nsfs[net:[4026533180]] │ │ nsfs rw │ ├─/run/docker/netns/4c95c50bd30b nsfs[net:[4026532767]] │ │ nsfs rw │ ├─/run/docker/netns/62b4f11a9b19 nsfs[net:[4026532826]] │ │ nsfs rw │ ├─/run/docker/netns/4c0eb0b5e124 nsfs[net:[4026533365]] │ │ nsfs rw │ ├─/run/docker/netns/1449cd45a217 nsfs[net:[4026532885]] │ │ nsfs rw │ ├─/run/docker/netns/aca298d76dd4 nsfs[net:[4026533062]] │ │ nsfs rw │ └─/run/docker/netns/eba59bb9f97a nsfs[net:[4026532944]] │ nsfs rw ├─/data /dev/sdb1 ext4 rw,relatime │ ├─/data/docker/overlay2/d7f3729dfa420e6580247e50372d6f960893675a0deb69a24f791ba7492865d7/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/82da038b7bf90d2d17b50eb9f4f8cd5ab0e18f37973ad228fe30ef8ce0c383de/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/9529efe7d3aeb064555f2395e0cea07dbf143c7ce241e8a0bc5a8fe6b810b943/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/a0cc495712f452a924c99438d114c17704fdc954f0c9329bda091b05aa205f4d/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/3a52ecc59a6bef34c75fd3b3f6f44cd3bd28b456ec8706e862fc22db539efc93/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/00f66254c0da7605eea25eb25b814043cc175aa1a07a405eda2bda1847b107c4/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/containers/fed566f81442b1054b1ac3e3744295e1870343424d3858332596f881fdf24939/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/overlay2/696e21fc42a5c841425924e0fb437f419180a98a63c7eb641c7c729f166c0457/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/2c91ee5c824c2c2a9423ddcb0cef8c9a5dac483e9b37ef17eef940be813b936a/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/c4b130fa33f368506ea1782ebb62186945475e5e31622a71fabb4a22b8d642da/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/overlay2/c47636a6619cf7563875ce67147889455018f62e6d7f84d54b949b565e00d2ae/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/containers/0814f1e948682065df07f6c36e42f354041e80fd940fb01cd4830fa47a57712d/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/containers/2d960255c41639f42f23362836b48c263007c3458576ed670f4af034f0c378d9/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/containers/ba7448d3393f7bb2403f7b137e1a955dfb2e68558ddbcc72f2e6b14d8cdbead4/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/containers/e8a9ce6ddab5c7ba3156af3b6ab14ee65f2730cb22cf55ed1954296914e70a4a/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/overlay2/666ea52331d86b07fcd7308702f281dfab900c0bd4931b62bbbd9574215e4739/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/containers/0e258481f902f7a632dcf4ae0d397ec452e05191f02712c233196dc3c0f2ac0b/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/containers/aac1f1c572a04fb4074e66c54444f60da954ba7c4143f332111258c6575afd59/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ ├─/data/docker/overlay2/076f44e660907a3a51b1d29ef8b04c23b0a1a8f4be1f348155c7213b14e7dfd9/merged overlay overlay rw,relatime,lowerdir=/d │ ├─/data/docker/containers/81d64b80d5f3e9434f0814345ad307b1857c7dd016a840f3daf1b1fc4ab53689/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, │ └─/data/docker/containers/23943dfa80067fde0139c1417f1ddc600d0b50abd3fdcc7edbb931f77892e225/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/snap/core20/2379 /dev/loop1 squashfs ro,nodev,relatime ├─/snap/core18/2829 /dev/loop0 squashfs ro,nodev,relatime ├─/snap/core18/2846 /dev/loop3 squashfs ro,nodev,relatime ├─/snap/core20/2434 /dev/loop2 squashfs ro,nodev,relatime ├─/snap/snapd/21759 /dev/loop5 squashfs ro,nodev,relatime ├─/snap/snapd/21465 /dev/loop6 squashfs ro,nodev,relatime ├─/snap/lxd/24061 /dev/loop4 squashfs ro,nodev,relatime ├─/snap/lxd/29619 /dev/loop7 squashfs ro,nodev,relatime ├─/var/lib/docker_bk/overlay2/3a52ecc59a6bef34c75fd3b3f6f44cd3bd28b456ec8706e862fc22db539efc93/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/696e21fc42a5c841425924e0fb437f419180a98a63c7eb641c7c729f166c0457/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/00f66254c0da7605eea25eb25b814043cc175aa1a07a405eda2bda1847b107c4/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/c4b130fa33f368506ea1782ebb62186945475e5e31622a71fabb4a22b8d642da/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/c47636a6619cf7563875ce67147889455018f62e6d7f84d54b949b565e00d2ae/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/9529efe7d3aeb064555f2395e0cea07dbf143c7ce241e8a0bc5a8fe6b810b943/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/82da038b7bf90d2d17b50eb9f4f8cd5ab0e18f37973ad228fe30ef8ce0c383de/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/996fd6aa66b84ffba772ecffabed18dc3d8a11de227d2a8b998ef205e04b6001/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/2c91ee5c824c2c2a9423ddcb0cef8c9a5dac483e9b37ef17eef940be813b936a/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/overlay2/a0cc495712f452a924c99438d114c17704fdc954f0c9329bda091b05aa205f4d/merged overlay overlay rw,relatime,lowerdir=/v ├─/var/lib/docker_bk/containers/fed566f81442b1054b1ac3e3744295e1870343424d3858332596f881fdf24939/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/e8a9ce6ddab5c7ba3156af3b6ab14ee65f2730cb22cf55ed1954296914e70a4a/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/0e258481f902f7a632dcf4ae0d397ec452e05191f02712c233196dc3c0f2ac0b/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/2d960255c41639f42f23362836b48c263007c3458576ed670f4af034f0c378d9/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/0814f1e948682065df07f6c36e42f354041e80fd940fb01cd4830fa47a57712d/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/ba7448d3393f7bb2403f7b137e1a955dfb2e68558ddbcc72f2e6b14d8cdbead4/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, ├─/var/lib/docker_bk/containers/81d64b80d5f3e9434f0814345ad307b1857c7dd016a840f3daf1b1fc4ab53689/mounts/shm shm tmpfs rw,nosuid,nodev,noexec, └─/var/lib/docker_bk/containers/aac1f1c572a04fb4074e66c54444f60da954ba7c4143f332111258c6575afd59/mounts/shm shm tmpfs rw,nosuid,nodev,noexec,
input.disk的配置也贴一下
Relevant config.toml
Logs from categraf
System info
cactegraf 0.3.82 ubuntu 20.04
Docker
No response
Steps to reproduce
1. 2. 3. ...
Expected behavior
无法过滤 ignore_fs 中的配置, 页面上依旧看看到 对应 fstype 的 指标采集
Actual behavior
过滤生效,只保留有效的指标采集
Additional info
No response