Article
Problem:
Generating the volume_inventory.html file requires you to log into NRM, and click on reports, then the volume you want to see the report on. Once there you can see a report of the current inventory. This however is unwieldy if you have more than just a few servers to run inventory on.
Solution:
The report will generate by going to the following url:
https://yourserver:8009/VolumeStatus/[volume]/INVENTORY2
You will need to authenticate as a server admin. This can be added in a script through wget.
Example:
wget https://yourserver:8009/VolumeStatus/[volume]/INVENTORY2--no-check-certificate --http-user=[server admin] --http-password=[password] --delete-after
replace [volume], [server admin], and [password] with appropriate values eg:
wget https://fakecompany.com:8009/VolumeStatus/SYS/INVE... --http-user=.admin.fake --http-password=fakepassword --delete-after
Environment:
This was done on a NetWare 6.5 sp5. wget can be run from many different types of OS' including NetWare.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
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, test, test before you do anything drastic with it.
Related Articles
User Comments
Generating volume_inventory.html for automation
Submitted by dbrinin on 24 February 2008 - 6:07am.
Need to do exactly this however the sugestion doesn't seem to work. All I get is the downloaded login page not the volume inventory I was after. NW6.5 SP5 running wget on Win2K3.
- Be the first to comment! To leave a comment you need to Login or Register
Additional Switches
Submitted by rkensrud on 30 November 2009 - 1:39pm.
You should also add a "-E" to add the .html extension, and a "--auth-no-challenge" to get the inventory file rather than the login screen file.
Additionally, there is a space between INVENTORY2 and the --no-check-certificate which is not in the example above.
- Be the first to comment! To leave a comment you need to Login or Register


2