Page 1 of 1

File system folder size

Posted: Wed Aug 18, 2021 12:04 pm
by seaward1983
Red Hat Enterprise Linux Server release 7.9 (Maipo)
x86_64
Manual install of XI -- running since 2019
Version of XI - Installed Version: 5.8.3

I need to be able to monitor "folder sizes" on a server, where the folders are off of a Netapp, and I can only seem to find the exact path through fstab.

I looked in the exchange - but couldn't find anything I could get to work. At a loss, so humor me if anyone gets some time. Thanks.

Re: File system folder size

Posted: Thu Aug 19, 2021 11:38 am
by benjaminsmith
Hi,
I looked in the exchange - but couldn't find anything I could get to work. At a loss, so humor me if anyone gets some time. Thanks.
There are few plugins out there on the Nagios Exchange. Which one did you try and what error message were you getting (please post the output to the thread).

Let us know. Thanks!

--Benjamin

Nagios Exchange
https://exchange.nagios.org/directory/P ... 29/details
https://exchange.nagios.org/directory/P ... ze/details

Re: File system folder size

Posted: Mon Aug 23, 2021 4:01 pm
by seaward1983
Each of the references I've found requires write access to the NetApp device. I do not have that. I do have an account that has read-only access, but that's it.

Re: File system folder size

Posted: Tue Aug 24, 2021 9:39 am
by ssax
How are you currently monitoring the server (not the netapp)? (NCPA/NRPE/SSH/SNMP/etc)

Does it show up when you run the mount command?

Code: Select all

mount
If so, you should be able to use the disk space checks with it:

https://support.nagios.com/kb/article/d ... s-770.html

Re: File system folder size

Posted: Tue Aug 24, 2021 3:31 pm
by seaward1983
Monitoring with NCPA, but it doesn't see it as valid when I try the disk space. Maybe I'm doing it wrong.

Re: File system folder size

Posted: Wed Aug 25, 2021 9:52 am
by ssax
Open up this address in your web browser:
- Change X.X.X.X to the IP of your NCPA host

Code: Select all

https://X.X.X.X:5693
Then type in your token, click API, then select Disk from the dropdown. Does it show it listed on the right hand side?

What OS/version is the remote server running?

Does it show up in the mount command output?

Re: File system folder size

Posted: Fri Aug 27, 2021 7:54 am
by seaward1983
I login to the gui of the device, first of all, very cool... select API, then disk, the mounts do not show up on the right side... for G&G I clicked on "mount" - and I don't see any of the NetApp mount points. When I run "mount" on the remote server itself, I see all of the folders/mounts
OS version for the system that is being monitored is RHEL 6.10

Re: File system folder size

Posted: Fri Aug 27, 2021 4:29 pm
by lmiltchev
Do you have the line below commented out?

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
It is in the ncpa.cfg file. If it's commented out, uncomment it (as it's shown above), safe, exit and restart the ncpa services, so that changes can take effect.

Did this help?