i don't know if this is the only problem, but one issue is that you define a view named "systemview" but you reference a view named "all" in the access command. they need to match.
________________________________ From: [EMAIL PROTECTED] on behalf of Toth, Gregory S Sent: Sat 11/20/2004 1:21 PM To: [EMAIL PROTECTED] Subject: Problems Configuring Our Agent We are currently in the process of migrating our Ucd 4.2.5 agent to the net-snmp package. We have developed several modules for the 4.2.5 version that we are trying to run in the new (net-snmp) agent. From what we have read 4.2.5 mib modules are compatible with the net-snmp package. We have been successful in building the agent and are able to launch it but queries to the system branch time out. We were specifiying a community string of public and a version of "-v 2c" in the snmpget request. We used -DALL and were able to get the following message from the log files: trace: vacm_in_view(): mibII/vacm_vars.c, 804 mibII/vacm_vars: vacm_in_view: sn=notConfigUser trace: snmp_call_callbacks(): callback.c, 119 callback: END calling callbacks for maj=1 min=5 (1 called) trace: netsnmp_remove_and_free_agent_snmp_session(): snmp_agent.c, 1336 snmp_agent: REMOVE session == 0x840f560 We have determined that the vacm_getGroupEntry(pdu-securityModel, sn) at line 806 returned NULL. This would tend to indicate that the snmpd.conf was not setup correctly. We were using the default snmpd.conf file and as near as I could tell these entries from that file should have set everything up correctly (I would think getGroupEntry should have returned "notConfigGroup" for a pdu->securityModel of v 2c: # sec.name source community com2sec notConfigUser default public # groupName securityModel securityName group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser # name incl/excl subtree mask(optional) view systemview included .1 # group context sec.model sec.level prefix read write notif access notConfigGroup "" any noauth exact all all all Is there something we are missing? Or is it possible when the 4.2.5 modules call REGISTER_MIB they load some other snmpd.conf file that overwrites this file? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
