Replies: 1 comment
-
Those are different OIDs with different indexes. In fact, it looks like that is just part of The only difficulty here is that Here's what I get when I setup a generator.yml: modules:
atTable:
walk:
- atTable When I generate that with the # WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost.
modules:
atTable:
walk:
- 1.3.6.1.2.1.3.1
metrics:
- name: atIfIndex
oid: 1.3.6.1.2.1.3.1.1.1
type: gauge
help: The interface on which this entry's equivalence is effective - 1.3.6.1.2.1.3.1.1.1
indexes:
- labelname: atIfIndex
type: gauge
- labelname: atNetAddress
type: InetAddressIPv4
- name: atPhysAddress
oid: 1.3.6.1.2.1.3.1.1.2
type: PhysAddress48
help: The media-dependent `physical' address - 1.3.6.1.2.1.3.1.1.2
indexes:
- labelname: atIfIndex
type: gauge
- labelname: atNetAddress
type: InetAddressIPv4
- name: atNetAddress
oid: 1.3.6.1.2.1.3.1.1.3
type: InetAddressIPv4
help: The NetworkAddress (e.g., the IP address) corresponding to the media-dependent
`physical' address. - 1.3.6.1.2.1.3.1.1.3
indexes:
- labelname: atIfIndex
type: gauge
- labelname: atNetAddress
type: InetAddressIPv4 If you read the
In this case, the index is actually two parts. The single octet You can see how things are broken up. The Most of this MIB is marked deprecated, I think there are newer OIDs that should have the same data. But I don't remember off the top of my head what those are. |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
how can I add a dynamic OID in the configuration file, I have a case when I want to take the IP of a device, the oid is mixed with the IP, how do I avoid having to add the oid one by one when there are many devices to be monitored?
for example:
using snmpwalk
is it possible to add OID like this
Beta Was this translation helpful? Give feedback.
All reactions