We have an ongoing issue with a sensor which is an SSH disk free space sensor. Having investigated the issue is owing to stale mounts on laptops that are mounted onto it. If you log onto the server and run df command with the switch of -l it just looks at local disks. Is there a way of implementing this or the sensor being altered to exclude the mount.
The mounts are under CIFS shares, if i log onto the server and run command df -h it hangs as a result. If i do a df -l it returns straight away.
Having looked at the command that PRTG runs it does not use -l switch for local as this returns straight away
From the docs and link below I think the following.
df -TP -x tmpfs -x devtmpfs -x debugfs
needs to be df -l -TP -x tmpfs -x devtmpfs -x debugfs