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.
NCPA not seeing particular partition
Re: NCPA not seeing particular partition
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.
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.
- jmichaelson
- Posts: 375
- Joined: Wed Aug 23, 2023 1:02 pm
Re: NCPA not seeing particular partition
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
-Jason
Re: NCPA not seeing particular partition
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.
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.
- jmichaelson
- Posts: 375
- Joined: Wed Aug 23, 2023 1:02 pm
Re: NCPA not seeing particular partition
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
-Jason
-
namdosan1409
- Posts: 4
- Joined: Tue Jun 27, 2023 3:50 am
Re: NCPA not seeing particular partition
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
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