Autofs mounts not unmounting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosxi-admins
Posts: 17
Joined: Wed Mar 10, 2021 7:09 am

Autofs mounts not unmounting

Post 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.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Autofs mounts not unmounting

Post 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
Locked