how to set data to network devices? Thanks!

2005-10-27 Thread livia xie
Hello, friends   I want to extend agent on the base of net-snmp to manage my network devices. But I have no idea about how to set data to my devices. After  the agent receives the msgs from NMS, how can it set the datas to devices? Can I define ioctl functions in my device drivers and call the func

Re: snmp bulk get performance

2005-10-27 Thread Haizhu Liu
When you say "preliminary request to retrieve" the number of rows in the table, does that mean the agent has to provide that information, if it is not defined by the agent, that means this approach is not doable, right? By the way, I am using snmp_synch_response for BULKGET request, is there s

Problem with configure script for 5.2.1.2

2005-10-27 Thread Olejniczak, Tomasz (Tomasz)
Hello, I downloaded the 5.2.1.2 source code to the UP-UX machine next I ran the configure script with params: ./configure --enable-ipv6=yes --prefix=/texusr/tomasz/net-snmp-5.2.1.2 --with-openssl=/tnm_vbase/hp11/openssl/openssl0.9.7-d --enable-ucd-snmp-compatibility --disable-agent --with-libs=-ln

Re: Duplicate cache timers

2005-10-27 Thread Dave Shield
On Thu, 2005-10-27 at 10:17 -0400, Robert Story wrote: > On Wed, 26 Oct 2005 12:43:06 +0100 Dave wrote: > DS> in the last day or so, I've started getting warning > DS> messages from snmpd (CVS MAIN): > DS> > DS> "cache has existing timer id." > > Really? I've been seeing it for ages. I

Re: Duplicate cache timers

2005-10-27 Thread Robert Story
On Wed, 26 Oct 2005 12:43:06 +0100 Dave wrote: DS> in the last day or so, I've started getting warning DS> messages from snmpd (CVS MAIN): DS> DS> "cache has existing timer id." Really? I've been seeing it for ages. I kept meaning to look a it. DS> I'm presuming that both the ifTabl

Re: how to integrate mib modules?Thanks!

2005-10-27 Thread Robert Story
On Wed, 26 Oct 2005 17:56:46 +0800 livia wrote: LX> I define a MIB to manage my network devices and the MIB definition is too LX> large that I want to divide it into several modules. But I don't how to LX> integrate these modules generated by mib2c together. If I compile my LX> modules into shared

Re: Regarding SET requests

2005-10-27 Thread Robert Story
On Wed, 26 Oct 2005 08:03:12 -0700 Wes wrote: WH> madanagopal> Where and how to modify? WH> WH> I forget... Robert would likely know off the top of his head... It's in agent/snmp_agent.c. Search on the variable netsnmp_processing_set. -- Robert Story; NET-SNMP Junkie Support:

Re: 5.2+ snmptrapd -H

2005-10-27 Thread Robert Story
On Mon, 24 Oct 2005 11:24:43 +0200 Thomas wrote: TA> "snmptrapd -H" in 5.2.x and 5.3dev currently lists a few agent-related TA> tokens that happen to surprise me: TA> [...] TA> What brings them all in? init_agent()? Can this be easily fixed? Generally individual mib init routines register tokens.

Re: snmp bulk get performance

2005-10-27 Thread Dave Shield
On Wed, 2005-10-26 at 15:48 -0400, Haizhu Liu wrote: > Hi, I wrote an application that does snmpbulkget to different tables on one > host synchonously. That takes a long time if the table is big > . My question is: is there a way to improve performance > in my application. That prob

RE: auth type and private type in V3

2005-10-27 Thread Dave Shield
On Wed, 2005-10-26 at 17:03 -0700, Fong Tsui wrote: > 1) usmUser 1 3 0x... 0x... 0x... NULL "" > What are the first two fields in usmUser entry, here is 1 3? > What is the No 6 data, here is NULL? > What is the last data, here is ""? Please take a look at snmplib/snmpusm.c:usm_sav