8 web queries, About web queries, Data format version report – HP 3PAR System Reporter Software User Manual

Page 126

Advertising
background image

8 Web Queries

This chapter documents the queries that the HP 3PAR System Reporter interfaces make to the System
Reporter Web server.

About Web Queries

System Reporter Web queries 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 52)

) 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

126

Web Queries

Advertising
This manual is related to the following products: