NCPA not seeing particular partition

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
NVESMM
Posts: 11
Joined: Thu Oct 27, 2022 1:31 pm

NCPA not seeing particular partition

Post 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.
jsimon
Posts: 339
Joined: Wed Aug 23, 2023 11:27 am

Re: NCPA not seeing particular partition

Post 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.
User avatar
jmichaelson
Posts: 375
Joined: Wed Aug 23, 2023 1:02 pm

Re: NCPA not seeing particular partition

Post 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.
Please let us know if you have any other questions or concerns.

-Jason
NVESMM
Posts: 11
Joined: Thu Oct 27, 2022 1:31 pm

Re: NCPA not seeing particular partition

Post 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.
User avatar
jmichaelson
Posts: 375
Joined: Wed Aug 23, 2023 1:02 pm

Re: NCPA not seeing particular partition

Post 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?
Please let us know if you have any other questions or concerns.

-Jason
namdosan1409
Posts: 4
Joined: Tue Jun 27, 2023 3:50 am

Re: NCPA not seeing particular partition

Post 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
Lillian
Posts: 3
Joined: Thu Jul 04, 2024 4:28 pm

Re: NCPA not seeing particular partition

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