Page 1 of 1

Autofs mounts not unmounting

Posted: Tue Oct 19, 2021 10:14 am
by nagiosxi-admins
Hi,

We have NCPA 2.3.1 agent installed on servers. We are using active checks only for monitoring these servers(ncpa_listener). Active disk checks from the Nagios server every 30 mins.

We are observing that all autofs mounts are not unmounting automatically after the timeout set in /etc/sysconfig/autofs is expired with NCPA running.

However, if we stop NCPA processes(listener and passive) these mounts are getting unmounted after the timeout.

We have also tried changing the following setting in ncpa.cfg:
from
all_partitions = 1
to
all_partitions = 0

and we have the following(default):
exclude_fs_types = aufs,autofs,binfmt_misc,cifs,cgroup,configfs,debugfs,devpts,devtmpfs,encryptfs,efivarfs,fuse,fusectl,hugetlbfs,mqueue,nfs,overlayfs,proc,pstore,rpc_pipefs,securityfs,selinuxfs,smb,sysfs,tmpfs,tracefs

But even after this change, we are still seeing the issue.

Please advise.

Re: Autofs mounts not unmounting

Posted: Wed Oct 20, 2021 9:18 am
by gsmith
Hi

Please run:

Code: Select all

cat /var/log/messages | grep automount
And reply with the output. You can PM me the output if it contains sensitive data.

Thanks