Graph Tutorial

From NetMRG Wiki

Jump to: navigation, search

This tutorial aims to show you the basics of how to create a Custom or Template Graph. It will be useful to look at existing graphs that are supplied with NetMRG for examples.

Custom and Template graphs are very similar, but have slightly different applications. A Custom Graph is designed to be used only once, while a Template Graph is designed to be applied to multiple devices and subdevices.

Let's try a basic graph using no subdevice parameters.

  1. Creating a Template/Custom Graph
    1. Goto the Template Graphs option under the Admin tab.
    2. Click on Add.
    3. Fill out the name and title for the graph. The Name is used only in the admin interface and the title is displayed on the graph.
    4. Click on Save Changes.
    5. This leads you to a screen where you can combine multiple monitors (usually of the same subdevice) into one graph using various styles: areas, stacked areas, and thicknesses of lines.
    6. Click on Add
      This page allows you to edit various aspects of this monitor's appearance.
      Name: Name that will be displayed in the legend. If omitted, this item will not be displayed in the legend.
      Item Type: can be various thickness of lines (1 being thinnest, 3 being thickest), area (which will always start at '0' from the graph - positive or negative), and stack (which will 'stack' on top of the previous line, area, or stack).
      Item Color: color of the item on the graph and in the legend. It can be omitted to have a transparent item.
      Fixed Value or Multiplier: change the value displayed by your monitor.
      The rest of the checkboxes should be self explanatory
    7. By repeating these steps you can add multiple monitors to a single graph.
Personal tools