How to define multiple trap handler?

2004-08-26 Thread Zou, Yixiong
Hi, How do I handle the situation that many applications are interested in the same trap? Does the snmptrapd.conf allow me to define multiple trap handlers for the same trap? Thanks. Yixiong Zou ([EMAIL PROTECTED]) (6

error scanning interface data (expected 10, got 9)

2004-08-26 Thread Magnus Fromreide
Hello. In if-mib/data_access/interface_linux.c there are some horrible sscanf patterns that try to read out 10 values from a line. The problem is that there are only 9 format specifiers without stars in the format. Given the names of the variables i think i have removed the right * in the attache

Re: Debian: snmpd cannot handle 64 bit interface counters

2004-08-26 Thread Jochen Friedrich
Hi Robert, > Ack! Is there a bug report for this one? I just opened bug number 1017112 for this problem. > I'm guessing this a 64 bit system, where a long is 64 bits? This is on an alpha. long is really 64 bits on this arch. Thanks, Jochen

Scalar or Table ?

2004-08-26 Thread Naber, Peter
Hi, I like to write a generic agent, that will read a mib and construct an compatible agent to this mib. I am look to the parse.c file, but I don“t know how to distinguish between an normal scalar value and a scalar value in a table enviroment. Is there any possibility to be aware, that the sca

Re: Debian: snmpd cannot handle 64 bit interface counters

2004-08-26 Thread Coders
On Wed, 25 Aug 2004 18:14:24 +0100 Richard wrote: RM> > Though I'm not sure we'd need explicit 64 bit types. (There is intmax_t RM> > for the case when you simply want the largest available int type.) I RM> > think the idea is more focused on explicit sizes for constrained types. RM> > RM> I think

Re: Hosts.allow/hosts.deny relates to snmpd

2004-08-26 Thread Coders
On Wed, 25 Aug 2004 09:48:36 -0700 Fong wrote: FT> Is the patch you mentioning here for filtering out callback transport? Yes, that is the patch we are talking about. -- Robert Story; NET-SNMP Junkie Archive:

Re: Debian: snmpd cannot handle 64 bit interface counters

2004-08-26 Thread Coders
On Wed, 25 Aug 2004 18:49:37 +0200 Magnus wrote: MF> On Wed, Aug 25, 2004 at 04:48:15PM +0100, Dave Shield wrote: MF> > DS> I'd suggest that the first thing would be to make sure that we have MF> > DS> suitable 32-bit types available - either defining new MF> > DS> project-specific types, or pick o

Re: How to make Net-SNMP threadsafe

2004-08-26 Thread Coders
On Thu, 26 Aug 2004 10:14:25 +0200 Fallmann, wrote: FD> We don't want to make all the mibs already implemented thread-safe. FD> What we would like to do is to make AgentX and the Masteragents FD> AgentX-dispatching multi-treaded and indeed we are already writing a FD> document referencing the code

Re: Hosts.allow/hosts.deny relates to snmpd

2004-08-26 Thread John Naylon
DS> The libwrap calls check against "snmpd" if there's an address string, DS> but "snmp" it there isn't. Is this difference intentional? If so, why? RS> I can't imagine why there would be a different check. John, any ideas? Nah, looks like a typo to me -- sorry 'bout that! John -

AW: How to make Net-SNMP threadsafe

2004-08-26 Thread Fallmann, Daniel
Hi Robert! RS> That will be a less than simple task. There has been no RS> prior work done in this area, so you'll be breaking new RS> ground. One of the biggest problems you will run into RS> is global variables. RS> Do you just want the core agent multi-threaded, or were RS> you hoping for