NCPA v2.1.4 not detecting NFS v3 mounts
Re: NCPA v2.1.4 not detecting NFS v3 mounts
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NCPA v2.1.4 not detecting NFS v3 mounts
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
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"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NCPA v2.1.4 not detecting NFS v3 mounts
cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
CentOS Linux release 7.4.1708 (Core)
Re: NCPA v2.1.4 not detecting NFS v3 mounts
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NCPA v2.1.4 not detecting NFS v3 mounts
yep i tried that , still no luck!
Re: NCPA v2.1.4 not detecting NFS v3 mounts
Please edit your /usr/local/ncpa/etc/ncpa.cfg and change these settings:
To:
Then restart the ncpa_listener service and try it again:
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.
Code: Select all
uid = nagios
gid = nagios
exclude_fs_types =
Code: Select all
uid = root
gid = root
exclude_fs_types = test
Code: Select all
service ncpa_listener restart
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
Nope its not showing either after the changes
Re: NCPA v2.1.4 not detecting NFS v3 mounts
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:
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?
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)
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
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.
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.