using snmptrapd to dump trap data

2005-01-11 Thread Christopher Fowler
I've written a traphandler in C that is executed by snmptrapd when a trap comes in. snmptrapd spits out all information via STDOUT. Is there a way to get the actual data instead of the ASCII version of the trap. I would like to use the net-snmp libraries in my traphandler to parse the data inste

Re: Bug in tools.c's netsnmp_getenv() -- 5.2.1

2005-01-11 Thread Alex Burger
Hi Daniel. Philip W Gillis posted the same fix a month ago and I thought I applied the fix, but it looks like I didn't.. We are already at rc2 for 5.2.1, so I'm not sure if it can go in. I'll check. Alex Daniel Kerns wrote: Hi Folks: I hope this it the right place to post this. Building snmp

moving agent processing modes to baby-steps

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 15:02:41 + Dave wrote: DS> On Fri, 2005-01-07 at 16:29, Robert Story wrote: DS> > On Fri, 07 Jan 2005 10:34:45 + Dave wrote: DS> > DS> It appears that in most cases, the MfD framework effectively splits DS> > DS> each pass of the "traditional" SET handling model DS> > D

Re: review of contributions ?

2005-01-11 Thread Wes Hardaker
> On Tue, 11 Jan 2005 07:59:51 -0700, Jeffrey D Watson <[EMAIL PROTECTED]> > said: Jeffrey> Thanks to all the litigation regarding Open Source projects, Jeffrey> we have to re-review everything I've done. Wheee!!! Jeffrey> 0) Does the maintainer perform any review of contributions Jeffr

Re: Baby Steps structure

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 15:02:41 + Dave wrote: DS> > Yes. The idea is that eventually the agent will use the baby step modes, DS> > and a helper will be created to map back for the old style modes. DS> DS> Hmmm I'm not sure I remember that decision. Or even the discussion DS> that presumably

Re: QNX port - some simple questions

2005-01-11 Thread Wes Hardaker
> On Tue, 11 Jan 2005 12:12:10 -, "Jim Douglas" <[EMAIL PROTECTED]> > said: Jim> Is there a built-in facility to force kvm.h to be ignored during the build, Jim> or do I have to modify the 'configure' file? You have to modify configure.in, and then run autoconf which generates the co

Re: disabling set requests

2005-01-11 Thread Wes Hardaker
> On Tue, 11 Jan 2005 10:29:31 -0500, Robert Story (Coders) <[EMAIL > PROTECTED]> said: Robert> It came up in IRC. Someone wanted a read-only system that Robert> couldn't turn into a read-write system if misconfigured. Or, um, intentionally configured it but he didn't want them to have t

Re: SNMP trap

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 13:02:13 + (GMT) Mayuresh wrote: MD> MD> If I send a vendor specific v2 trap using snmptrap utility then can I MD> receive this trap on windows machine? If yes where will I see the received MD> trap (notification) ? If you have a trap receive installed, yes. And where it

Re: Baby Steps structure

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 15:02:38 + Dave wrote: DS> > (A similar variable could control whether or not individual get, set, DS> > validation and undo routines are generated. It would effectively move a DS> > good bit of code out of the interface file and into the get/set files. ie DS> > one big func

Re: non-caching MfD framework

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 15:02:35 + Dave wrote: DS> > I thought comment changes were always fair game. And comments in DS> > mib2c conf files seems even safer. No? DS> DS> The mib2c conf file are less vital, agreed. But it's not true DS> that comment changes are fair game. What I'd suggested was

Re: non-caching MfD framework

2005-01-11 Thread Coders
On Mon, 10 Jan 2005 15:02:32 + Dave wrote: DS> > I would probably take the existing ${context}_cache_load() and include it DS> > as${context}_container_load(), since that's really what it is doing. DS> DS> Ummm I'm not quite sure what you mean here. DS> Under what circumstances would 'con

Re: non-caching MfD framework

2005-01-11 Thread Dave Shield
DS> Under what circumstances would 'container_load' be called for a DS> non-caching module? When the agent first starts up, during normal DS> operation, or when? RS> Yes, at startup. Then it would be up to the module to maintain RS> it during runtime. Remember, the idea here, by default, is RS

review of contributions ?

2005-01-11 Thread Jeffrey D Watson
Greetings all ! I've been absent of this list for a long time.  I hope everyone's is well.  Thanks to all the litigation regarding Open Source projects, we have to re-review everything I've done.  House counsel asked this:   0) Does the maintainer perform any review of contributions (other than

Re: disabling set requests [was: CVS: net-snmp NEWS,5.45]

2005-01-11 Thread Coders
On Sun, 09 Jan 2005 20:59:46 -0800 Wes wrote: WH> Robert> mention new option to disable set requests WH> WH> Um, what's the purpose of this? I am some what hesitant about WH> implementing something like this since I'd bet (not having looked at WH> the code admittedly) that it doesn't properly cha

Help me out regarding snmptrap

2005-01-11 Thread RajChandrasekaran
Hi , Iam working on snmptrap . Iam trying to receive Snmptrap from a router and call a script /home/rchand/mail/traps which performs critical task like mail alert. I have Net:snmp installed and working in my Linux box . My snmptrapd.conf file looks something like this . # # net-snmp (o

QNX port - some simple questions

2005-01-11 Thread Jim Douglas
Some help with these newbie questions would be appreciated while I am getting up to speed - 1. kvm.h QNX 6.2.1 does not have the file kvm.h and it compiles OK, whereas QNX 6.3.0 (the latest release) does have kvm.h, but the function prototypes do not match those found in the code. Is there a bui

Re: stash_cache helper

2005-01-11 Thread Dave Shield
On Tue, 2005-01-11 at 06:34, Wes Hardaker wrote: Wes> Depends on where you [inject the handler]. Dave> During the course of processing a request. Wes> Err... um, *why* would you ever do it during request processing? Because it's the only place where the agent knows about the rest of the handler

pass_persit BIT fields

2005-01-11 Thread Ola Carlsson
Hi! Need help, I cannot find any information ;-( Using pass_persist and having trouble when my pass process is answering a get request. requested variable: fassTransponderDegradedStatus BITS (0-20) The problem arises for example when i want to return just bit 20 set. (0x08) - b