Question on ncpa configuration field all_partitions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vappukuttan
Posts: 52
Joined: Tue Mar 05, 2019 7:43 am

Question on ncpa configuration field all_partitions

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Question on ncpa configuration field all_partitions

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