13.31 SetReportPaths

Use this Knowledge Script to change the default output path used by the report agent.

You can also use this script to instruct the report agent to display the locations of reports as hyperlinks in events. By default, the absolute path to a report is displayed as text on the Message tab of the Event Properties dialog box. Use this script to display a hyperlink to the report in addition to the default text. Clicking the hyperlink opens an instance of Internet Explorer to display the contents of the report.

13.31.1 Resource Object

AM Repositories object under the Report agent

13.31.2 Default Schedule

The default interval for this script is Run once.

13.31.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event when change to report path succeeds?

Set to y to raise an event when one or both of these paths are successfully changed. The default is y.

Base output path

Use this parameter to set a new base output path for the Report Agent.

Type the path using the following format:

\\<server>\<share>\<path to folder>

where:

<server> is the computer where you want to write reports.

<share> is the share name of the drive where you want to write reports.

<path to folder> is the absolute path to the folder where you want to write reports.

For example, the base output path might be:

 \\RptServer\C$\Program Files\NetIQ\ReportCenter\Web\Report

You can also use an absolute path for the value of this parameter. For example:

C:\Program Files\NetIQ\ReportCenter\Web\Report

NOTE:Leave this parameter blank if you are only using this script to set the URL mapping parameter.

URL mapping

Use this parameter to set the URL mapping registry value.

Type the URL to the AppManager Web Management Server using the following format:

<protocol name>://<web server name>

where:

<protocol> is the Internet Protocol, either HTTP or HTTPS.

<web server name> is the computer where you have installed the AppManager Web management server.

NOTE:This parameter should be left blank if you are only using this script to set the Base output path parameter.

This parameter must be set in order to successfully use Action_SMTPMailRpt.

Event severity when change to report path succeeds

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 35 (magenta level indicator).

Event severity when change to report path fails

Set the event severity level, from 1 to 40, to indicate the importance of the event when the job fails. The default is 5 (red level indicator).