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:
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,tracefs
Example:
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,tracefs
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?
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'
where you substitute <client ip> and <token> with actual values.