Graphs are defined using XML, and then imported into MEM. The
new custom graph will now be displayed with the built-in graphs,
which are sorted by name within the graph
tab.
For an example graph on how to create a graph, see Section 4.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 the graph will act upon, 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.
See the listing of data collection items for available nameSpace, className, and attribName items.
