Re: Organizing MIBs Files

2009-06-16 Thread Michael P. Carel
I've red the MAN for SNMP.CONF and its pointing to the snmp.conf file that need the mibdirs parameters to be added, but I don't have the snmp.conf file, what I have is the snmpd.conf file. Is this the same file config file? --- On Tue, 6/16/09, Dave Shield wrote: > From: Dave Shield > Subjec

snmp_build: unknown failure

2009-06-16 Thread Mario . Hebert
I have written my own mib and compiled it with mib2c. and put it in agent/mibgroup. I have moved the library to my target and ran as follow: I am getting errors when I do a walk in our enterprise space (10604). Any idea?? Trace attached. Thanks, Mario Hebert ./snmpd -c /mario/snmpd.conf -DZARL

RE: Port to embedded platform

2009-06-16 Thread Joan Landry
Thanks for the info. I was able to link with the .a files generated as you indicated. Because I need to run net-snmp internally via init_master_agent I have to call init_mib_modules. However, even though init_mib_modules is in libnetsnmpmibs.a when I include it as a library in my link I get an

RE: Setting the sysObjectId value

2009-06-16 Thread Manish Gupta
Vincent, I was giving sysobjectid enterprises.5713.1.1.2.4 but after giving the following it worked sysobjectid 1.3.6.1.4.1.5713.1.1.2.4 Thanks for the help. Regards, Manish -Original Message- From: Vincent Bernat [mailto:ber...@luffy.cx] Sent: Tuesday, June 16, 2009 12:55 PM To:

Re: Port to embedded platform

2009-06-16 Thread John Anderson
This is my configure options for cross-compiling to a PPC (ignore the --with-mib-modules, that's my stuff). I am able to create an executable for snmpd. INCLUDE_PATH=-I/opt/crosstool/powerpc-linux/include/c++/3.4.4 -I/opt/crosstool/powerpc-linux/include/c++/3.4.4/powerpc-405-linux-gnu -I/opt

Re: Setting the sysObjectId value

2009-06-16 Thread Vincent Bernat
OoO Lors de la soirée naissante du mardi 16 juin 2009, vers 18:10, "Manish Gupta" disait : > We are using net-snmp version 5.3.1_3 and trying to set the value of > sysobjectid through snmpd.conf file , but it is not setting the value and > snmpwalk always shows the default value, so can you

Setting the sysObjectId value

2009-06-16 Thread Manish Gupta
Dave, We are using net-snmp version 5.3.1_3 and trying to set the value of sysobjectid through snmpd.conf file , but it is not setting the value and snmpwalk always shows the default value, so can you please tell us how to set this value as we are able to set other values like syslocation etc but

Re: Port to embedded platform

2009-06-16 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mardi 16 juin 2009, vers 13:57, "Joan Landry" disait : > I am trying to port net-snmp to an embedded platform and have been > able to use ./configure and make to cross compile the code. Now I am > not sure what the next step is. I see the

RE: Port to embedded platform

2009-06-16 Thread Joan Landry
Thanks but I am trying to run net-snmp via the calls init_agent() init_mib_modules() init_snmp() init_master_agent() I do not want to run the daemon snmpd. I want to run the master agent internally via init_master_agent. So I need to generate the library files for linking. Does a

Re: RFCs 1155, 1212,1215 2578-2580

2009-06-16 Thread Dave Shield
2009/6/16 Tamar Pinto : > It is indicated that SNMPv1 (RFC 1157), SNMPv2 (RFCs 1901-1908), and SNMPv3 > (RFCs 3411-3418) are supported. > > Are RFCs 1155, 1212,1215 2578–2580 also supported? Yes Dave -- Crystal Reports -

RFCs 1155, 1212,1215 2578-2580

2009-06-16 Thread Tamar Pinto
It is indicated that SNMPv1 (RFC 1157), SNMPv2 (RFCs 1901-1908), and SNMPv3 (RFCs 3411-3418) are supported. Are RFCs 1155, 1212,1215 2578-2580 also supported? Thanks, Tamar -- Crystal

Port to embedded platform

2009-06-16 Thread Joan Landry
I am trying to port net-snmp to an embedded platform and have been able to use ./configure and make to cross compile the code. Now I am not sure what the next step is. I see there are directories that contain libnetsnmpagent.la libnetsnmp.la libnetsnmpmibs.la libnetsnmptrapd.la libsnmp.la B

Re: small agent

2009-06-16 Thread Dave Shield
2009/6/16 Kahle, Michael (EXT) : > I want to port Net-SNMP to an embedded plattform and I just need > SNMPv1,SNMPv2c and MIBII. Please see the FAQ entry How can I reduce the memory footprint? http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_04 > Unfortunatly, I can not use ./conf

small agent

2009-06-16 Thread Kahle, Michael (EXT)
hi everybody, I want to port Net-SNMP to an embedded plattform and I just need SNMPv1,SNMPv2c and MIBII. Unfortunatly, I can not use ./configure on the system and so I have to know which files (*.c, *.h) are essential to create such a small agent. Thanks for your help. Michael

Re: Agent extension to handle all SET requests?

2009-06-16 Thread Dave Shield
2009/6/15 Nepveu, Charles : > We're looking in integrating net-snmp to our linux-based embedded device, > and I was looking for a way to let a module(or subagent) handle all the SET > requests for all OIDs (even the ones in the standard MIBs). Hmmm... that's not going to be easy. It's somewhat

Re: access control

2009-06-16 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/6/1

Re: Organizing MIBs Files

2009-06-16 Thread Dave Shield
2009/6/16 Michael P. Carel : > Is it possible to put different vendors MIBs files in a separate director? > Example: > $PREFIX/share/snmp/mibs/ciscomib > $PREFIX/share/snmp/mibs/hpmib Yes You would need to specify the path of MIB directories to search (see snmp.conf(5) and snmpcmd(1)), but tha