Novell Cool Solutions

NWCollect



By:

June 22, 2006 10:52 am

Reads:3,077

Comments:0

Score:Unrated

Print/PDF

License:
Free

Download nwcollect

I was asked to determine how much free disk space was available on the NetWare servers so I wrote a few scripts that will anonymously poll our LDAP server and return all the NCP server objects, mount the servers on my Linux workstation and determine the drive space.

There are few items to modify in the mapdrive.sh script such as user name, password, domain name, volume you wish to retrieve.
Section 3 of this file can be modified anyway you like to do other things, such as copy files to the mounted server.

nwcollect.sh does the ldap lookups and creates a txt file with server names. and then calls mapdrives.sh

mapdrive.sh does the mounting and executes the data collection. If you already have a list of server names then all you need is mapdrive.

Since you are mounting, both scripts should be run as root

Things you will need:
ncpfs

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...


Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS