Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Viewing Graphs from a Webpage

You can display graphs for components for which the Activity Monitor has collected data from a webpage. 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 Webpage

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

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.

Figure 51: Sample CPU Usage Graph

Sample CPU Usage Graph

Viewing Graphs for Specified Time Periods from a Webpage

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

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.

Figure 52: Sample SAE Heap Usage Graph

Sample SAE Heap Usage Graph

Related Documentation

Modified: 2017-08-02