NCPA monitoring file systems and drives

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

NCPA monitoring file systems and drives

Post by raamardhani7 »

Hi Team,

Kindly let us know, does NCPA agent auto detects all the drives and files systems present on Windows and AIX/LINUX servers respectively on it own and monitor them?

Or we have to configure them manually as we do it for NRPE and NSClient++.

Also let us know for each file system on a server will NCPA create a different service in Nagios or all file systems will be monitored under single service for single server?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA monitoring file systems and drives

Post by lmiltchev »

Kindly let us know, does NCPA agent auto detects all the drives and files systems present on Windows and AIX/LINUX servers respectively on it own and monitor them?
Or we have to configure them manually as we do it for NRPE and NSClient++.
In Nagios Core, you would have to set up these checks manually. In Nagios XI, you could run the NCPA wizard, which would discover the file systems/drives for you. Keep in mind that some of the file system types are excluded by default in the ncpa.cfg file's directives.

Example:

Code: Select all

exclude_fs_types = aufs,autofs,binfmt_misc,cifs,cgroup,debugfs,devpts,devtmpfs,encryptfs,efivarfs,fuse,hugelbtfs,mqueue,nfs,overlayfs,proc,pstore,rpc_pipefs,securityfs,smb,sysfs,tmpfs,tracefs
You could modify the entry above and remove some of the file system types from the excluded list. You could even use:

Code: Select all

exclude_fs_types =
in order to discover ALL of the fs types.
Also let us know for each file system on a server will NCPA create a different service in Nagios or all file systems will be monitored under single service for single server?
The NCPA wizard would create a separate checks. If you wanted to set up one check for all fs types, you would need to set it up manually. You could probably use the check_multi plugin to do so.

https://exchange.nagios.org/directory/P ... ti/details
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked