SNMP data is incomplete

I just installed snmpd from the repos (RaspberryPi 2) as I did dozen of times with Raspbian.
I just can’t get data from SNMP. I only get a handful of mibs but no cpu,mem or even network interfaces.

it dies here

iso.3.6.1.2.1.25.1.3.0 = INTEGER: 393216
iso.3.6.1.2.1.25.1.4.0 = STRING: "dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1360 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa01041 bcm2709.serial=0xfa048f21 smsc95xx"
iso.3.6.1.2.1.25.1.5.0 = Gauge32: 3
iso.3.6.1.2.1.25.1.6.0 = Gauge32: 43
iso.3.6.1.2.1.25.1.7.0 = INTEGER: 0
iso.3.6.1.2.1.25.1.7.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

Any idea how to get all the standard infos?
Thanks

And we go! It was a typo in snmpd conf

Would make sense to either make this in to a “How To” with more information what you have done or just delete it as in the moment it doesn’t help at all.

Here I am. I modified the stock /etc/snmp/snmpd.conf file to inject my personal configuration taken from my templates. The file that comes with the package contains
view systemonly included .1.3.6.1.2.1.25.1
This is a tree too deep to have the interfaces, cpu, mem and other mibs available. That line should be replaced with this one
view systemonly included .1.3.6.1.2
to get more mibs from snmp. I left the orignal one and the new one I pasted was commented (# char at the beginning)

1 Like

Thanks for the update, well I didn’t come across this issue as I have set full access for my snmp monitoring system with
rocommunity RO_snmp 192.168.0.1

That line tells a different thing, who is entitled to use a specific community. BTW I used the version straight from the packaged tools, just used apt-get install snmpd so I assume it is the current version in the repos that limits the available OIDs, not considering further restrictions such the one on the IP you configured.