Hi.
I'm running OpenWrt 19.07.4 r11208-ce6496d796 on a tp-link Archer C7.
Sometimes snmpd stops responding to a remote snmp server:
Does anyone have this issue and know what's going on?
I've seen the logs and couldn't find anything that could give a clue.
I've checked htop and it shows snmpd daemon running.
Also, snmpd is listening on port 161:
If I restart snmpd everything gets to normal, but I would like to understand the cause and eventually fix it.
snmpd config file:
agentaddress UDP:161,UDP6:161
master agentx
agentXSocket /var/run/agentx.sock
sysLocation office
sysContact bofh@example.com
sysName HeartOfGold
com2sec ro default public
com2sec rw localhost private
com2sec6 ro default public
com2sec6 rw localhost private
group public v1 ro
group public v2c ro
group public usm ro
group private v1 rw
group private v2c rw
group private usm rw
view all included .1
access public "" any noauth exact all none none
access private "" any noauth exact all all all
exec filedescriptors /bin/cat /proc/sys/fs/file-nr
exec 1.3.6.1.3.19811018.30 conntrack-count /etc/snmp/conntrack-count
exec 1.3.6.1.3.19811018.31 conntrack-tcp /etc/snmp/tcp-ctrk-states
exec 1.3.6.1.3.19811018.32 conntrack-udp /etc/snmp/udp-ctrk-states
engineIDType 3
engineIDNic eth0
EDIT: On the remote server side, where I use Cacti to poll the OpenWrt device, it shows as Down. The method Cacti is using to show the device status is SNMP Uptime.