Article

Generating volume_inventory.html for automation

Author Info

14 February 2007 - 11:43am
Submitted by: chaojareon

article
Reads:

1423

Score:
0
0
 
Comments:

1

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.


Author Info

14 February 2007 - 11:43am
Submitted by: chaojareon




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.

© 2009 Novell, Inc. All Rights Reserved.