Remotely Checking Windows: Mapped Network Drives

Subhendu Ghosh sghosh at sghosh.org
Wed Dec 21 17:03:12 CET 2005


On Wed, 21 Dec 2005, Robert Reeves wrote:

> I have several windows servers that use mapped network drives. At times,
> these drives become unavailable and halt services. I would like to be
> able to monitor these drives.
>
> I have both NRPE_NT and nsclient running on the Windows boxes. Both
> responses are not working for me:
>
> NRPE
> Status: OK
> Status Information: DEBUG : 12/21/05 08:59:15: GetDiskFreeSpaceEx()
> returned an error
>
> Nsclient:
> Status: UNKNOWN
> Status Information: Free disk space : Invalid drive
>
> I have attempted to run both services as the SYSTEM account and as a
> valid domain user. Both result in the same response.
>
> There is an earlier thread that suggests granting the SYSTEM user
> permissions to the share. However, due to some uniqueness with how we
> set up the mapped network drives, I am unable to change the permissions
> on the shares. There are from a Linux box running Samba.
>
> Does anybody have a solution for this? I simply need to make sure the
> drives are accessible from the Windows server, so I'm willing to go in a
> different location instead of checking free space left.
>
> Thanks,
>
> Robert
>

server os - win2k or win2k3?

Have you tried using NRPE_NT with a script that uses the 
WMI32_MappedLogicalDisk to enumerate mapped disks?


-- 
-sg


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list