Page 1 of 1

UNKNOWN: The node (/nfs) requested does not exist

Posted: Fri Aug 13, 2021 6:49 am
by sneha.irali
Hi Team,

I was able to poll the /nfs file system on this RHEL server however now I see this below error, what would cause this issue.

[[email protected] ~]$ /usr/local/nagios/libexec/check_ncpa.py -H 10.127.138.103 -t 'NagiosXI@Wintershall' -P 5693 -M 'disk/logical/|nfs' -w '80' -c '90'
UNKNOWN: The node (/nfs) requested does not exist. You may be trying to access the '/' node.

NagiosXI version : 5.8.5
RHEL (on which the agent is installed) : RHEL 8.3

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Fri Aug 13, 2021 7:39 am
by sneha.irali
attaching the web GUI o/p

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Fri Aug 13, 2021 2:55 pm
by pbroste
Hello @sneha.irali

Thanks for reaching out, we see that the ncpa check on the gui is working but not from the command. Which makes us wonder if this is not related to permissions. (ls -l)

I see that you are checking using nagios as the user in the command, and would be curious to find out what happens if you run the check with root.

Please run the command with a verbose switch so we can see a bit more debug:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py --verbose --debug -H 10.127.138.103 -t 'NagiosXI@Wintershall' -P 5693 -M 'disk/logical/|nfs' -w '80' -c '90'
Let us know the results.

Thanks,
Perry

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Mon Aug 16, 2021 10:26 am
by sneha.irali
here is the o/p:

[root@hpeitocnagios ~]# /usr/local/nagios/libexec/check_ncpa.py --verbose --debug -H 10.127.138.103 -t 'NagiosXI@Wintershall' -P 5693 -M 'disk/logical/|nfs' -w '80' -c '90'
Connecting to: https://10.127.138.103:5693/api/disk/lo ... 90&check=1
File returned contained:
{
"returncode": 3,
"stdout": "UNKNOWN: The node (/nfs) requested does not exist. You may be trying to access the '/' node."
}
UNKNOWN: The node (/nfs) requested does not exist. You may be trying to access the '/' node.

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Mon Aug 16, 2021 4:03 pm
by pbroste
Hello @sneha.irali

Thanks for following up and providing the verbose check on /nfs and want to find out a bit more about the mounts on host 10.127.138.103

Code: Select all

cat mount >> /tmp/results.txt

Code: Select all

cat /proc/mounts >> /tmp/results.txt

Code: Select all

cat /etc/fstab >> /tmp/results.txt

Code: Select all

cat /etc/mtab >> /tmp/results.txt
Please private message me the /tmp/results.txt

Thanks,
Perry

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Tue Aug 17, 2021 8:51 am
by sneha.irali
Hey,

This is to let you know that the customer has unmounted those FS in actual from the RHEL servers, hence we have those alerts.

Please let me know these will be remounted in future then how do I enbale them back since for now I have been asked to delete the /nfs File system from NAgios.

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Tue Aug 17, 2021 2:06 pm
by pbroste
Hello @sneha.irali

Thanks for following up, if I understand correctly you want to stop monitoring the /nfs for the time being.

You can de-select the Active in > Core Configuration Manager (CCM).

Image

Save and Apply Configuration.

Thanks,
Perry

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Wed Aug 18, 2021 9:34 am
by sneha.irali
right.

But what if I delete it for now. How do I add it back is it that i will have to again run the wizard.

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Wed Aug 18, 2021 11:44 am
by pbroste
Hello @sneha.irali

You are correct, if you delete it you can add it again by running through the Wizard. Otherwise the option to de-select the Active in the configuration.

Thanks,
Perry

Re: UNKNOWN: The node (/nfs) requested does not exist

Posted: Thu Aug 19, 2021 3:36 am
by sneha.irali
thanks . please close the thread