Excluding docker mounts
![](https://secure.gravatar.com/avatar/948a18f2bb45baf8cafea289dac502e4.jpg?s=120&d=mm&r=g)
Hi,
I'm running docker containers on one of my workstations and the syslog on that machine is now getting heaps of 'permission denied errors' like this:
*Sep 22 16:25:05 raven snmpd[3295]: /var/lib/docker/aufs/mnt/5e126344b6b34ec70d5982e5cdf121bdf9698342a9223f6ef2d1e7d01cf3fff7: Permission denied*
If I execute a non-root *df -h'* I'm also getting *permission* *denied*.
I've tried to exclude the mentioned path using *$config['ignore_mount_string'][]* but that didn't do anything.
I assume the other way would be to exclude it somehow using snmpd config, but got no idea how to.
Cheers,
Pieter
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Pieter,
We walk a table which gives us all mountpoints when we do discovery, which means you'll be seeing this message every 6 hours regardless of ignore_mount settings. I'm not sure if ignore_mount_string is for entire strings or substring matches (probably the former) - try using ignore_mount_regex.
Tom
On 22/09/2014 14:07, overige@vanderpoel.com.au wrote:
Hi,
I'm running docker containers on one of my workstations and the syslog on that machine is now getting heaps of 'permission denied errors' like this:
*Sep 22 16:25:05 raven snmpd[3295]: /var/lib/docker/aufs/mnt/5e126344b6b34ec70d5982e5cdf121bdf9698342a9223f6ef2d1e7d01cf3fff7: Permission denied*
If I execute a non-root *df -h'* I'm also getting *permission* *denied*.
I've tried to exclude the mentioned path using *$config['ignore_mount_string'][]* but that didn't do anything.
I assume the other way would be to exclude it somehow using snmpd config, but got no idea how to.
Cheers,
Pieter
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/8c69f24bbccbb095eb5b8a7c2d5c485f.jpg?s=120&d=mm&r=g)
On 09/22/2014 02:07 PM, overige@vanderpoel.com.au wrote:
You ofcourse could instruct snmpd to ignore these mounts using the ignoreDisk statement.
Hi,
I'm running docker containers on one of my workstations and the syslog on that machine is now getting heaps of 'permission denied errors' like this:
*Sep 22 16:25:05 raven snmpd[3295]: /var/lib/docker/aufs/mnt/5e126344b6b34ec70d5982e5cdf121bdf9698342a9223f6ef2d1e7d01cf3fff7: Permission denied*
If I execute a non-root *df -h'* I'm also getting *permission* *denied*.
I've tried to exclude the mentioned path using *$config['ignore_mount_string'][]* but that didn't do anything.
I assume the other way would be to exclude it somehow using snmpd config, but got no idea how to.
Cheers,
Pieter
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Cliff Albert
-
overige@vanderpoel.com.au
-
Tom Laermans