SNMP tables
- Last UpdatedSep 03, 2024
- 1 minute read
The SNMP Communication Driver supports SNMP table. To advise items in the SNMP table, specify the OID which is unique to each cell in the SNMP table. The OID of the table is a combination of the column number and row index. The OID of each cell in the table is the combination of the OID of the table, along with the column index and the row index value.
Example
Consider a table with three rows R1, R2, and R3, and two columns C1 and C2. The OID of the table:'.1.2.3.1.2'. The row index and the OIDs for the cells in columns 1 and 2 are depicted in the grid.
|
Row Index |
C1 |
C2 |
|
|
R1 |
0.0.0.0 |
OID: .1.2.3.1.2.1.0.0.0.0 |
OID: .1.2.3.1.2.2.0.0.0.0 |
|
R2 |
127.0.0.1 |
OID: .1.2.3.1.2.1.127.0.0.1 |
OID: .1.2.3.1.2.2.127.0.0.1 |
|
R3 |
127.1.2.3 |
OID: .1.2.3.1.2.1.127.1.2.3 |
OID: .1.2.3.1.2.2.127.1.2.3 |
The OIDs follow the syntax below:
Column 1:
.1.2.3.1.2.1[1] and .1.2.3.1.2.1[2]
Column 2:
.1.2.3.1.2.2[1] and .1.2.3.1.2.2[2]
where,
[1] and [2] are the row numbers.
If you are not aware of the index value of the row, you can use the row number. The SNMP Communication Driver translates and performs a GET and SET accordingly. The row number always starts with 1. If you enter an invalid row number, the item returns a bad quality.