5.2.2.pre3 AIX patch

2005-10-04 Thread Albert Chin
The IBM C compiler doesn't like a trailing comma after the last enum constant or struct initialization. Patch against net-snmp-5.2.2.pre3.tar.gz. -- albert chin ([EMAIL PROTECTED]) -- snip snip --- agent/mibgroup/mibII/mta_sendmail.c.orig2005-10-04 21:03:13.756016000 -0500 +++ agent/mibgro

5.2.2.pre3 published

2005-10-04 Thread Wes Hardaker
I uploaded 5.2.2.pre3 earlier today. Last time I mentioned that rc1 was going to be this Friday. However, due to recent discussion I'm now calling for votes on the upcoming schedule to follow. Pick from 1 or 2 if you want to express an opinion. 1) rc1 Friday 10/7 rc2 Friday 10/14 fi

Re: rfc: Disman Event MIB

2005-10-04 Thread Dave Shield
>The only question > left becomes: how sure are we that it works at least as good as or > better than the current version such that all the people that are > using the current version in production environments will feel secure > that we've done this with

Re: 5.2.x make test dependencies on AES?

2005-10-04 Thread Thomas Anders
Robert Story wrote: On Tue, 27 Sep 2005 11:10:59 +0100 Dave wrote: DS> That's probably sensible in terms of detecting whether DS> the agent supports AES or not. But it doesn't really DS> answer your original question - why configure the agent DS> with privacy support at all, when testing noPriv

Required Information about sending TRAP.

2005-10-04 Thread Shakeel_Ahamed
Hi,   I want to send a hard coded text message as TRAP information using snmptrap, which can be received using snmptrapd. Please tell me in which file i need to hard code that text message and what are the steps i need to follow to that.       Expecting your replay,   Thanking You

Re: Regd. multiple variable bind.

2005-10-04 Thread Dave Shield
On Tue, 2005-10-04 at 08:00 -0700, raja krishna wrote: > I would like to know how to set/get multiple objects > in a single atomic set/get snmpget . var.1 var.2 var.3 snmpset . var.1 = 1 var.2 = 2 var.3 = 3 >so that i can test multiple > varbind featu

Re: Regd. multiple variable bind.

2005-10-04 Thread Wes Hardaker
> On Tue, 4 Oct 2005 08:00:24 -0700 (PDT), raja krishna <[EMAIL PROTECTED]> > said: raja> I would like to know how to set/get multiple objects raja> in a single atomic set/get so that i can test multiple raja> varbind feature(is this possible in net-snmp?). raja> Please let me know of an

Re: getting rid of C++ keywords?

2005-10-04 Thread Wes Hardaker
> On Tue, 04 Oct 2005 16:02:40 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: >> That one, however, was simply historical. It shouldn't be a big deal >> since it's a perl module and shouldn't ever need to be compiled with a >> C++ compiler anyway. Thomas> Ack, but I think we should re

Regd. multiple variable bind.

2005-10-04 Thread raja krishna
Hi, I would like to know how to set/get multiple objects in a single atomic set/get so that i can test multiple varbind feature(is this possible in net-snmp?). Please let me know of any document which might show this. __ Yahoo! Mail - PC Magazin

Re: getting rid of C++ keywords?

2005-10-04 Thread Thomas Anders
Wes Hardaker wrote: Thomas> 1) perl/SNMP/SNMP.xs: snmp_mib_node_TIEHASH(class,key,tp=0) That one, however, was simply historical. It shouldn't be a big deal since it's a perl module and shouldn't ever need to be compiled with a C++ compiler anyway. Ack, but I think we should rename it nonethe

Re: rfc: Disman Event MIB

2005-10-04 Thread Wes Hardaker
> On Sun, 2 Oct 2005 09:55:46 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> But surely what we're interested in providing (by default) is the Dave> Event-MIB *functionality*, rather than a particular implementation? I think Robert's point should be if we're turning it on by default it sh

Re: rfc: Disman Event MIB

2005-10-04 Thread Wes Hardaker
> On Thu, 29 Sep 2005 11:10:58 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> But the basic point still stands - this code illustrates how to Dave> implement interconnected tables (of which AUGMENT is an example). Agreed -- Wes Hardaker Sparta, Inc. ---

Re: getting rid of C++ keywords?

2005-10-04 Thread Wes Hardaker
> On Tue, 04 Oct 2005 15:05:00 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> I recently noticed the use of at least two C++ keywords Thomas> (class, new) in our code. Do we agree that we shouldn't do Thomas> that? Here are the culprits: Yes, and we've agreed a number of times

getting rid of C++ keywords?

2005-10-04 Thread Thomas Anders
-Coders, I recently noticed the use of at least two C++ keywords (class, new) in our code. Do we agree that we shouldn't do that? Here are the culprits: 1) perl/SNMP/SNMP.xs: snmp_mib_node_TIEHASH(class,key,tp=0) 2) local/mib2c-conf.d/mfd-interface.m2c (and files generated from it, 5.3.dev):

Re: agentx/subagent/community

2005-10-04 Thread John J. Reardon
> Context and Community are two *completely* different things. > Using the community field was a mistake (which I thought we'd > since corrected - I'll check that). Don't try and link the two. It looks like the context is being copied into the pdu->community in version 5.2.1.2. I just figured th

RE: Regarding percentage CPU Usage by a given process.

2005-10-04 Thread Naganarasimha
But it doesn't get updated frequently it takes long time to get updated So most of the times I get 0 percentage as usage where as in task manager it is getting updated frequently. Can some one give me information about how frequently these values get updated so that I can keep my polling frequenc

Re: snmpd

2005-10-04 Thread Dave Shield
On Sat, 2005-10-01 at 12:06 -0500, Yxaaa wrote: > I am trying to install mrtg and i have this error: > SNMP Error: > Received SNMP response with error code > error status: noSuchName How have you configured the 'snmpd.conf' file? You probably want an entry rouser public and then r

Re: Regarding percentage CPU Usage by a given process.

2005-10-04 Thread Dave Shield
On Tue, 2005-10-04 at 09:23 +0530, Naganarasimha wrote: > How to find current value of percentage of CPU utilized > by a given process? > hrSWRunPerfCPU will give the “The number of centi-seconds of the > total system's CPU resources consumed by the process” Sample this value twice (separated by

Re: agentx/subagent/community

2005-10-04 Thread Dave Shield
On Mon, 2005-10-03 at 18:01 -0400, John J. Reardon wrote: > Is it possible to obtain the SNMP community of a given > request when you are in the agentx subagent? > > I think that the answer is 'no'. Correct. The administrative settings of the incoming SNMP request are not passed to the AgentX sub

Re: Can relative paths be used in snmpd.conf

2005-10-04 Thread Dave Shield
On Mon, 2005-10-03 at 14:40 -0700, Toth, Gregory S wrote: > We wish to dynamically load a module using the dlmod option in > snmpd.conf. > Dlmod ourSnmp ../usr/bin/ourSnmp.so > But the module does not load. > When we use the full path it does load > Since the directory location changes ever