Please find attached the plugin script file to monitor NTFS Mount Points on a server. Download and unzip the file from the attachment 'NTFSMountPoint.ps1'.
We request you to change the value for the attribute '$mountpointpath' in the below line of the plugin file with the list of the mount point paths to monitor:
$mountpointpaths = @("C:\","D:\","E:\","Y:\")
Once changed, please perform the below steps to add a plugin monitor in the Site24x7 web client to start monitoring:
- Please go to the below directory on one of the servers:
<Site24x7 Windows Agent Intallation path>\monitoring\Plugins
- Create a folder by the name 'NTFSMountPoint' and copy the NTFSMountPoint.ps1 file to the above folder. (Ensure the plugin file name and the folder name are the same).
This will add a plugin monitor for mount points in the Site24x7 web client. Wait for a couple of minutes and go to Server > Server Monitor > Servers > click on the server monitor > Plugins tab. The following metrics will be displayed for this monitor:
- Total Size
- Free Space
- Status - If the status is 1, the mapped network drive is available. If the status is 0, then the mapped network drive may be disconnected or network is unavailable. You can set thresholds to be notified when the status value is 0.
Hope this helps. Please let us know for queries, if any, in the below thread.