Re: NET-SNMP Query

2005-04-29 Thread Robert Story
On Fri, 29 Apr 2005 16:22:48 +0530 [EMAIL PROTECTED] wrote: YAC> I need to know the actual flow of the NETSNMP code for YAC> set/get/getnext/getbulk operations since we need to customize them for YAC> our project purpose. YAC> [...] YAC> Is there anyone who have done this before or is there any do

Re: Timeout issue with Net-SNMP on MAC OS X 10.3.8

2005-04-29 Thread Robert Story
On Wed, 27 Apr 2005 10:22:52 -0700 Pete wrote: PP> execute like " snmpgetnext -v 3 -n none -u noAuthUser -l noAuthNoPriv PP> test.net-snmp.org sysUpTime" I'll get the following error back: PP> snmpgetnext: Timeout. It seems that test.net-snmp.org is down. Have you tried running the agent on the lo

RE: How to implement tables in 5.0.6

2005-04-29 Thread Toth, Gregory S
-Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 1:35 AM To: Toth, Gregory S Cc: [email protected] Subject: Re: How to implement tables in 5.0.6 On Wed, 2005-04-27 at 22:38, Toth, Gregory S wrote: > We are in the transiti

Re: Configuring net-snmp

2005-04-29 Thread Wes Hardaker
> On Fri, 29 Apr 2005 17:38:40 +0200 (CEST), Didier Ambroise <[EMAIL > PROTECTED]> said: Didier> I do not know much about snmp so I need to know about Didier> the values to enter whan I'm configuring net-snmp. Run "snmpconf" to help you with the configuration. -- Wes Hardaker Sparta,

Configuring net-snmp

2005-04-29 Thread Didier Ambroise
I do not know much about snmp so I need to know about the values to enter whan I'm configuring net-snmp. Thank you Didier Ambroise System Administrator for Louverturenet. __ Découvrez le nouveau

NET-SNMP Query

2005-04-29 Thread yogesh.ankolekar
Hi,   I need to know the actual flow of the NETSNMP code for set/get/getnext/getbulk operations since we need to customize them for our project purpose. Can anyone let me know the code flow for the set operation and which is the method where this is implemented. Need to know how the message

Re: Net-SNMP toolkit vs EMANATE SNMP research Toolkit

2005-04-29 Thread Wes Hardaker
> On Tue, 26 Apr 2005 09:42:09 +0100, Dave Shield <[EMAIL PROTECTED]> said: >> And what are the advantages/disadvantages of Net-SNMP >> toolkit over EMANATE SNMP research Toolkit? Dave> We're free. Dave> They provide commercial support. Well, and to summarize in a slightly different way: the

Re: rfc: better size checks in snmp_set_var_value

2005-04-29 Thread Wes Hardaker
> On Mon, 25 Apr 2005 13:41:16 -0400, Robert Story <[EMAIL PROTECTED]> said: Robert> While investigating a recent problem report on a 64 bit issue, Robert> I discovered that the function snmp_set_var_value() doesn't Robert> really do much error checking on the values passed to it. On Robert> t

Re: table_data helpers

2005-04-29 Thread Robert Story
On Fri, 29 Apr 2005 13:52:45 +0100 Dave wrote: DS> On Thu, 2005-04-28 at 00:47, Robert Story wrote: DS> > Think of table_container as a cake. The container conf DS> > is red frosting. DS> DS> I'd regard the mib2c.container.conf as describing the bare DS> cake. It doesn't imply any frosting at all

Re: Timeout issue with Net-SNMP on MAC OS X 10.3.8

2005-04-29 Thread Wes Hardaker
> On Wed, 27 Apr 2005 10:22:52 -0700, Pete Parks <[EMAIL PROTECTED]> said: Pete> Has anyone installed and used Net-SNMP on a Mac OS X 10.3.8 Pete> system yet? If what configuration on the build and install Pete> works, because I can configure, make, install and run snmpd but Pete> that about i

Re: table_data helpers

2005-04-29 Thread Robert Story
On Fri, 29 Apr 2005 10:31:37 -0700 Wes wrote: WH> Robert> Like he's paying any attention. WH> WH> You 2 do tend to ramble on a bit ;-) /me falls off his chair.. WH> [...] I shouldn't need to read these discussions ;-) WH> WH> Of course I think I just proved I do anyway. Gee, thanks for nothing

Re: table_data helpers

2005-04-29 Thread Wes Hardaker
> On Wed, 27 Apr 2005 09:57:14 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> The public API for supplying index values has always been Dave> via netsnmp_table_row_add_index. Dave> That's my understanding anyway - Wes, care to correct any Dave> errors? Well, this is where we frequently d

Re: iterate vs scalar

2005-04-29 Thread Wes Hardaker
> On Fri, 29 Apr 2005 13:41:38 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> I don't believe that the instance helper is particularly useful Dave> - but I don't think that we should actually change the Dave> functionality. Bz You guys seem to think that the *only* time you'll re

Re: table_data helpers

2005-04-29 Thread Wes Hardaker
> On Wed, 27 Apr 2005 10:16:36 -0400, Robert Story <[EMAIL PROTECTED]> said: DS> That's my understanding anyway - Wes, care to correct any errors? Robert> Like he's paying any attention. I'd be willing to be when he Robert> sees a thread between us that starts to get long, he stays as Robert>

Re: table_data helpers

2005-04-29 Thread Wes Hardaker
> On Tue, 26 Apr 2005 09:39:59 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> In which case, can I suggest that we add suitable wrappers to Dave> table_data and table_dataset now. Keep the same internals (so Dave> not to break backward compatability), but provide a cleaner API. Dave> Bett

Re: Create own plugin: have a question

2005-04-29 Thread Wes Hardaker
> On Fri, 29 Apr 2005 16:30:27 +0200, Emmanuel Doguet <[EMAIL PROTECTED]> > said: Emmanuel> Have you an example please ? Have you looked at the tutorials: http://www.net-snmp.org/tutorial/tutorial-5/toolkit/ And at the example code in agent/mibgroup/examples/ -- Wes Hardaker Sparta

RE: How to implement tables in 5.0.6

2005-04-29 Thread Toth, Gregory S
> My guess is that xx_get_first_data_point should return the > objectID (in the netsnmp_variable_list) of the first element table > element (1 (column),1 (row)) for a 2 dimensional table and that given > a object id in the "netsnmp_variable_list * put_index_data", > xx_get_next_data_poi

Re: Create own plugin: have a question

2005-04-29 Thread Emmanuel Doguet
Hi to all, Sorry, I'll be back .. but after try to made a table with Iterate (but pb with memory free and don't understand the cache_handler), I'm trying with dataset but create/delete row dynamicly in the handle doesn't work. I have a simple array, who need to alloc/make data for each SNMP wa

Re: RFC2233 Support

2005-04-29 Thread gg gg
--- Dave Shield <[EMAIL PROTECTED]> wrote: > On Mon, 2005-04-25 at 22:16, gg gg wrote: > >Was wondering why you would implement > 2233(proposed > > standard) instead of 2863(draft standard and > obsoletes > > 2233)? > > But is there actually any significant difference > between > the two? A

Re: table_data helpers

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 00:47, Robert Story wrote: > On Wed, 27 Apr 2005 16:11:53 +0100 Dave wrote: > DS> I think that, like it or not, the > DS> introduction of this config file *has* effectively > DS> defined an API for the table_container helper. > > Just because a mib2c conf fil

Re: iterate vs scalar [Was: table_data helpers]

2005-04-29 Thread Dave Shield
On Thu, 2005-04-28 at 00:52, Robert Story wrote: > On Wed, 27 Apr 2005 16:00:51 +0100 Dave wrote: > DS> In general, I'd tend to agree - I don't believe that the instance > DS> handler is particularly useful. > DS> But this is one of Wes' helpers, so I'm reluctant to simply > DS> drop it. > Don'

Re: Setting the sender address in outgoing SNMP trap packets

2005-04-29 Thread Dave Shield
On Mon, 2005-04-25 at 16:38, Shobana Sampath wrote: > I tried to add a varbind to set the snmpTrapAddress, > but no luck, the resulting pdu does not have the > agent_address set as they say in the RFC: No - you're not mean to add a varbind to do this. You are meant to assign a suitable address to

Re: RFC2233 Support

2005-04-29 Thread Dave Shield
On Mon, 2005-04-25 at 22:16, gg gg wrote: >Was wondering why you would implement 2233(proposed > standard) instead of 2863(draft standard and obsoletes > 2233)? But is there actually any significant difference between the two? A brief scan through the "Changes since 2233" section of RFC 2863