Collecting SNMP data on a TL-ER6020 with Telegraf
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
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
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
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 2589
Replies: 4
Voters 0
No one has voted for it yet.