Page 1 of 1

NCPA monitoring file systems and drives

Posted: Mon Jun 04, 2018 6:08 am
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?

Re: NCPA monitoring file systems and drives

Posted: Mon Jun 04, 2018 10:14 am
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