Contenues dansTrouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (771 Ko)
Chapter 5 Report OptionsPerformance Reporting Manager enables you to customize reporting capabilities. This chapter discusses the following topics: Report Options OverviewPerformance Reporting Manager includes several options that enable you to customize the reporting capabilities.
For more information about viewing reports in a web browser, see Options for Viewing Report Output. Scheduling ReportsYou can schedule any standard or custom report request to automatically generate at a regular interval, as long as the host names are saved in the report request. The output from all scheduled reports is posted to the Sun Management Center server machine. The reports are saved in a directory on the server machine. You access these reports in a browser at: http://server-machine-name:8080/prm/reports.
|
http://server-machine-name:8080/prm/reports |
Log in by typing your login name and password in the text fields.
Use the same login name and password that are required for the Sun Management Center server.
A table is displayed in the browser window that lists all the reports that have been posted to the web server. The name of the report request, the report category and subcategory, the report title, and the create time are displayed in the table.
To view a report, click its name in the Report Title field.
The report is displayed in the browser window.
(Optional) To print the report, use the Print option in the browser.
Close the browser window.
You can save an HTML report viewed with the Mozilla browser as a text file. Other web browsers have similar capabilities to save HTML files as text.
Start the Mozilla browser.
Display the desired report in the browser window.
For the detailed steps, see To Access a Posted Report.
Right click (mouse button 3) on the name of the report.
A pop-up menu is displayed.
Select Save Frame As from the This Frame option.
The Save As dialog box is displayed.
Select the directory to which you want to save the text file report.
Provide a name for the file.
Select Text File from the Files of type field.
Click Save.
The Save As dialog box is dismissed. The report data is saved as a text file.
Log in to the Sun Management Center web server.
For the detailed steps, see steps 1 and 2 in To Access a Posted Report.
Click the selection box (to the left) of the report you want to delete.
See Example 5–1.
From the Report Actions pull-down list, choose Delete Selected.
Click OK.
The selected reports are deleted from the list in the table and is removed from the web server.
The figure below shows a sample of the list of posted reports as it appears in a browser window.

If your report is in Line Graph format, you have several options for viewing the data. Several buttons used to access the options are located at the top of the report window. First, click the desired point on a graph, then click one of the following buttons:
Disabled – Deactivates the mouse so a click on any line in the graph does not register.
Zoom – Enlarges, or zooms, the area selected on any line. Either click the desired point or draw a lasso around a series of points for which you want more detail. The area selected appears in enlarged detail.
Alarms – A second window appears that contains a tabular report providing alarm details for the date range specified in the report request.
Processes – A second window appears that contains two tabular reports providing detail about processes. One report is titled the Top 10 CPU Processes, and the other is titled Top 10 Memory Processes. The report information is for the time represented by the data point nearest to the point selected on the line. Process data is logged every 15 minutes. Process data is available only for the last 8 days.
Reset Zoom – Resets the graph orientation back to the initial starting point.
Once you have run a report in line graph format, you can further customize the appearance of the report. From the Edit menu, choose Customize Graph. The options are the same as when completing a new custom report template. The difference is that the customizing options you select after running a report apply only to that report. You cannot save the changes, but you can post the customized report to a Sun Management Center web server for viewing or printing.
For more information, see Customizing the Appearance of Reports.
Some custom report templates have an option that enables you to customize the appearance of your Line Graph, Bar Chart, and Pie Chart reports. You add these customizing features when you create the report request. You can also modify the report request at a later time to include the desired appearance customization.
After you click the Customize button in the report template, the Customize Graph dialog box appears. The dialog box contains the following three tabs, from which you can specify these appearance changes:
Titles & Legend – Enables you to add a footer and change the legend text. From the drop-down menus, you can choose the placement of the footer or legend on the graph. You can change the x-Axis and y-Axis labels using the text fields.
Line Attributes – Use the All Lines options to change the appearance of the line thickness or line style, and symbol size. Use the drop-down menus to make your selections. Use the Specific Line options to change the appearance of a line you select from the drop-down menu.
Size & Spacing – Use the text fields to control the size of the graph width and height, or the x-Axis and y-Axis scale. You enable grid lines on the graph by selecting Show Grid. The value range for grid spacing is 0 to 100.
Some of the options in the Customize Graph dialog box are not available for Pie Chart reports.
Once you have finished selecting all the customizing options, click OK to dismiss the dialog box. You must also click OK from the report template for these options to be saved to the report request.
The legend of a report lists all the data properties contained in the report. You can insert line breaks in the legend to enhance appearance. You use HTML commands to do this. Inserting a line break by using an escape character such as \n does not work as this character is not recognized.
From the report window, choose Edit, then select Customize Graph.
The Customize Graph dialog box appears.
Select the Line Attributes folder.
The view changes to show the options already selected.
From the drop-down menu in the Selected Line field, select the name of the data property you want to edit.
The name of the data property selected in the Selected Line field appears in the Text field. You edit this field to insert the line break. The HTML tag <p> is used to create the line break.
Insert the line break by typing:
<html>data_property_name<p></html>
The line break appears wherever the <p> tag is inserted. You can place this tag anywhere in the full data property name. For example:
<html>% CPU <p>Kernel Time(0)</html> |
results in the line break appearing after % CPU in the report legend.
Click OK.
The line break appears in the report legend. Repeat this procedure for as many line breaks as you want to insert.