Valley: Do not post to the net-snmp-users list with html. Use only text.
I suspect your answer is to be found in the FAQ. Failing that, use the net-snmp-users list archive, found on the website <www.netsnmp.org> under the menu item lists. If you use the query function in the upper left hand corner of the lists page (after selecting the users list from those shown), you will be able to get information that will help you to solve the problem. I know that the users list has been down for a few hours, so it may take time before you can make your query. Still, you will get good answers by checking the content of the archives. Frankly, the message you copied to the users list suggests to me one source of the difficulty you are having; i.e. "Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent." Have you followed this advice? Also, did you put your MIB into the specified location (see the FAQ and other documentation) and given the export command at the command prompt of your system? I have not worked with Net-SNMP in a Windows environment, so perhaps other users will have more information that can help you to solve your problems. Still, be sure to read all the documentation, as it is a valuable resource, and be sure to query the users list archives, and they too are a valuable resource. William R. Buckley ---- Original message ---- >Date: Thu, 19 Aug 2004 10:03:11 +0800 >From: "valley" <[EMAIL PROTECTED]> >Subject: No response to mib browser >To: "Dave Shield" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> > > hi,all > I planed to extend the agent (net-agent5.1.2) in win32.The following > is what i did: > 1 Wrote a tested mib file > 2 Used mib2c to general the code template and modified these code > 3 Modified the snmpdsdk project (vc6) > 3.1 Deleted the definition of WIN32SERVICE > 3.2 Modified the function init_mib_modules() > void > init_mib_modules(void) > { > /*# include "mib_module_inits.h"*/ > > init_system_mib(); > init_sysORTable(); > init_snmp_mib(); > init_vacm_vars(); > > init_utsTESTCardTable(); /*This is myself mib table > initial function*/ > } > 3.3 Deleted some module in "mib_module_inits.h" > 4 Then I run the snmpdsdk project,it print the following information > > No log handling enabled - turning on stderr logging > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. > Run "snmpconf -g basic_setup" to help you configure the snmpd.conf > file for th > is agent. > NET-SNMP version 5.1.2 > > 5 Then I tried to use mib-browser to connect it, it has no response. > > Received 39 bytes from 127.0.0.1 > 0000: 30 25 02 01 01 04 06 70 75 62 6C 69 63 A1 18 02 > 0%.....public?. > 0016: 01 0C 02 01 00 02 01 00 30 0D 30 0B 06 07 2B 06 > ........0.0...+. > 0032: 01 02 01 01 03 05 00 ....... > > Received SNMP packet(s) from 127.0.0.1 > GETNEXT message > -- SNMPv2-MIB::sysUpTime > > > > I am not clear what's the matter. Is it mandatory to read the > configure file? > > Does anyone tell me what else i should do ? > > valley > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users