Community discussions

MikroTik App
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Collectd monitoring via SNMPv3 - Timeout (plaintext scopedPDU header type 00: s/b 30)

Sun May 24, 2020 2:07 pm

Hi all,

Trying to monitor various routerboards using collectd. Snmpwalk using SNMPv3 works great, I can connect to the routerboards no problem.

In the case of collectd, I can connect to one big switch and get a response, or two small switches and get a response, and more than that and the attempts to fetch data time out as follows:
May 24 12:51:03 monitor collectd[13601]: snmp plugin: host rescue.jnb.example.com: snmp_sess_synch_response failed: Timeout (plaintext scopedPDU header type 00: s/b 30)
Can anyone confirm whether they use and have had joy with SNMP and collectd?

(I know the routeros plugin exists, I need this to be SNMP).
Last edited by minfrin on Fri May 29, 2020 8:32 pm, edited 1 time in total.
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Re: Collectd monitoring via SNMP - Timeout (plaintext scopedPDU header type 00: s/b 30)

Fri May 29, 2020 8:26 pm

Turns out all routerboards default to the same engine-id by default. This confuses net-snmp, and in turn collectd-snmp, which use one engine definition for all unrelated connections. One router works, all other routers reject the packets, and trigger the timeouts.

Workaround is to manually set a unique engine-id under the /snmp menu for each router.

Bug raised here: https://github.com/net-snmp/net-snmp/issues/120

Who is online

Users browsing this forum: erlinden and 83 guests