[Contents] [Prev] [Next] [Index] [Report an Error]

# Viewing Graphs from a Web Page

You can display graphs for components for which the Activity Monitor has collected data from a Web page. Before you display these graphs, make sure the Activity Monitor (activity) and C-Web interface (webadm) components are enabled. For more secure displays, configure the C-Web interface to use HTTPS and use POST requests.

- Viewing Graphs for a Preset Time Period from a Web Page
- Viewing Graphs for Specified Time Periods from a Web Page

## Viewing Graphs for a Preset Time Period from a Web Page

To display graphs with preset time periods from the Activity Monitor from a Web page:

http://ip-address/graph?&id=username&pw=password&name=graph-name&time=time-period

where

- ip-address—IP address of the C Series Controller
- username—Username used to log in to the C Series Controller
- password—Password used to log in to the C Series Controller
- graph-name—Name of graph to display in the format <component>-<graph>, where <graph> is the name of the graph as specified in the C-Web interface in all lowercase letters with hyphens separating words
- time-period—Period of time that data was collected for display in a graph in the format <number><units>

  The <number> is the number of <units>, which are specified as one of the following values:

  - m—minutes
  - h—hours
  - d—days
  - w—weeks
  - M—months
  - y—years

For example, to view the CPU graph for the System component for the past 10 minutes on the C Series Controller called c2000 for the user admin:

http://c2000/graph?&id=admin&pw=secret&name=system-cpu&time=10m

The CPU Usage graph appears.

## Viewing Graphs for Specified Time Periods from a Web Page

To display graphs for specified time periods from the Activity Monitor from a Web page:

http://ip-address/graph?&id=username&pw=password&name=graph-name&start=date-time &end=date-time

where

- ip-address—IP address of the C Series Controller
- username—Username used to log in to the C Series Controller
- password—Password used to log in to the C Series Controller
- graph-name—Name of graph to display in the format <component>-<graph>, where <graph> is the name of the graph as specified in the C-Web interface in all lowercase letters with hyphens separating words
- date-time—Date and time that data was collected for display in a graph in the format yyyyMMddHHmm, where:
  - yyyy—year
  - MM—month
  - dd—day
  - HH—hour
  - mm—minute

For example, to view the heap usage graph for the SAE component from January 15 to January 28 on the C Series Controller called c2000 for the user admin:

http://c2000/graph?&id=admin&pw=secret&name=sae-heap&start=200901150000 &end=200901280000

The SAE Heap Usage graph appears.

#### Related Topics

- Performing Data Collection with the Activity Monitor (SRC CLI)
- Performing Data Collection with the Activity Monitor (C-Web Interface)
- Viewing Graphs (C-Web Interface)
- Monitoring Activity on C Series Controllers

[Contents] [Prev] [Next] [Index] [Report an Error]