Re: auto discovery

2010-07-09 Thread Yi ZHOU
Manager.Marshal(responses, null); } On Fri, Jul 9, 2010 at 2:55 PM, Dave Shield wrote: > On 9 July 2010 13:43, Yi ZHOU wrote: > > if the snmp manager timeout can't be > > modified, how can i improve my agent part to react the request quickly? > > Well, the fi

Re: auto discovery

2010-07-09 Thread Yi ZHOU
imeout can't be modified, how can i improve my agent part to react the request quickly? On Fri, Jul 9, 2010 at 5:53 AM, Wes Hardaker wrote: > >>>>> On Wed, 7 Jul 2010 15:33:46 +0200, Yi ZHOU said: > > YZ> i just guess if these snmp managers sent snmpwalk from > Y

Re: auto discovery

2010-07-07 Thread Yi ZHOU
er than me. whatever, i'll try to ask the vendors and continue searching by my side. if any of you have an idea, please do tell me. thanks dave On Wed, Jul 7, 2010 at 2:52 PM, Dave Shield wrote: > On 7 July 2010 13:46, Yi ZHOU wrote: > > A lot of snmp manager has the fonctionality

auto discovery

2010-07-07 Thread Yi ZHOU
hello, A lot of snmp manager has the fonctionality 'auto discovery', which allows to search the available snmp equipement in the intranet. i really wanne know how these snmp manager broadcast the request. because i have a snmp agent, i can snmpwalk or snmpset or snmpget to this agent, but if i use

cross-compile a dynamic library for mib extension

2010-06-22 Thread Yi ZHOU
Hello, is there anyone who has ever tried crossing compile a dynamic library for mib module? I'am trying to extend the agent in a arm-linux system, the c file and h file are fine, which i have already tested in linux system. To cross compile the library, i remplace simply the cc by arm-linux-cc and

Re: a problem of setting string in oid

2010-06-22 Thread Yi ZHOU
great, it works proprely.[?] On Mon, Jun 21, 2010 at 11:45 PM, Yi ZHOU wrote: > oh, yes, you're right magnus, i'll try this in the machine tomorrow morning > to see if it works, tks a lot. > > > On Mon, Jun 21, 2010 at 10:42 PM, Magnus Fromreide > wrote: > >&g

Re: a problem of setting string in oid

2010-06-21 Thread Yi ZHOU
oh, yes, you're right magnus, i'll try this in the machine tomorrow morning to see if it works, tks a lot. On Mon, Jun 21, 2010 at 10:42 PM, Magnus Fromreide wrote: > On Mon, Jun 21, 2010 at 09:50:54PM +0200, Yi ZHOU wrote: > > thanks magnus, but i did set my xxxNetInterface

Re: a problem of setting string in oid

2010-06-21 Thread Yi ZHOU
thanks magnus, but i did set my xxxNetInterfaceName_len, char* strName = "Ethernet"; size_t len = strlen("Ethernet"); entry = xxxNetInterfaceTable_createEntry(0); memcpy(entry->xxxNetInterfaceName, strName, len); entry->xxxNetInterfaceStatus = 0; please ignore the second part

a problem of setting string in oid

2010-06-21 Thread Yi ZHOU
hello, everyone, i tried to accomplish my c file which is generated by mib2c with the mib2c.iterate.conf template. see the following code, the red part is what i added. i tried to intialize the table with 2 rows, each of them has Index, Name and Status, 3 elements. Everything seems ok, i compiled i