Cool Solutions

Automated NetWare Volume Inventory Retrieval



By:

August 18, 2009 3:27 pm

Reads: 5892

Comments:0

License:
GPL

Download getreport.PL_

The script is written in perl and can be run as a script, or you can download the script that has been compiled as an exe. This way you can run this on Linux or Windows.

Requirements – script mode:

Perl
Perl Modules (Crypt::SSLeay, WWW::Mechanize, LWP, LWP::UserAgent, MIME::Base64, Posix)
OpenSSL Libraries
* You can just download the ActiveState Perl distribution for your platform as it contains all of the necessary Perl modules – http://www.activestate.com/activeperl/downloads/

Requirements – exe mode:

MS Visual C++ 2008 Redistributables:
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

Win32 OpenSSL v0.9.8k Light Installer:
http://slproweb.com/products/Win32OpenSSL.html – (choose the defaults)

Command usage:

getreport ipaddr/dns-name-of-server .user.name password

The script will connect to the server on port 8009 and submit a request for a current volume inventory of any physical volume on the server (it ignores _ADMIN).

The html files generated will be saved in a directory named with the ip address or dns name that the script was run with. The files will be saved with the naming convention of VOLUMENAME-inventory-DATESTAMP.html.

This way you can create a scheduled task or batch file for multiple servers and have data saved for trending purposes.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)


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