Not able to add disks for monitoring
-
adviserlogic
- Posts: 3
- Joined: Fri Jul 26, 2019 2:52 am
Not able to add disks for monitoring
Not able to add disks for monitoring and also getting the error on existing disks "The node (/mnt/disk path) requested does not exist. You may be trying to access the '/' node." I have attached a screenshot for the same.
You do not have the required permissions to view the files attached to this post.
Re: Not able to add disks for monitoring
Can you show us one of the failing checks run from the command line, along with the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
adviserlogic
- Posts: 3
- Joined: Fri Jul 26, 2019 2:52 am
Re: Not able to add disks for monitoring
I am running the below command from the nagios server for our host for which I am getting disk monitoring error.
root@server:~# /usr/local/nagios/libexec/check_ncpa.py -H 10.XX.XX.XX -t 'XXXXXX' -P 5693 -M 'disk/logical/|mnt|path' -w 85 -c 90
The node (/mnt/path) requested does not exist. You may be trying to access the '/' node.
root@server:~# /usr/local/nagios/libexec/check_ncpa.py -H 10.XX.XX.XX -t 'XXXXXX' -P 5693 -M 'disk/logical/|mnt|path' -w 85 -c 90
The node (/mnt/path) requested does not exist. You may be trying to access the '/' node.
You do not have the required permissions to view the files attached to this post.
Re: Not able to add disks for monitoring
Can nagios user see these mounts? Run the following commands on the client (remote machine), and show the output:
Also, try the following:
1. Open the ncpa.cfg file in a text editor, and comment out this line:
Example:
2. Add a new line below it:
3. Save, exit and restart ncpa_listener:
Did this help? Can you see the disks when you run your check from the CLI on the Nagios XI server?
Can you also run the following commands from the command line on the Nagios XI server, and show the output?
where you substitute <client ip> and <token> with actual values.
Code: Select all
su - nagios
mount1. Open the ncpa.cfg file in a text editor, and comment out this line:
Code: Select all
exclude_fs_types = aufs,autofs,binfmt_misc,cifs,cgroup,configfs,debugfs,devpts,devtmpfs,encryptfs,efivarfs,fuse,fusectl,hugetlbfs,mqueue,nfs,overlayfs,proc,pstore,rpc_pipefs,securityfs,selinuxfs,smb,sysfs,tmpfs,tracefsCode: Select all
# exclude_fs_types = aufs,autofs,binfmt_misc,cifs,cgroup,configfs,debugfs,devpts,devtmpfs,encryptfs,efivarfs,fuse,fusectl,hugetlbfs,mqueue,nfs,overlayfs,proc,pstore,rpc_pipefs,securityfs,selinuxfs,smb,sysfs,tmpfs,tracefsCode: Select all
exclude_fs_types = noneCode: Select all
service ncpa_listener restartCan you also run the following commands from the command line on the Nagios XI server, and show the output?
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -V
/usr/local/nagios/libexec/check_ncpa.py -H <client ip> -P 5693 -t <token> -M 'system/agent_version'Be sure to check out our Knowledgebase for helpful articles and solutions!
-
adviserlogic
- Posts: 3
- Joined: Fri Jul 26, 2019 2:52 am
Re: Not able to add disks for monitoring
Thanks my issue has been resolved now.
Re: Not able to add disks for monitoring
Great! I will be closing this topic now. If you have any further questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!