After you map the drive you could test to see if the drive exists...
if not exist x:\ goto DriveNotMapped
...Backup
goto end
:DriveNotMapped
...Send Trap
goto end
:end
You can get a command line trap sending program from a number of places. If
you check out this list's achieves you will find references to a few. An
Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Jeff Cook
Network Administrator
Whatcom Educational Credit Union
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 7:38 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] monitor shared drive mapping
I need to monitor the ability to map a drive on another server.
The target server is owned and managed by one of our vendors. The only
rights we have to this server is a shared drive mapping to an external Jazz
Drive, which they use as a backup device. We copy the data from that drive
each day to a tape drive for offsite storage.
I have a batch job on one of my servers that runs each day to do the
backups. For some reason about once a month their server refuses to allow
us to map a drive and make the backups. If I don't notice it, we don't get
backups until I notice it and contact their tech support to fix it.
Can I monitor the ability to map a drive???
Can I put something in the batch job to send a trap or otherwise trigger an
alarm with WUG???
Thanks
Steve Murphy
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/