3.2 Managing Reports

3.2.1 Report Tasks

You can modify, schedule, or delete reports. You can also view the previous instance or the latest instance of the reports.

  1. In the ZENworks Control Center, click Reports.

  2. In the ZENworks Reporting Server Reporting panel, click ZENworks Reporting Server InfoView to launch the ZENworks Reporting Server InfoView.

  3. View or modify the reports as necessary.

    Refer to the following table to understand the tasks that you can perform on a report:

    Task

    In ZENworks Reporting Server InfoView

    By using command line

    Additional Details

    Viewing the previous report instances

    Click Actions > History.

    report-list-history (rplh) [options] (report name) (report folder) (report type)

    Lists the report instances you can view.

    Viewing the latest instance of a report

    Click Actions > View Latest Instance.

    Not available

    The latest instance is the one most recently created.

    Deleting a report or report instance

    Click Actions > Delete.

    Only the Administrator account can delete the report instances in the Predefined Reports folder.

    Modifying a report

    Click Actions > Modify.

    Not available

    You can modify the report template, queries, and layout.

    Scheduling a report

    Click Actions > Schedule.

    report-schedule (rps) (report name) (report folder) (report type) (report destination)

    You can schedule a report to automatically run at a certain time.

    Importing a single report

    Not available

    report-deploy (rpd) (file path) (destination folder) [report type]

    You can import a single report to the ZENworks Reporting Server

    Importing all custom reports

    Not available

    report-load (rpld) (source folder)

    Imports all the reports, reporting rights, and ownership details from the specified folder to the Custom Reports folder.

    Exporting a single report or a report instance

    Not available

    report-generate-now (rpgn) (report name) (report folder) (report type) (format type) (report destination) [options]

    You can export the report to a file.

    The report type should be set as WID to export report definitions.

    Exporting all custom reports

    Not available

    report-save (rpsv) (destination folder)

    You can export the reports, reporting rights, and the ownership details from the local ZENworks Reporting Server to the specified folder.

    The report type should be set as WID to export report definitions.

For more information on how to use the zman command line utility, see Report Commands in the ZENworks 11 SP2 Command Line Utilities Reference.

3.2.2 Scheduling Reports to a Shared Network Drive on a Linux Device

  1. Install the rsh-server package on the server and enable the rexec service.

    NOTE:Verify that the rsh-server is installed by using the following command:

    rpm -qa | grep rsh-server

    (Conditional) If the rsh-server is installed, the command returns the following output: rsh-server-<version number>. Go to step Step 1.c.

    1. Download the RPM into the /tmp directory on the Linux device.

    2. Install the RPM.

    3. Edit the value of the following configuration file from YES to NO.

      /etc/xinetd.d/rexec with DISABLE = NO
      
    4. (Conditional) If the /etc/securetty file exists, add rexec as an entry in the file.

    5. Restart the xinetd service by using the /sbin/service xinetd restart command.

      To check if the service is enabled, run the following commands:

      • chkconfig --list | grep rexec

        If the service is enabled, rexec is displayed when you run this command.

      • netstat -anp | grep 512

        This command indicates whether the rexec service default port (512) is open and listening. If the port is not open and not listening, you need to restart your machine to successfully enable the service.

  2. Mount the network drive locally on the Linux server.

  3. On the File Location Notification Settings page in ZENworks Control Center, specify the mounted location as the Directory value.

  4. Configure the root user details.

    You can now schedule a report to a shared network drive.