Closed adrianalcalde closed 3 years ago
@toni-moreno @sbengo Hey guys, any ideas? I can provide any other details you need from our setup. Not happening to a lot of devices, but happening on a few constantly. Total current devices are a little over 1000. About 50 devices where this is happening. Below is a debug log sample of what happens on the poll:
time="2019-03-18 12:55:00" level=debug msg="MEASUREMENT [interfaces_snmp_influx] generating influx point for indexed 1612202008"
time="2019-03-18 12:55:00" level=debug msg="MEASUREMENT [interfaces_snmp_influx] IDX :&{Valid:false Data:map[ifOperStatus:0xc0310fe2d0 ifName:0xc02f654ff0 ifAlias:0xc02f6553b0 ifType:0xc0310fe000 ifPhysAddress:0xc0310fe0f0 ifHCOutOctets:0xc02f6551d0 ifDescr:0xc0068f83c0 ifIndex:0xc0068f8ff0 ifAdminStatus:0xc0310fe1e0 ifOutErrors:0xc02f654f00 ifHighSpeed:0xc02f6552c0 tmnxPortLagId:0xc00f167e00 ifInErrors:0xc02f654e10 ifHCInOctets:0xc02f6550e0 tmnxPortMode:0xc0068f9590]}"
time="2019-03-18 12:55:00" level=debug msg="DEBUG METRIC CONFIG &{ID:ifInErrors FieldName:ifInErrors Description: BaseOID:.1.3.6.1.2.1.2.2.1.14 DataSrcType:COUNTERXX GetRate:true Scale:0 Shift:0 IsTag:false ExtraData: Conversion:0 Names:map[]}"
time="2019-03-18 12:55:00" level=warning msg="Warning METRIC ID [ifInErrors] from MEASUREMENT[ interfaces_snmp_influx ] with TAGS [map[device:M1000-MIAVFLFF-A7950A system_address:208.67.164.131 mgmt_ip:10.24.1.195 ifIndex:1612202008]] has obsolete data => See Metric Runtime [ &{cfg:0xc0002642d0 Valid:false CookedValue:0 CurValue:32 LastValue:32 CurTime:2019-03-18 12:50:00.001034366 -0400 EDT m=+355145.043981791 LastTime:2019-03-18 12:46:03.490669596 -0400 EDT m=+354908.533617015 ElapsedTime:236.510364776 Compute:0x946940 Scale:0x9452f0 Convert:0x948af0 SetRawData:0x9465d0 RealOID:.1.3.6.1.2.1.2.2.1.14.1612202008 Report:1 re:
Hi @adrianalcalde sorry by the late response. We are right now really busy , but if you can update the issue I will try to review in a few days.
Thank you very much
Hello @adrianalcalde, I will close this issue, please update to the last version and reopen it if issue persist
I'm using version 0.8.0, a little more than 2000 devices. Seeing this error for some devices. Do you think it can have something to do with the amount of devices I am polling? I can have a distributed setup and break apart the collectors. Currently, I have a single influx measurement with the following metric fields, at 5 minute interval:
Example log of one device with the issue: time="2019-03-10 10:25:00" level=info msg="SNMPDEVICE [] Beginning SNMP connection for measurement init"
time="2019-03-10 10:25:00" level=info msg="First SNMP connection to host 10.24.1.207 stablished with MaxRepetitions set to 50"
time="2019-03-10 10:25:00" level=error msg="Error on getting initial basic system, Info to device : write udp 10.38.98.45:37965->10.24.1.207:161: write: invalid argument"
time="2019-03-10 10:25:00" level=error msg="error on get System Info write udp 10.38.98.45:37965->10.24.1.207:161: write: invalid argument"
time="2019-03-10 10:25:00" level=error msg="SNMPDEVICE [] Client connect error to device error :write udp 10.38.98.45:37965->10.24.1.207:161: write: invalid argument"
snmpwalk of device in cli responds correctly.
I'm also seeing another issue where if more than 1 measurement filter is applied to a snmpdevice, only one of the filters is processed. I'm not sure if its happening to anyone else with the 0.8.0 version or just unique to my setup.
If you need any other info, let me know.
Thanks