Cacti 0.8 Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – defining a graph template

  1. At the Graph Template Items section, click on the Add link.
  2. Select None as the Data Source.
  3. Select a light grey color (for example, C0C0C0).
  4. Set the Graph Item Type to HRULE and enter 50 as the Value.
  5. Enter Threshold (50) as the Text Format and check the Insert Hard Return box.
  6. Click on Create.
    Time for action – defining a graph template

What just happened?

You just added your first item, an HRULE graph item, to your graph representing your threshold line. HRULE items are based on a fixed value, therefore you did not choose any data source, but instead entered your threshold Value into the value field. Now all of your graphs based on this template will show a light grey line at the value 50.

Adding the green, yellow, and red areas

You are now going to add your green, yellow, and red areas by making use of your newly created CDEF items.