Re: need help with proof of concept code

2004-09-22 Thread Konrad Rzeszutek
The main problem is that you are copying the pointer values of result readdir is giving you. And the pointer points to the string value, which changes everytime read-dir is invoked. Look below for a fix: On Tuesday 21 September 2004 11:35 am, Bruce Shaw wrote: > I'm working on the partitions p

Re: how to use SNMP-TARGET-MIB

2004-09-22 Thread Coders
On Tue, 21 Sep 2004 13:02:56 +0800 ___ wrote: > I have config all the table ,and I think all the operate > is right .but it can't work. > > I hack the code again. but I found when the trap send from the > agent it will go through the var *sinks*,but the notifiytable store all > the noti

Re: need help with proof of concept code

2004-09-22 Thread Coders
On Tue, 21 Sep 2004 09:35:12 -0600 Bruce wrote: BS> char dname[21]; BS> unlink(dname); As you discovered, unlink is for deleting file. You were probably thinking of free(), which frees memory. But you don't need that either, since dname is a an global array , not an allocated one. BS> When I

Re: Net-snmp-coders digest, Vol 1 #2237 - 3 msgs

2004-09-22 Thread booma sinnakaruppan
sir, after configuring net-snmp tool how can i send query to the network elements and get the response booma Yahoo! India Matrimony: Find your life partner online.

RE: SNMP Trap Decode

2004-09-22 Thread Will Chen
Hello Helper,   When I am coding with incoming SNMP traps from SNMP agent which uses net-snmp SNMP package, I met a problem.  What I want to do is printing out all the bindings for incoming SNMP traps from the agent side, just like the information logged in snmptrap.log if

Re: what 's the meaning of NOTIFY in the token access in snmpd.conf

2004-09-22 Thread Dave Shield
>> what 's the meaning of NOTIFY in the token access,lik this > "notify" is the mib view to use when notifications (traps and informs) > are sent by the agent. Though note that it is never actually used. Dave --- This SF.Net email is spons