RE: compile options for netsnmp

2009-03-30 Thread sazid.mahammad
Size net-snmp package after the compilation includes many more stuff. Which may or mayn't be required by you. Do mention what is your exact requirement?? P.S: Don't forget to include mailing list ID. Thanks and Regads, Sazid From: Sanad Kumar Mishra [mailto:sanad.mis...@hcl.in]

RE: compile options for netsnmp

2009-03-30 Thread sazid.mahammad
Hi , Which size you are talking about. Size of snmpd in disk or in meory. If your are refering to the whole package size after compiling, do remove the stuffs not required by you (eg. Iftable ), applications(eg. snmpdf,mib2c).. Thanks and Regads, Sazid From: Sanad Kumar Mishra [mail

snmptrap ignores user-supplied source IP?

2009-03-30 Thread dan anderson
The snmptrap util seems to be ignoring the source ip provided. Details: pdu->agent_addr is where snmptrap (apps/snmptrap.c) stores the user-supplied source IP. snmpdtrap sends packets using snmp_send from snmp_api.c, which in short order calls _sess_async_send, which if UDP is being used eventuall

RE: disabling the ifTable and ifXtable - registering pdu failed: 263!

2009-03-30 Thread EYRE Bernadette
I changed the makefile and added mibII/interfaces to the list of the mibs to disable. here is the configure command: configure --with-install-prefix=$(BUILT_BASE)\ --prefix=/ --host=$(CCPREFIX) --target=$(CCPREFIX) --disable-perl\ --disable-embedded-perl --disable

disabling the ifTable and ifXtable - registering pdu failed: 263!

2009-03-30 Thread EYRE Bernadette
Hello All, I want to disable the ifTable and ifXtable implementation in the master agent and register a private handler for the two oid in my sub-agent to handle the two mibs. the two oids are: /*---*/ static oid aSubagentIfTable_oid[] =

RE: Multi-destiny Traps

2009-03-30 Thread Magnus Fromreide
On Mon, 2009-03-30 at 15:49 +0100, Sergio Cabaço wrote: > Sorry for this late reply. Thank you all for your suggestions. > > Magnus, i haven't tried your file but i have tried the one presented > by net-snmp and it worked. I have simply manipulated makefile in order > to include the path to net-sn

Re: patch 1927751 broke build on Linux?

2009-03-30 Thread Magnus Fromreide
On Mon, 2009-03-30 at 13:50 +0200, Jan Safranek wrote: > Magnus Fromreide wrote: > > On Thu, Mar 26, 2009 at 11:10:24AM +0900, Mitsuru Chinen wrote: > >> Hi Thomas, > >> > >> What kind of Linux distribution are you using? > > > > I supppose he is using a linux distribution with a libc version lowe

compile options for netsnmp

2009-03-30 Thread Sanad Kumar Mishra
Hi, While compiling netsnmp, I require the least size for the agent. I got the size as 25MB when I compiled it with all the default options. I want to know what are the compile options to get a minimum size for the agent functionality. Thanks DISCLAIMER: ---

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 "Gómez González, Enrique" : > If I want to give a quickly answer to the client, it is better that the info > stay in the MIB stored. I have just to consult a value with snmpget and not > to interroge in that moment the underlying subsystem. Hmmm... I think you're being a bit over-simpl

RE: Multi-destiny Traps

2009-03-30 Thread Sergio Cabaço
Sorry for this late reply. Thank you all for your suggestions. Magnus, i haven't tried your file but i have tried the one presented by net-snmp and it worked. I have simply manipulated makefile in order to include the path to net-snmp getopt. By this way, it compiles the net-snmp getopt and use

RE: I obtain that with make install

2009-03-30 Thread Gómez González, Enrique
Thank you again for your interesting explanations. If I want to give a quickly answer to the client, it is better that the info stay in the MIB stored. I have just to consult a value with snmpget and not to interroge in that moment the underlying subsystem. I implement an Agent to fulfil the NTCPI

Q: SNMPv3 traps

2009-03-30 Thread B V Narasimhulu
Hi, I have configured SNMPv3 user on the snmpd.conf file as with following lines: - rouser bonarasi createUser bonarasiMD5 12345678DES 12345678 trapsess -v 3 -l authNoPriv -u bonarasi -a MD5 -A 12345678 x.x.x.x -- Later on when I restarted my agent (

RE: I obtain that with make install

2009-03-30 Thread Gómez González, Enrique
Thank you, Other question: I try to execute the examples, data_set, delayed_instance, etc Each time I modify something I must launch configure, make clean, make and make install? Anycase, I want to do this: I want to modify the value of a variable of a MIB each second (the information queue is no

RE: I obtain that with make install

2009-03-30 Thread Gómez González, Enrique
Sorry, something more: I t is useful http://www.csc.liv.ac.uk/~daves/Misc/UCD/CheckList.html in net-snmp? If not, could you indicate me something equivalent? It is horrrible not to know with init (init_data_set, init_delayed, ...) have been executed when I execute ./agent/snmpd Thank you -Me

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 "Gómez González, Enrique" : > I try to execute the examples, data_set, delayed_instance, etc > Each time I modify something I must launch configure, make clean, make and > make install? If you are changing the *name* of the code file containing your MIB module, then yes - you should run

Re: patch 1927751 broke build on Linux?

2009-03-30 Thread Jan Safranek
Magnus Fromreide wrote: On Thu, Mar 26, 2009 at 11:10:24AM +0900, Mitsuru Chinen wrote: Hi Thomas, What kind of Linux distribution are you using? I supppose he is using a linux distribution with a libc version lower than 2.4 - at a guess RHEL4 is one of those. For glibc 2.4 MLD_LISTENER_QUER

Re: error when start snmpd by -i interfaces

2009-03-30 Thread down Load
Dear All, Thank you so much Dave ,So it use /usr/local/share/snmp/snmpd.conf But when i try to run snmpwalk ,it can run for a while and time out . and process snmpd is gone . Please help me to solve this problem about snmpwalk Below is result when i run ./snmpd -Dread_config # ps -ef|grep snm

Re: I obtain that with make install

2009-03-30 Thread Dave Shield
2009/3/30 "Gómez González, Enrique" : > You told me that I should recompile, I copy the functions from > mibgroup/notification/snmpNotifyFilterProfileTable.c to > mibgroup/notification/snmpNotifyTable.c? No - it's probably not sensible to copy these functions across. You'd probably end up includin

RE: I obtain that with make install

2009-03-30 Thread Gómez González, Enrique
I solved the problem commenting in mibgroup/notification/snmpNotifyTable.c the calls get_FilterProfileName and snmpNotifyFilterTable_vacm_view_subtree These funcions are in mibgroup/notification/snmpNotifyFilterProfileTable.c You told me that I should recompile, I copy the functions from mibgroup

Re: error when start snmpd by -i interfaces

2009-03-30 Thread Dave Shield
2009/3/27 down Load : > Could you please let me know location of snmpd.conf that net-snmp use ? It depends on how the agent was compiled. Try running the agent using the command-line option "-Dread_config", which will report the list of directories that are being searched. Dave