2.4 Configuring the ZENworks Reporting Server to Export Reports

You can configure ZENworks Reporting Server to export reports by e-mail, by setting up file locations or an FTP server at the destination.

Review the following sections to understand the different ways in which you can export the reports:

2.4.1 Configuring the ZENworks Reporting Server to Send E-Mail Notifications to the ZENworks Administrator

You can distribute reports created in ZENworks Reporting Server InfoView by automatically including them in an e-mail.

To configure ZENworks Reporting Server to send e-mail notifications to the ZENworks administrator:

  1. In ZENworks Control Center, click the Configurations tab.

  2. In the Management Zone Settings panel, click Reporting Services.

  3. Click E-mail Notification Settings to display the E-mail Notification Settings page.

  4. Fill in the following fields:

    From: Specify the sender’s e-mail address.

    To: Specify the e-mail address of the recipients to whom you want to send the report. You can specify more than one e-mail address by separating them with commas.

    CC: Specify the e-mail address of the recipients to whom you want to send a carbon copy of the report. You can specify more than one e-mail address by separating them with commas.

    Subject: Specify the subject of the e-mail. You can also use predefined macros for the subject. You can also use the predefined macros for the subject. Click Subject macro, then select the variable you want to use. The following table describes various variables and their respective macros:

    Variable

    Macro as Displayed in the Subject Field

    Description

    Title

    %SI_NAME%

    Name of the report.

    ID

    %SI_ID%

    Report ID.

    Owner

    %SI_OWNER%

    Name of the report owner.

    Date/Time

    %SI_STARTTIME%

    Date and time when the report is scheduled.

    User Full Name

    %SI_USERFULLNAME%

    Name of the administrator who schedules and sends the report.

    E-mail Address

    %SI_EMAIL_ADDRESS%

    E-mail address of the administrator who schedules and sends the report.

    Message: Specify the message to be sent. You can also use the predefined macros to send the message. Click Message macro, then select the variable you want to use. The following table describes various variables and their respective macros:

    Variable

    Macro as Displayed in the Subject Field

    Description

    Title

    %SI_NAME%

    Name of the report.

    ID

    %SI_ID%

    Report ID.

    Owner

    %SI_OWNER%

    Name of the report owner.

    Date/Time

    %SI_STARTTIME%

    Date and time when the report is scheduled.

    User Full Name

    %SI_USERFULLNAME%

    Name of the administrator who schedules and sends the report.

    E-mail Address

    %SI_EMAIL_ADDRESS%

    E-mail address of the administrator who schedules and sends the report.

    Viewer Hyperlink

    %SI_VIEWER_URL%

    The URL for the viewer in which you want the E-mail recipient to view the report.

    Attach Report Instance to E-mail Message: Select this option, and configure the following settings if you want to attach an instance of the report to the e-mail:

    • Use the Default Filename (Randomly Generated): Select this option if you want a default name to be assigned to the report instance. By default, this option is selected.

    • Specify a Filename: Select this option, then specify a name for the report instance. You can also use predefined macros to create the filename. You can also use predefined macros to create the filename. Click Filename macro, then select the variable you want to use. The following table describes various variables and their respective macros:

      Variable

      Macro as Displayed in the Subject Field

      Description

      Title

      %SI_NAME%

      Adds the name of the report to the filename.

      ID

      %SI_ID%

      Adds the report ID to the filename.

      Owner

      %SI_OWNER%

      Adds the name of the report owner to the filename.

      Date/Time

      %SI_STARTTIME%

      Adds the date and time when the report is scheduled to the filename.

      User Full Name

      %SI_USERFULLNAME%

      Adds the name of the administrator who schedules and sends the report.

      E-mail Address

      %SI_EMAIL_ADDRESS%

      Adds the E-mail address of the administrator who schedules and sends the report, to the filename.

      File Extension

      %EXT%

      .Adds the .ext extension to the filename.

      • Add File Extension: Select this option if you want the file extension to be added to the name of the report instance.

  5. Click OK to save the changes.

2.4.2 Configuring the ZENworks Reporting Server to Set Up Destination File Locations

You can specify the destination directory for the report instances on ZENworks Reporting Server or on any other remote server.

To configure ZENworks Reporting Server to specify the file locations:

  1. In ZENworks Control Center, click the Configurations tab.

  2. In the Management Zone Settings panel, click Reporting Services.

  3. Click File Location Notification Settings to display the File Location Notification Settings page.

  4. Fill in the following fields:

    Directory: Specify the path to the directory on the destination device to save the report instance.

    Filename: You can either select a default name or specify a name for the report instance.

    Use the Default Filename (Randomly Generated): Select this option to assign a default name to the report instance. By default, this option is selected.

    Specify a Filename: Select this option, then specify a name for the report instance.

    • Add File Extension: Select this option to add a file extension to the name of the report instance.

    Username: Specify the username who has the permission to write files to the destination directory.

    Password: Specify the password for the username you provided.

2.4.3 Configuring the ZENworks Reporting Server to Set Up the Destination FTP Server

You can specify the destination on the FTP server where you want to transfer the reporting instances.

To configure ZENworks Reporting Server to specify the location:

  1. In ZENworks Control Center, click the Configurations tab.

  2. In the Management Zone Settings panel, click Reporting Services.

  3. Click FTP Server Notification Settings to display the FTP Server Notification Settings page.

  4. Fill in the following fields:

    Host: Specify the hostname of the FTP server where you want to transfer the reporting instances.

    Port: Specify the port on which the FTP server is running. The default port is 21.

    Username: Specify the username that has permission to write the report instances to the FTP server.

    Password: Specify the password for the username you provided.

    Account: Specify the FTP account information that is part of the standard FTP protocol. Provide this information only if your FTP server requires it.

    Directory: Specify the path for the directory on the FTP server where you want to save the report instance.

    Filename: You can either select a default name or specify a name for the report instance.

    Automatically Generated: Select this option to assign a default name to the report instance. By default, this option is selected.

    Specify a Filename: Select this option, then specify a name for the report instance.

    • Add File Extension: Select this option to add a file extension to the name of the report instance.