Page 2 of 4

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Fri Aug 03, 2018 4:56 pm
by cdienger
I haven't been able to reproduce it yet, but try commenting out the exclude_fs_types line to allow everything and let me know if this changes the behavior at all. I honestly don't expect it to, but it is worth testing while I try to reproduce on my end.

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Wed Aug 08, 2018 4:07 pm
by madhu2852
I did try that but still can't see the mounts in the NCPA GUI.

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Fri Aug 10, 2018 9:52 am
by cdienger
Thanks for clarifying. We're working to reproduce the issue - can you let us know what version of redhat the lcient is installed on? "cat /etc/redhat-release"

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Thu Aug 16, 2018 11:51 am
by madhu2852
cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Fri Aug 17, 2018 1:21 pm
by jomann
If you remove all the file system types from the exclude_fs_types section it will default to the large list you see there normally. Instead of doing that I would recommend setting it to something that doesn't exist like exclude_fs_types = testdebug to verify it isn't blocking any.

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Fri Aug 17, 2018 2:32 pm
by madhu2852
yep i tried that , still no luck!

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Fri Aug 17, 2018 4:27 pm
by ssax
Please edit your /usr/local/ncpa/etc/ncpa.cfg and change these settings:

Code: Select all

uid = nagios
gid = nagios

exclude_fs_types =
To:

Code: Select all

uid = root
gid = root

exclude_fs_types = test
Then restart the ncpa_listener service and try it again:

Code: Select all

service ncpa_listener restart
Check by going to Live Data > Disks in the interface, hit CTRL-F and search for the mount.

Then go to API, select Disk from the dropdown, then CTRL-F and search for the mount.

Is showing in either?

Let us know the results.

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Wed Aug 22, 2018 12:14 pm
by madhu2852
Nope its not showing either after the changes

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Wed Aug 22, 2018 4:47 pm
by ssax
Do you have any other machines that you're able to reproduce this on? We're currently unable to reproduce it.

What does the exact output show in your "mount" command output? For example, here's mine:

Code: Select all

XXX.XXX.XXX.XXX:/var/nfs on /mnt/nfs/var/nfs type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=XXX.XXX.XXX.XXX,mountvers=3,mountport=42811,mountproto=udp,local_lock=none,addr=XXX.XXX.XXX.XXX)
How exactly are you mounting it?

Can you post what you have set in your /etc/exports on the NFS server for the share so that we can try to replicate it?

Re: NCPA v2.1.4 not detecting NFS v3 mounts

Posted: Thu Aug 23, 2018 12:10 pm
by madhu2852
mount command output:

Below mount is not visible in NCPA API
/data type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=XXXX,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=XXXX)

Below Mount is Visible in NCPA API
/logs type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXXX,local_lock=none,addr=XXXX)

We are using NetAPP storage.