Collecting SNMP data on a TL-ER6020 with Telegraf

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Collecting SNMP data on a TL-ER6020 with Telegraf

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Collecting SNMP data on a TL-ER6020 with Telegraf
Collecting SNMP data on a TL-ER6020 with Telegraf
2019-03-06 05:32:26 - last edited 2021-04-20 11:06:05
Model: TL-ER6020  
Hardware Version: V1
Firmware Version: 1.1.0 Build 20150416 Rel.35252

I am using Telegraf to successfully collect SNMP data from several network devices and want to add the above router. 

 

I am only after simple stats WAN1/2 up or down, WAN speed, Overall status and Up time.

 

However, I can find virtually no information about which MIB files I require or which metrics this device supports

 

Does anyone have an example they could share or point me in the right direction!

 

I'm not a professional so please be gentle!

 

Thanks

  0      
  0      
#1
Options
4 Reply
Re:Collecting SNMP data on a TL-ER6020 with Telegraf
2019-03-07 10:16:37 - last edited 2021-04-20 11:06:05

Neil101 wrote

I am using Telegraf to successfully collect SNMP data from several network devices and want to add the above router. 

 

I am only after simple stats WAN1/2 up or down, WAN speed, Overall status and Up time.

 

However, I can find virtually no information about which MIB files I require or which metrics this device supports

 

Does anyone have an example they could share or point me in the right direction!

 

I'm not a professional so please be gentle!

 

Thanks

Hi

 

I think you can check if this router support SNMP. If it support, it should only support Public MIB. Maybe you can use snmpwalk to check.

  0  
  0  
#2
Options
Re:Re:Collecting SNMP data on a TL-ER6020 with Telegraf
2019-03-07 10:51:50 - last edited 2021-04-20 11:06:05
It definitely supports SNMP as its a menu option which I have already turned on. I have also moved forward in that I can now get some readings into InfluxDB from the Router and some of the tags and field names make sense but the reading don't. I am still missing fields I would really like such as "hrSystemUptime" so I need to spend some time using snmpwalk as you suggested. I still can't believe there is so little info about TP-link Routers and SNMP! Thanks for the input.
  0  
  0  
#3
Options
Re:Re:Re:Collecting SNMP data on a TL-ER6020 with Telegraf
2019-03-16 08:32:01 - last edited 2021-04-20 11:06:05

I now have everything I want being collected from my TL-ER6020 router with the exception of 'sysUpTime'.

 

when I do a walk through I get:

 

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (52316600) 6 days, 1:19:26.00

 

 

but this MIB and sysUpTimeInstance returns blank in Telegraf/InfluxDB although telegraf.conf appears to accept this along with the other MIB's.

 

I have also  tried:

 

HOST-RESOURCES-MIB::hrSystemUptime.0

 

which also returns nothing.

 

Does anyone know what I should use to get 'up time' on my router!

 

 

 

Thanks

  0  
  0  
#4
Options
Re:Re:Re:Re:Collecting SNMP data on a TL-ER6020 with Telegraf
2019-03-19 02:31:42 - last edited 2021-04-20 11:06:05

Neil101 wrote

I now have everything I want being collected from my TL-ER6020 router with the exception of 'sysUpTime'.

 

when I do a walk through I get:

 

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (52316600) 6 days, 1:19:26.00

 

 

but this MIB and sysUpTimeInstance returns blank in Telegraf/InfluxDB although telegraf.conf appears to accept this along with the other MIB's.

 

I have also  tried:

 

HOST-RESOURCES-MIB::hrSystemUptime.0

 

which also returns nothing.

 

Does anyone know what I should use to get 'up time' on my router!

 

 

 

Thanks

 

Did you get the OID of DISMAN-EVENT-MIB::sysUpTimeInstance? Maybe can snmpget this OID.

  0  
  0  
#5
Options

Information

Helpful: 0

Views: 2548

Replies: 4

Related Articles