Time for action – creating a data query – Step 1
Go to Collection Methods | Data Queries and click on the Add link which is to the top right.
Enter SNMP - Interface Statistics Simple as the Name.
Enter Simple ( In/OutOctets ) Interface Statistics as the Description.
Enter
<path_cacti>/resource/snmp_queries/interface_book.xml
as the XML Path.Select Get SNMP Data (Indexed) as Data Input Method.
Click on the Save button.
What just happened?
You just told Cacti where to find the XML file which you created earlier and what data input method to use for retrieving the data. You can now add one or more graph templates to this query.
During the next step you're going to add a graph and a data template to this data query. This step is needed as a data query can provide different "views" on the data. Interface traffic, for example, can consist of 32bit or 64bit values, or you may want to have the total bandwidth usage displayed, as calculated on some graphs. As all of this data, as well as the graphs...