information on this would be much appreciated.
Many Thanks
Graeme Wilson
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as
rnels 2.6 to 1.3) ... ".
Can anyone report
if it works in full on these OS's or what parts do not work
fully.
Many
Thanks
Graeme
Wilson
That's good enough for me.
Many thanks for that.
Graeme.
> -Original Message-
> From: Thomas Anders [mailto:[EMAIL PROTECTED]
> Sent: 31 January 2006 16:40
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: net-snmp on SUSE/RedHat
&
Hi,
I am using net-snmp
5.3.0.1 (on Suse 8.2) and I need to write a sub-agent to implement a
table. I'm new to snmp so as a starting point I tried following the
tutorial on the web for the mib2c mfd (for the ifTable).
However when I
generated the code using mib2c (mib2c -c mib2c.mfd.conf if
Hi,
I have implemented
a table in a MIB which works fine if I insert 1 row but
crashes my sub-agent if I try to insert 2 rows at once.
I guess this could
be either:
a) a
bug
b) my fault
- maybe I need to do something in my code to handle multiple row
insertion
c) not a bug, but is a
.
> -Original Message-
> From: Wes Hardaker [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2006 18:11
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: add multiple rows with 1 set - crash
>
> >>>>> On Thu, 13 Jul 2006 14:07:14 +0100, &quo
ilto:[EMAIL PROTECTED]
> Sent: 27 July 2006 17:23
> To: Robert Story
> Cc: net-snmp-coders@lists.sourceforge.net; Graeme Wilson
> Subject: Re: add multiple rows with 1 set - crash
>
> On Thu, 27 Jul 2006 11:57:00 -0400 Robert wrote:
> RS> The trace you sent was indeed helpful.
n I execute the snmpset
commands above.
Thanks for your help
Regards
Graeme.
> -----Original Message-
> From: Robert Story [mailto:[EMAIL PROTECTED]
> Sent: 02 August 2006 12:57
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: add multiple
Hi Robert,
I just wondered if you were any closer to a solution for this problem -
or maybe you need more debug from me to help you out.
Many thanks
Graeme.
> -Original Message-
> From: Robert Story [mailto:[EMAIL PROTECTED]
> Sent: 04 August 2006 20:32
> To: Graeme Wils
ber 2006 17:42
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: add multiple rows with 1 set - crash
>
> On Thu, 24 Aug 2006 11:34:44 +0100 Graeme wrote:
> GW> I just wondered if you were any closer to a solution for this
> GW> problem - or may
Hi,
I've used 'mib2c -c
mib2c.iterate.conf' to generate some template code for my
table.
My data is not held
by the agent its self - which was my reasoning for using the iterate
config.
The code all works
fine, however, I need to protect the data to prevent the agent performing reads
on
7;xxx_get_next' and
the start of 'xxx_table_handler') - or have I missunderstood something?
Thanks
Graeme.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Robert Story
> Sent: 20 September 2006 15:05
> To: Graem
1 September 2006 14:19
> To: Dave Shield
> Cc: net-snmp-coders@lists.sourceforge.net; Graeme Wilson
> Subject: Re: Table iterator - data protection
>
> On Thu, 21 Sep 2006 09:43:24 +0100 Dave wrote:
> DS> What the handler needs is "some way" of retrieving the data f
raeme.
>
>
> > -Original Message-
> > From: Robert Story [mailto:[EMAIL PROTECTED]
> > Sent: 04 August 2006 20:32
> > To: Graeme Wilson
> > Cc: net-snmp-coders@lists.sourceforge.net
> > Subject: Re: add multiple rows with 1 set - crash
> >
> &
>prev ==
saved_requests[i-1]);
+ saved_requests[i]->prev = NULL;
+}
}
saved_requests[i] = NULL;
> -Original Message-
> From: Robert Story [mailto:[EMAIL PROTECTED]
> Sent: 10 October 2006 17:58
> Cc: net-snmp-coders@lists.sourceforge.net; Graeme W
> I plan to use a simple mutex to avoid the linked list to be
> read/written
> at the same time. The application won't be under a heavy load so this
> isn't a critical point imo.
>
> Olivier B.
>
Oliver,
Where do you plan on locking/unlocking the mutex in the subagent code?
The obvious place
to take a
new copy or not.
Cheers
Graeme.
> -Original Message-
> From: Olivier Beytrison [mailto:[EMAIL PROTECTED]
> Sent: 20 December 2006 10:17
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: Question regarding the Iterator method
>
ion to free my data
allocated during the get_first/get_next iterators. However, if I
perform a get for 2 oids in a single get (snmpget -v2c .
) then the free function seems to get called twice for each of the
oids I am querying. I suspect this is a bug?
I am currently using Net-SNMP
help do any
debugging, provide code extracts etc. to try and find the cause of the
problem.
I've tried several versions of Net-SNMP and found the same problem in
each one - including the 5.4.1-pre3.
Cheers
Graeme Wilson
---
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Robert Story
> Sent: 28 June 2007 18:34
> To: Graeme Wilson
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: Memory leak in agent code using mfd
>
> On Thu, 28 Jun 2007 16:46:09 +0100 Grae
er than return an
error. Do I need to implement this check somewhere - or should the
net-snmp code handle this and return the error?
Cheers
Graeme
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Graeme Wilson
> Sent: 02 July 2
> GW> In the iterator irreversible_commit
> "CONTAINER_REMOVE" call
> GW> am I responsible for the container -
> "_if_ctx.container" or
> GW> is this an internal thing to Net-SNMP?
>
> RS> That container is the 'iterator container' that is used to
> RS> iterate over your data.
>
> RS> So, un
22 matches
Mail list logo