Page 1 of 1

Question on ncpa configuration field all_partitions

Posted: Tue Jan 18, 2022 7:37 pm
by vappukuttan
Hello,

Is the all_partitions ncpa configuration mainly for the API and wizard? What does the parameter control. The default is True.

Thank you,
Vinod

Re: Question on ncpa configuration field all_partitions

Posted: Wed Jan 19, 2022 10:23 am
by ssax
When all_partitions is set to 0 it will try to only show physical devices instead of other devices such as pseudo, memory, duplicate, or inaccessible filesystems.

See the psutil link below for an explanation of the functionality:

Code: Select all

#
# Display all mounted disk partitions
# (essentially setting all=True here: https://psutil.readthedocs.io/en/latest/#psutil.disk_partitions)
# Default: 1
#
all_partitions = 1
Taken from here:

https://github.com/NagiosEnterprises/nc ... cfg.sample