SNMPModule collects network interface data from neighbors via SNMP.
Details
This module requires access to the OID tree .1.3.6.1.2.1. In case of snmpd, the configuration (snmpd.conf) should include:
view systemonly included .1.3.6.1.2.1
Options
| Name | Type | Default | Flag |
|---|---|---|---|
| version | uint8 |
uint8(gosnmp.Version2c) | --snmp-version |
| community | string |
public | --snmp-community |
| timeout | time.Duration |
3 * time.Second | --snmp-timeout |
| transport | string |
udp | --snmp-transport |
| port | uint16 |
161 | --snmp-port |