SNMPd Question

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
michaelmathisjr
DD-WRT Novice


Joined: 29 May 2020
Posts: 3

PostPosted: Fri Jun 26, 2020 23:55    Post subject: SNMPd Question Reply with quote
Hi,

I have installed snmpd via the openwrt package. If I snmpwalk with tcpdump, I see packets received [O2], but I don't see any debugs print if I run snmpd with debugs [O1]. snmpd.conf attached [O3]. Any ideas on how I can get SNMP working on DD-WRT v3.0-r43266 std (05/27/20)?

Thanks in advance for any help you can give me!

-Michael




[O1]
root@Mathis-DD-WRT:/opt/etc/snmp# snmpd -f -Le -Dexample -c /opt/etc/snmp/snmpd.conf
ipaddress_linux: could not open /proc/net/if_inet6: No such file or directory
ipaddress_linux: could not open /proc/net/if_inet6: No such file or directory
buffer too small to read octet string (13 < 13)
NET-SNMP version 5.8
ipaddress_linux: could not open /proc/net/if_inet6: No such file or directory
No pgpgin line in /proc/vmstat
No pgpgout line in /proc/vmstat
No pswpin line in /proc/vmstat
No pswpout line in /proc/vmstat
ipaddress_linux: could not open /proc/net/if_inet6: No such file or directory
ipaddress_linux: could not open /proc/net/if_inet6: No such file or directory

[O2]
root@Mathis-DD-WRT:~# tcpdump -i lo
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes
01:43:53.040886 IP localhost.51451 > localhost.snmp: GetNextRequest(25)
01:43:54.043797 IP localhost.51451 > localhost.snmp: GetNextRequest(25)

[O3]
root@Mathis-DD-WRT:/opt/etc/snmp# cat /opt/etc/snmp/snmpd.conf
# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec local localhost public
com2sec local localNet 192.168.0.0/23 public



group MyROGroup v2c readonly
view all included .1 80
access MyROGroup "" any noauth exact all none none

syslocation Rack, Room, Building, City, Country [GPSX,Y]
syscontact Your Name <your@email.address>
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum