collectd/collectd — Issue #17: multiple mounts of same mount point makes "df" exclude not to exclude everything
Author: octo
Created: 2012-02-21 19:37:58+00:00
State: open

From: Amos Shapira (Mantis #24)

**Description:** NOTE: This is with collectd 4.10 but there is no such option in the abode "Product Version" drop-down list.

When I exclude certain mount points which appear multiple times in "mount" output from "df", it still tries to report them and fail with errors like:

```
collectd[21171]: uc_update: Value too old: name = dom0-02.iad.int.threatmetrix.com/df/df-mnt-data-html-centos-5.5-os-x86_64; value time = 1291521882; last cache update = 1291521882;
```

**Steps To Reproduce:** Our setup script has a bug in which it appends multiple identical mount points to /etc/fstab, like this:

```
/mnt/data/html/centos/5.5/CentOS-5.5-x86_64-bin-1of8.iso /mnt/data/html/centos/5.5/os/x86_64 auto loop,ro 0 0
/mnt/data/html/centos/5.5/CentOS-5.5-x86_64-bin-1of8.iso /mnt/data/html/centos/5.5/os/x86_64 auto loop,ro 0 0
```

I also have a stanza in the collectd configuration which says:

```

MountPoint "/dev/shm"
MountPoint "/mnt/data/html/centos/*"
IgnoreSelected true

```

And we get errors as quoted in the "Description" field.