Page 1 of 1

NCPA not seeing particular partition

Posted: Mon Nov 13, 2023 4:38 pm
by NVESMM
Hello,

We are moving from check_nrpe to NCPA on several remote hosts. It seems that there is specifically one partition that NCPA does not seem to see while check_nrpe returns DISK OK. This is happening on several remote hosts.

Is there any specific troubleshooting that we would need to ask the system administrators of the remote hosts to perform?

Example:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H IPADDRESS -c check_disk1 -t 30 -a 10% 5% "/dbexports"
DISK OK - free space: /dbexports 25656 MB (83% inode=99%);| /dbexports=5063MB;27648;29184;0;30720

vs

[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_ncpa.py -H IPADDRESS-t 'TOKEN' -P 5693 -M 'disk/logical/|dbexports' -w '90' -c '95'
UNKNOWN: The node (/dbexports) requested does not exist. You may be trying to access the '/' node.

However, all other checks on NCPA for the systems (CPU, memory, other partitions on the system) are reporting back except for the dbexports partition mentioned.

Thank you.

Re: NCPA not seeing particular partition

Posted: Tue Nov 14, 2023 10:46 am
by jsimon
Hi @NVESMM,

I would recommend asking the admins of this remote host to confirm that the NCPA process is running under the same user on the same system as the NRPE process, to confirm it isn't a permissions issue. Assuming it is not, the next steps would probably be to determine what file system that mount point is, and to ensure it isn't included in their excluded FS types (exclude_fs_types option within the ncpa.cfg file).

Let us know if you need any clarifying information, otherwise this would be the information we'd be looking for to determine next steps.

Re: NCPA not seeing particular partition

Posted: Wed Nov 15, 2023 12:20 pm
by jmichaelson
In addition, if this isn't a permission problem (which does seem likely; NCPA runs as the user nagios, group nagios on Linux.Unix-like systems), I'm curious if there's a difference in file system type for this mount point versus the others where NCPA is working just fine. e.g., / is ext4 and /dbexports is xfs, or something liket that.

Re: NCPA not seeing particular partition

Posted: Wed Nov 15, 2023 4:05 pm
by NVESMM
Thank you jsimon and jmichaelson.

I'm waiting for a response from the system administrator regarding both of your replies. I also provided the system administrators with a few hosts that had the dbexports working fine with NCPA just in case there is a difference in the file system type.

I will reply once I hear back.

Thanks again.

Re: NCPA not seeing particular partition

Posted: Fri Nov 17, 2023 11:11 am
by jmichaelson
A couple of things in the meantime. First, we just released V3 of NCPA. You may want to give that a try. Second, out of curiosity, what platform is this on?

Re: NCPA not seeing particular partition

Posted: Mon Nov 20, 2023 9:05 pm
by namdosan1409
In Windows 11 searching for netcpl.cpl in start menu does not find anything: Indeed, searching the whole file system the file is not found. retro bowl college

Re: NCPA not seeing particular partition

Posted: Tue Jul 16, 2024 6:45 am
by Lillian
To resolve NCPA not seeing a particular partition, ensure the partition is mounted correctly and update the NCPA configuration to include the correct mount points