Re: undocumented config tokens

2005-06-28 Thread Thomas Anders
Thomas Anders wrote: I've just posted another patch (1226187) to document the missing [snmp] and [snmptrapd] tokens: http://sf.net/tracker/index.php?func=detail&aid=1226187&group_id=12694&atid=312694 Any feedback/objections on this? I wouldn't want to check this in without review (from thos

Main Function File and Makefile

2005-06-28 Thread Jordan Janeiro Lopes da Silva
Hi guys, I´m a new user of net-snmp and I´ve got some doubts while developing agents. I´ve donwloaded the files: example-demon.c and the module files about some objects of the MIB tree. Well, I´ve tested and it´s all right, worked. Now, (1)I´d like to know if can I generate automatically a file

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-28 Thread Steve Friedl
On Tue, Jun 28, 2005 at 05:43:19PM +0200, Thomas Anders wrote: > Steve Friedl wrote: > >On Fri, Jun 24, 2005 at 04:06:18PM +0200, Thomas Anders wrote: > >>Agreed. Steve, are you willing to incorporate this into your upcoming > >>patch? > > > >Sure. But you get to pick the name this time :-) > > N

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-28 Thread Thomas Anders
Steve Friedl wrote: On Fri, Jun 24, 2005 at 04:06:18PM +0200, Thomas Anders wrote: Agreed. Steve, are you willing to incorporate this into your upcoming patch? Sure. But you get to pick the name this time :-) Now that names have been proposed (by Wes): are you willing to propose a patch?

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-28 Thread Wes Hardaker
> On Mon, 27 Jun 2005 22:07:46 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: SF> 1) disable load of config SF> 2) disable load of persistent state SF> 3) disable save of persistent state >> I can see usefulness in all of them independently actually. Not a >> normal case, sure, but I c

Re: How , implement the ATM-MIB.txt in net-snmp-x.x.x package

2005-06-28 Thread Wes Hardaker
> On Mon, 27 Jun 2005 23:26:10 -0700 (PDT), mehdi gholami <[EMAIL > PROTECTED]> said: mehdi> I"m trying to implement the mehdi> ATM-MIB.txt , then import and register taht to mehdi> net-snmp-5.2.1 (in linux suse 9.2 ) for my mehdi> research.. but i have some problems ... mehdi>

Re: Undo vacm_parse_simple in SNMPv2c

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 12:58, Koren Ofer-BOK016 wrote: > When I'm adding new community string by calling vacm_parse_simple from > within the agent ,the vacm_parse_simple function do the following (and > please let me know if I'm wrong): > - Create group with the "comm" prefix. > - Create view wit

Re: HAL additions break 5.3 build

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 12:08, Thomas Anders wrote: > Is this expected to compile on Linux as-is or considered > work-in-progress-that-is-known-to-break-the-build? ;-) It was hoped to work > Currently, 5.3 configure fails for me on Linux with: > > configure: error: mib module "hardware/memory

Undo vacm_parse_simple in SNMPv2c

2005-06-28 Thread Koren Ofer-BOK016
Hi, When I'm adding new community string by calling vacm_parse_simple from within the agent ,the vacm_parse_simple function do the following (and please let me know if I'm wrong): - Create group with the "comm" prefix. - Create view with the "viewComm" prefix. - Create access. Is there a single

HAL additions break 5.3 build

2005-06-28 Thread Thomas Anders
Dave Shield wrote: I've just committed the first preliminary pieces of the Hardware Abstraction Layer, that we've both been talking about for so long. It only covers two types of hardware (CPU and memory), and it's only implemented for Linux-based kit - but it's a start. Have a look at 'agent/m

Re: net snmp table

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 04:40, [EMAIL PROTECTED] wrote: > Will the mib2c compiler able to process Row Status $ cd net-snmp-5.2.1/local $ grep -il rowstatus mib2c.* mib2c.array-user.conf mib2c.check_values.conf mib2c.container.conf mib2c.iterate.conf mib2c.table_data.conf Dave -

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 09:57, aakansha rajvi wrote: > Actually I executed like "snmpd -D" while starting the agent. > > But I got the lot of logs as you said.. Can you explain with an > example if you dont mind? Sure - try: snmpd -f -Le -Dparse_mibs That gives: read_config: reading prem

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-28 Thread aakansha rajvi
Sorry Dave.. Actually I executed like "snmpd -D" while starting the agent. But I got the lot of logs as you said.. Can you explain with an example if you dont mind? Thanks. On 6/28/05, Dave Shield <[EMAIL PROTECTED]> wrote: > On Tue, 2005-06-28 at 08:47, aakansha rajvi wrote: > > Can anybody

Re: snmpget vs snmpwalk

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 04:18, [EMAIL PROTECTED] wrote: > Hi, Greetings, > > How does snmpd distinguish snmpget and snmpwalk requests, > by GET and GETNEXT? > In callback function varXXX(), does argument, "exact", > indicate a request is from snmpget or snmpwalk? Yes. Or strictly, whether it's a GE

Re: Readme for linux

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 09:21, mahua dutta wrote: > I have two question. > > 1. Where is the README/documentation file for linux. There's no linux-specific documentation. Most of what's in the main README, FAQ, etc will be applicable to Linux. > 2. How to deploy an extention agent as a module in

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-28 Thread Dave Shield
On Tue, 2005-06-28 at 08:47, aakansha rajvi wrote: > Can anybody tell me what is the option that be used to view the > result of DEBUGMSGTL? -D{token} where {token} is the first parameter to the DEBUGMSGTL call. You can also run with '-D' to turn on *all* debugging. But that results in a

Readme for linux

2005-06-28 Thread mahua dutta
I have two question. 1. Where is the README/documentation file for linux. 2. How to deploy an extention agent as a module in linux. Is there dlmod support is there in linux as solaris?   Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football

Re: Issue while implementing POWER-ETHERNET-MIB.

2005-06-28 Thread aakansha rajvi
Can anybody tell me what is the option that be used to view the result of DEBUGMSGTL? Thanks Aparna.R On 6/28/05, aakansha rajvi <[EMAIL PROTECTED]> wrote: > While doing set operation using our application with the simulated > device, the save operation is not successful and I got an information