I am new to Solarwinds and have been trying to figure out how to monitor network shares to ensure that they are available.
Thanks in advance for your response.
What I need is to be able to monitor shared folders and send out alerts when they are not available.
Can you use the File Count Script or the File Existence Monitor and specify a UNC path? Both of these should fail if the share is not avaialble.
Hi,
A solution could be to monitor the following WMI Performance Class:
Win32_LogicalDisk: http://msdn.microsoft.com/en-us/library/aa394173(VS.85).aspx
Network mouted drives have the DriveType set to 4.
From there you can create a Windows Script Monitor that checks if the drive is listed. If the drive is listed then set the component as up, if not set it to down.
An alternative could be to use the WMI Performance Counter monitor to monitor one the value available in the class.
Why you cannot monitor it through the default hrStorage MIB?...simply because the Windows SNMP agent does not populate network drives in this MIB.
APM Administration guide: http://www.solarwinds.com/support/apm/docs/APMAdministratorGuide.pdf
HTH,
Yann
Thank you Yann for your quick response. I did not properly state my request although I needed the info you gave me as well. What I need is to be able to monitor shared folders and send out alerts when they are not available.
The problem is as follows: I have several folders that are shared by database admins that will occasionly will become unavailable after a sql server reboot and I need to be notified and be able to restore those folders.