monitor disk usage for network shares

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pavankumar
Posts: 14
Joined: Wed Aug 28, 2019 11:03 am

monitor disk usage for network shares

Post by pavankumar »

We have got an use case to monitor disk usage for network shares(ex: \\kw\data\). What are all the solutions available in Nagios XI.

1. We are using NCPA. Can it automatically detect network shares if we update "exclude_fs_types" to blank in ncpa.cfg
2. Is there any out of box plugin for this purpose. Can we use check_disk_smb, if so can you provide an example.
3. Can we monitor network shares using SNMP.

Thanks,
Pavan.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: monitor disk usage for network shares

Post by cdienger »

I'd recommend running https://raw.githubusercontent.com/palte ... kCheck.ps1 with the NCPA agent to get the share information. Integrating it is covered in https://support.nagios.com/kb/article/n ... a-722.html.

A few plugins exist to get disk information via SNMP. For example:

https://exchange.nagios.org/directory/P ... ce/details
https://exchange.nagios.org/directory/P ... pl/details
https://exchange.nagios.org/directory/P ... ck/details

An example of the check_smb_share command:

Code: Select all

./check_disk_smb -H 192.168.55.5 -s "sharename" -u administrator -p 'password'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked