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

Time for action – adding graphs to the device

  1. Go back to the device overview page by clicking on the Devices link under the Management menu.
  2. Click on the device you have just created.
  3. In the Associated Graph Templates section select the Unix - Ping Latency from the drop-down list and click on the Add button.
    Time for action – adding graphs to the device
  4. Click on the Save button at the bottom of the page.
  5. Go to the top of the page and click on, Create Graphs for this Host.
  6. Select Create: Unix - Ping Latency.
    Time for action – adding graphs to the device
  7. Click on the Create button.
  8. A new screen will appear, where you can choose a legend color and text, but for now, just click on Create.
  9. You will be redirected back to the graphs selection screen with the entry we selected being greyed out.
    Time for action – adding graphs to the device

What just happened?

You just added your first graph to a Cacti device by adding a graph template to the device and selecting it during the graph creation screen. Cacti will now start to poll the data for this graph and generate the associated RRD file for it.

Tip

The Unix templates

Except for the Ping Latency template, all other Unix templates are for the localhost only and will not provide any information for remote systems.

Adding interface graphs to a device

Adding interface graphs is a little different from adding a generic one such as the ping graph. Normal network devices have several network interfaces, all of which can be polled for performance data. Cacti provides a nice interface for selecting the different network interfaces using the web interface. In the following section you are going to look into this kind of graph selection.