Open Victek opened 10 years ago
I agree. To be honest, I'd never run my snmpd binary with logging enabled, so I never caught the error! I'll try to look at it this week, unless you get to it first...
I'm busy this week unfortunately .. a minor bug in rc/rip.c .... doesn't compile, replace line12 void start_r(void) by void start_rip(void) and line 245 void stop_r(void) by void stop_rip(void), then you can enable RIP=y in Makefile ...
with snmp 5.6.2 and after changes in Makefile we have this message when snmpd starts. root@unknown:/tmp/home/root# snmpd -c /etc/snmpd.conf -f -V -L MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (IP-FORWARD-MIB): At line 0 in (none) Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Turning on AgentX master support. Error opening specified endpoint "udp:161" Server Exiting with code 1 root@unknown:/tmp/home/root#
The I think these MIBS modules should be included in snmp configuration, what do you think?