Dustin C. Hatch f793249ed3 collectd: df: Ignore autofs mount points
When _collectd_ calls *statvfs(3)* on paths like
`/host/proc/sys/fs/binfmt_misc` which are configured for auto-mounting,
_systemd_ logs hundreds of messages like these:

```
systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 1303 (reader#3)
systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active?
```

Eventually, _collectd_ logs an error:

```
collectd[1132]: statvfs(/host/proc/sys/fs/binfmt_misc) failed: Too many levels of symbolic links
```

This happens on every scrape interval.

To avoid this, we can configure _collectd_ to skip calling *statvfs(3)*
on _autofs_ mount points.  Even if it did work correctly, we wouldn't
really want _collectd_ triggering automounts; that would pretty much
defeat the purpose of them.
2024-02-17 21:36:21 -06:00
2024-02-13 19:54:48 -06:00
2024-01-15 11:40:58 -06:00
2024-02-13 16:55:05 -06:00
2024-01-15 11:40:58 -06:00
2024-01-14 19:24:55 -06:00
2024-01-17 17:35:21 -06:00
Description
No description provided
336 KiB
Languages
CUE 85.7%
Shell 11.3%
Jinja 3%