Hi,
I need to add more than 10 devices specifically to receive traps. Currently Inputs.snmp works fine, but I am not getting traps from far end devices in InfluxDB
- Do I still need to add all 10 devices IP address in the inputs.snmp_trap?
- Are we able to add multiple community name in one single file? or Do we need to create file for each device?
- Below is one of the example, I am still not getting traps from 10.101.101.222 where 162 port is opened. From FAR end device the connection is up and Trap testing is getting successfull.
# Receive SNMP traps
[[inputs.snmp_trap]]
## Transport, local address, and port to listen on. Transport must
## be “udp://”. Omit local address to listen on all interfaces.
## example: “udp://127.0.0.1:1234”
#“udp://10.101.101.222:162”
## Special permissions may be required to listen on a port less than
## 1024. See README.md for details
service_address = “udp://:162”
## Path to mib files
## Used by the gosmi translator.
## To add paths when translating with netsnmp, use the MIBDIRS environment variable
path = [“/usr/share/snmp/mibs”]
## Deprecated in 1.20.0; no longer running snmptranslate
## Timeout running snmptranslate command
timeout = “25s”
## Snmp version
version = “2c”