Graphs are defined in XML files, then imported into MEM. The new custom graph is displayed in the Graphing category on the Advisors page.
For an example of how to create a graph, see Section 31.1.9, “Creating a New Graph: An Example”.
The XML elements for creating a graph are as follows:
version
The version number of the graph. Generally only important with the bundled graphs, and is only used internally.
uuid
The unique id of the graph. Each revision (version) requires a new uuid, which is only used internally.
name
The visible graph name, which is displayed within the graph listing. Note: graphs are sorted alphabetically.
frequency
Optionally define the frequency for the graph, which defaults to 1 minute. May use seconds, minutes, hours, and days.
rangeLabel
The Y-axis range label. For example, a graph about disk space usage may use
MB
.series
Each series contains a label and an expression. The label is the visible name of the series, and the simple expression defines it.
variables
Each variables definition contains a name, instance, and dcItem element. The instance defines what data the graph displays, and each dcItem element contains a nameSpace, className, and attribName:
nameSpace
Namespace (type) of the data collection item.
className
Class (namespace type) of the data collection item.
attribName
Attribute name of the data collection item.