Compiled Package are not working on another windows-Xp Machine

2013-01-02 Thread Gaurav Dubey
Hi All, I have had downloaded & compiled the Net-snmp(net-snmp-5.7.1) package on my Windows-Xp (Service Pack-3) machine,with the help of Microsoft Visual Studio C++ 2008. This compiled source has been working fine until this VC++ got installed & if I make it uninstall , t

Question regarding Tables in NET-SNMP

2013-01-02 Thread Reza Salehi
Happy New year everyone, I have a question regarding  Tables in NET-SNMP world. I have used mib2c to create a table for my code. Everything  is working  and I can retrieve my table using snmpwalk.  The only problem I have is  myTableHandler  gets call multiple times while it is iterating duri

Re: question regarding Tables implementation

2013-01-02 Thread Dave Shield
On 2 January 2013 18:59, Reza Salehi wrote: > The only problem I have is myTableHandler gets call multiple times while > it is iterating during the GET or SET. Can you be a bit more explicit about exactly what is happening? For a single GET request, you should see: - one call of the 'get_f

question regarding Tables implementation

2013-01-02 Thread Reza Salehi
Happy New year everyone, I have a question regarding  Tables in SNMP world. I have used mib2c to create a table for my code. Everything  is working and I can retrieve my table using snmpwalk.  The only problem I have is  myTableHandler  gets call multiple times while it is iterating during th

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Dave Shield
On 2 January 2013 14:59, Nuno Magalhães wrote: > Hi Dave, > > Furthermore if I execute the command: > "snmpwalk -v 2c -c public 10.181.30.153 .iso" > > > I get the following output: [snip] > iso.3.6.1.2.1.25.1.7.0 = No more variables left in this MIB View (It is past > the end of the MIB tree)

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Nuno Magalhães
Hi Dave, Furthermore if I execute the command: "snmpwalk -v 2c -c public 10.181.30.153 .iso" I get the following output: iso.3.6.1.2.1.1.1.0 = STRING: "Linux asus-B53E 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10 iso.3.6

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Dave Shield
On 2 January 2013 15:46, Nuno Magalhães wrote: > Hi Dave, > > From the FAQ and your previous answers I assume > "rocommunity public" in the snmpd.conf gives us all views (more than system > only). > > Is this true? Try it. What do you see? Dave --

Re: snmpd.conf: unknown token: dlmod

2013-01-02 Thread Nuno Magalhães
Hi Dave, From the FAQ and your previous answers I assume "rocommunity public" in the snmpd.conf gives us all views (more than system only). Is this true? Regards, Nuno Magalhães. On 02-01-2013 15:03, Dave Shield wrote: > On 2 January 2013 14:59, Nuno Magalhães wrote: >> Hi Dave, >> >> Furt

RE: SNMPD ignores community string in set/get requests

2013-01-02 Thread Dudi Bickel
True, that works fine. Thanks Dudi. -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: Wednesday, January 02, 2013 1:31 PM To: Dudi Bickel Cc: net-snmp-users@lists.sourceforge.net Subject: Re: SNMPD ignores community string in set

Re: SNMPD ignores community string in set/get requests

2013-01-02 Thread Dave Shield
On 2 January 2013 11:09, Dudi Bickel wrote: > Thanks for your detailed answer, I see the point. > I tried -I kuku,vacm_vars but I didn't work, still no authentication check. OK - having now actually _tried_ this, it turns out that the vital module is actually 'vacm_conf' (vacm_vars handles the

RE: SNMPD ignores community string in set/get requests

2013-01-02 Thread Dudi Bickel
Hi Dave, Thanks for your detailed answer, I see the point. I tried -I kuku,vacm_vars but I didn't work, still no authentication check. But I'm using now -I -ifTable:ifXTable:system_mib and it works for me fine. Thanks again, Dudi. -Original Message- From: dave.shi...@gmail.com [mailto:d

Re: SNMP Agent log

2013-01-02 Thread Dave Shield
On 2 January 2013 08:45, Zheng, Wenjie (Barclay) wrote: > I am trying to implement an SNMP agent using net-snmp APIs, > I used below method to setup a SNMP agent process,called SNMP_agt. : > This agent works but I can not find the deamon process using "ps -ef|grep > snmpd"? What about "p

SNMP Agent log

2013-01-02 Thread Zheng, Wenjie (Barclay)
Hi everyone Happy new year 2013! I am trying to implement an SNMP agent using net-snmp APIs, I used below method to setup a SNMP agent process,called SNMP_agt. snmp_set_do_debugging(1); snmp_enable_stderrlog(); init_agent("SNMP_agent");

Re: SNMPD ignores community string in set/get requests

2013-01-02 Thread Dave Shield
On 2 January 2013 07:20, Dudi Bickel wrote: > I notice that when calling the SNMPD with -I flag with 'whatever' it > causes the SNMPD to turn off authentication check. Meaning when > running snmp like this /usr/sbin/snmpd -T 120 -Ln -I kuku , > Every community for get or set will work. > Is it su