HP 3PAR System Reporter 3.1.0 Software User's Guide (QL226-96645, December 2012)
7 Web Queries
About Web Queries
System Reporter Web queries to the System Reporter Web server have the following basic format:
http://<server_name>/cgi-bin/3par-rpts/
inserv_perf.exe?report=<report_name>[&<option>...]
where:
• <server_name> is the Web server where Apache HTTP Server and the System Reporter
Web scripts are installed.
• <report_name> is the name of a report described in this chapter.
• <option>... represents one or more general or report-specific options that are described
in this chapter.
NOTE: In the above example and elsewhere in this chapter, the following typographical
conventions are used:
• variables are denoted by angle brackets (for example, <server_name>)
• braces denote optional items (for example [&<option>])
• ellipses denote that the preceding component may be repeated (for example
[&<option>...]).
The following example shows a query for Web server named localhost:
http://localhost/cgi-bin/3par-rpts/
inserv_perf.exe?report=pd_space_time&charttab=table&category=hires
This query requests
• a report showing physical disk space usage over time (pd_space_time).
• results posted in the form of a table (charttab=table).
• results pulled from the high-resolution database table (category=hires).
Because a specific time range is not specified, the query will default to all times present in the
specified database table (hires).
NOTE: To learn more about Web queries, you can perform any System Reporter Web query by
using a browser (see “Getting Started” (page 51)) and then selecting the New window option and
then clicking Submit Query to open the report in a new window. In the new window, the address
bar displays the Web query that you created using the browser interface.
Data Format Version Report
If the data returned by web queries is going to be processed, it is important to check that the format
of the data is what is expected by the scripts or code processing it. To determine if your processing
code is compatible with the server, issue the following query:
http://<server_name>/cgi-bin/3par-rpts/inserv_perf.exe?report=version
where <server_name> is the name of your server. The following is an example of the table
returned:
About Web Queries 127