[mesh-dev] Bug in mini-snmpd

Max B maxb.personal at gmail.com
Wed Sep 24 14:13:07 PDT 2014


Hmmm good catch. Have you looked at cacti? Is it graphing memory correctly?

Thanks!

On September 24, 2014 11:06:10 AM PDT, Alexander Papazoglou <papazoga at gmail.com> wrote:
>After our discussion about uptime over SNMP I poked around a bit.
>sysUpTime is indeed in the System MIB (required by all SNMP
>implementations), but
>mini-snmpd has a bug.
>Witness:
>
>root at monitor1:~# snmpwalk -v1 -c public 10.1.1.1 1.3.6.1.2.1.1
>iso.3.6.1.2.1.1.1.0 = ""
>iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1
>iso.3.6.1.2.1.1.3.0 = Timeticks: (936051) 2:36:00.51
>iso.3.6.1.2.1.1.4.0 = STRING: "info at sudomesh.org"
>iso.3.6.1.2.1.1.5.0 = STRING: "my.node"
>iso.3.6.1.2.1.1.6.0 = STRING: "Omni"
>
>Note the terminating zeros on the OIDs; they shouldn't be there.
>1.3.6.1.2.1.1.3 is the correct OID for sysUpTime.
>
>I'll look into fixing it. It looks like memory stats are similarly
>affected.
>
>Alex
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mesh-dev mailing list
>mesh-dev at lists.sudoroom.org
>https://lists.sudoroom.org/listinfo/mesh-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sudoroom.org/lists/private/mesh-dev/attachments/20140924/91758b03/attachment.html>


More information about the mesh-dev mailing list