- Cacti Beginner's Guide(Second Edition)
- Thomas Urban
- 250字
- 2021-07-02 20:15:26
Time for action - adding interface graphs to a device
The following steps will show you how to select and add graphs for different interface ports:
- Go back to the device overview page by clicking on the Devices link under the Management menu.
- Click on the device you have just created or create any other SNMP capable device that has network interfaces.
- Configure the device to use SNMP and click the Save or Create button:
![](https://epubservercos.yuewen.com/B98D93/19470399301596306/epubprivate/OEBPS/Images/Chapter_173.jpg?sign=1739630056-s6F5KbgLY3lUPSZXwbqBdVTpSwgxjzun-0-15626f5875cdd44945cca8659e9c73b3)
- Make sure that, at the top of the page, something identical to the following image shows up. This will show that the device is SNMP capable:
![](https://epubservercos.yuewen.com/B98D93/19470399301596306/epubprivate/OEBPS/Images/Chapter_195.jpg?sign=1739630056-DmYD01UByYelErQTMIUwmvmyWVLWpLzj-0-d3f9cd15140409462324567fa063e808)
- In the Associated Data Queries section, select the SNMP - Interface Statistics from the drop-down list and click the Add button. If it is already showing up like in the screenshot, then skip this step:
![](https://epubservercos.yuewen.com/B98D93/19470399301596306/epubprivate/OEBPS/Images/Chapter_50.jpg?sign=1739630056-x0yHonBmUrl2WE1hm0v1UfAbktUjj4td-0-1fd16019d212aae81b600130e47d091b)
- Click on the Save button at the bottom of the page.
- Go to the top of the page and click on the link Create Graphs for this Host.
- On the new page, select the interfaces you want to monitor and select a graph type from the drop-down list.
- Click the Create button:
![](https://epubservercos.yuewen.com/B98D93/19470399301596306/epubprivate/OEBPS/Images/Chapter_158.jpg?sign=1739630056-4lWMdUFVxcGfwJcyHqCl4Vt9NKKKOnuw-0-b3aee617c4432eb78013ab1ab2ba27f0)
You have now successfully added the SNMP - Interface data query to the device and selected some interfaces from the interfaces list.
The SNMP - Interface data query is a special package, containing the graph definitions and a kind of blueprint for Cacti to poll information for the interfaces of a device.