You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Graph-a-Single-SNMP-OID.md
+42-17
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,34 @@
1
-
# Graph a Single SNMP OID
1
+
# Creating a Graph for a Single SNMP OID
2
2
3
-
When dealing with SNMP-enabled devices, there are often times when you want to
3
+
When dealing with SNMP-enabled **Devices**, there are often times when you want to
4
4
graph the value of a single OID. This tutorial explains how to do this in
5
-
Cacti. It also assumes that you have the "SNMP - Generic OID Template" graph
6
-
template, which is now included in Cacti as of version 0.8.5. If you do not see
7
-
this template listed under Graph Templates, download the template from the
8
-
Cacti website in XML form and import it using the Import Templates menu item.
5
+
Cacti. It also assumes that you have the "SNMP - Generic OID Template" **Graph
6
+
Template** which is available in the **Generic SNMP Device Package**.
7
+
If you do not see this **Graph Template** listed under **Graph Templates**,
8
+
install the **Generic SNMP Device Package** using the `import_package.php`
9
+
command line script located in Cacti's cli directory.
9
10
10
-
To start the process of creating a new graph for your OID, click the New Graphs
11
-
menu item and select the host that contains the target OID from the dropdown.
12
-
Under the Graph Templates box, you will see a dropdown on the last line that
13
-
reads (Select a graph type to create). From this dropdown, choose "SNMP -
14
-
Generic OID Template" and click the Create button at the bottom of the page.
11
+
To start the process of creating a new graph for your OID, click go to
12
+
`Cosnole > Create > New Graphs`, and from there find the **Device**
13
+
you would like to add the **Graph** to.
14
+
15
+
From the image below, you can see the **New Graphs** interface.
16
+
17
+

18
+
19
+
In this image, only the "Graph Template Based` **Graph Templates** are displayed.
20
+
Had the `Graph Types` been switched to any of the **Data Query** based ``Graph Types``
21
+
the interface would look a bit different.
22
+
23
+
From that Interface, to create a `Generic SNMP OID` based Graph, you need to first
24
+
select it from the `Select a graph type to create` drop-down. Once you have selected
25
+
it, you may press the `Create` button, at which point in time, you will see the
26
+
image below.
27
+
28
+

29
+
30
+
From this interface, you must define various attributes for your resulting **Graph**
31
+
as shown in the table below.
15
32
16
33
###### Table 10-1. Field Description: SNMP - Generic OID Template
17
34
@@ -27,16 +44,24 @@ Name | Description
27
44
(Data Source) Data Source Type [snmp_oid] | How the data from the OID should be stored by RRDTool and interpreted on the graph. If the value of the OID represents the actual data, you should use GAUGE for this field. If the OID value is a constantly incremented number, you should use COUNTER for this field. The two remaining field values, DERIVE and ABSOLUTE can be ignored in most situations.
28
45
(Custom Data) OID | The actual SNMP OID to graph. It is typically a good idea to enter the number OID here as opposed to using MIB names. For instance, to get the number of open files on a Netware server, you would use ".1.3.6.1.4.1.23.2.28.2.7.0" as the OID.
29
46
30
-
You will be presented with several fields that will require input before the
31
-
new graph can be created. They are described in more detail below.
47
+
So, based upon your specific OID that you are graphing, You will need to fill out these
48
+
fields before the new graph can be created properly.
32
49
33
50
When finished filling in values for these fields, click the Create button. Your
34
-
new graph can now be accessed through the Graph Management page or the Graphs
35
-
tab inside of Cacti.
51
+
new **Graph** can now be accessed through the `Cosole > Management > Graphs` menu pick.
52
+
53
+
> **NOTE**: When comparing the Table above, to the image, you will see that the
54
+
> `Opacity/Alpha Channel` pick is missing from the interface. To add it, you simply need
55
+
> to edit the `Generic SNMP OID`**Graph Template**, add a new **Graph Item Input**
56
+
> override to the Alpha/Opacity on the Graph Template as shown below. We will cover
57
+
> that topic in the **Graph Template** section of the manual though.
0 commit comments