Cool Solutions

Exporting a ZRS Report

coolguys

By:

September 28, 2008 4:39 pm

Reads: 3686

Comments:2

Score:0

Once you have created and tested your ZRS report, follow these steps to export your report in preparation for uploading it to the ZRS community site:

  1. On the ZRS server, create a shared folder to which you have administrator rights. This will be the destination for your exported report. In the export command below, this will be referred to as <share>.
  2. In a command prompt on your ZRS server, run the following command (with all elements in a single command, no line break):
    zman rpgn <report name> <report path> WID WEBI UNMANAGED_DISK -f <path>\<share>\<file name> -u <local ID> -p <local PW>
    
    

    where:

    <report name> is the name of your report, in double-quotes
    <report path> is the path in your ZRS directory to your report, in double quotes
    <path> is the path to your share (see step #1 above)
    <share> is the name of your share
    <file name> is the file into which your exported report will be saved
    <local ID> is an local ID for the drive where your share exists
    <local PW> is the password for that local ID

    Note – if you have not cached your ZCM Zone username and password with the “zman asc” command, you will be prompted for them. Alternately, you may specify them as part of your command line by adding the -U and -P options.

    For example, take the case of the “Windows 7 System Readiness Report” in the screen below:

    For this example, the command would be as follows (again, one long command):

    zman rpgn “Windows 7 System Readiness Report” “Novell ZENworks Reports/Custom Reports”  WID WEBI UNMANAGED_DISK -f \\192.168.1.11\d$\MyShare\Win-7-Ready -u admin -p pass
    
    

Uploading a Report to the ZRS Community

For information on how to upload your report to the ZRS Community, please refer to this link: http://www.novell.com/communities/node/1394/how-submit-content

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.

2 Comments

  1. By:pehrensing

    I’ve tried to export a report on linux. It seems that the export command runs successfully but I can not locate the report once it has been exported. I’m doing

    zman rpgn “Lost Devices” “Novell ZENworks Reports/Custom Reports” WID WEBI UNMANAGED_DISK -f /LostDevices.wid

    Unfortunately the report is not exported. Any help?

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

      zman rpgn schedules a report to be written to an unmanaged disk. Since, the scheduler is running as a zenworks user (not root) you may not be able to write it to a location where only root has access to like the folder /. It’s ok to write it to a folder on which you have access rights of of 777 so that the zenworks user can write the file there. Try running the script as follows, so that the file gets written to /tmp.

      zman rpgn “Lost Devices” “Novell ZENworks Reports/Custom Reports” WID WEBI UNMANAGED_DISK -f /tmp/LostDevices.wid

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

Comment

RSS