RE: descriptions of mib modules in agent/mibgroup dir?

2004-11-16 Thread William R. Buckley
It will be quite some work to do but, one way to become familiar with the MIB content of Net-SNMP is to review the names of the modules in the agent/mibgroup directory, and then compare these to the MIBs found in the RFC found on the IETF website. A perhaps easier alternative is to view the output

Sending traps from an agentX subagent

2004-11-16 Thread Russell Bell
I'm looking for help getting an agentX subagent working right. I've built netsnmp 5.1.2 on Solaris 8, and written an agentX subagent. The subagent implements GET & GETNEXT for a bunch of custom scalar & table objects, and it works OK. However, traps are proving troublesome. The subagent proces

Bug report in net-snmp-5.1.1

2004-11-16 Thread 오호일
I found a bug in net-snmp-5.1.1. My environment is below. == - total 4 daemon with smux interface. - net-snmp-5.1.1 SNMP Agent -> proxy Agent == I browsed each MIB by MIB-Browser. But Daemon loading order was uncondi

Help! trap problem: Broken pipe

2004-11-16 Thread dzhou
I just want to implement the agent sending a trap. Here is my steps: 1)I use a MIB: NOTIFICATON-TEST-MIB defined a trap. Then use mib2c.notify.conf generated .h and .c files. By comparing these two files with example/notification.c and .h files, i created my own files listed below: demonotif.c ..

descriptions of mib modules in agent/mibgroup dir?

2004-11-16 Thread Nick Bartos
I am trying to find a description of the mib modules that come with the net-snmp distribution. It appears there are a lot of them, but I don't see any documentation on what each one does. I did some google searching but not much came up. Is there a list of what each of these things does? I real

multiple set of table handling

2004-11-16 Thread Jim Su
Hi Greeting: I have implemented net-snmp agent on 5.0.6 with UCD api. The agent has the handling to get the content of a table from another process. Currently the process only supplies one set of table to my agent. In the agent it's very straight forward to check each item in the prov

Error compiling net-snmp 5.1.2

2004-11-16 Thread Sergio Afonso Coderch
Hi all, When I compile the net-snmp 5.1.2 (make sentence), the next error messages appear: [...] gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I./../agent -I../agent/helpers -I./../agent/mibgroup -g -O2 -Dlinux -c snmpget.c -o snmpget.o >/dev/null 2>&1 mv -f .libs/snmpget.lo snmpget.l

WRB - A final comment on seeming errors in mib2c.

2004-11-16 Thread wrb
OK, OK, I think I now see the problem correctly. It is not with mib2c but with AGENT.txt, as the text file is out of date. If I can get commentary on a rewrite, I offer to provide same. Are the core developers game? William R. Buckley President SoftNerd, A California Corporation Director Emerit

WRB: More on seeming mib2c failure.

2004-11-16 Thread wrb
It occurs to me that readers of my recent postings (one is pending moderator approval, since the MIB is about 113Kbytes in size) will desire to know the module format for my implementation of the 802.11 MIB. I am using the old UCD format at the present time, and so the output of mib2c is in the UC

help on this snmpwalk result

2004-11-16 Thread Hwanjo Heo
Hello. I have some questions of this snmpwalk result. When I specify the OID I'm interrested in(1.3.6.1.4.1.9.2.2.1.1.26 : locIfInputQueueDrops), $ snmpwalk -v 2c -c public 128.210.254.180 1.3.6.1.4.1.9.2.2.1.1.26 SNMPv2-SMI::enterprises.9.2.2.1.1.26.1 = INTEGER: 0 SNMPv2-SMI::enterprises.9.2.2.

WRB: A seeming failure of mib2c in Net-SNMP-5.1.2

2004-11-16 Thread wrb
In reading the file AGENT.txt, I notice under section 3 *The C code header file*, subsection *Module dependancies* (yes, in the file the word is misspelled), comes the first paragraph suggesting the existence of a directive, yet the place where the directive ought appear in the file is blank. I t

Re: Using persistent file as config file

2004-11-16 Thread Gary Clark
Hello, To append what Robert stated. Yes of course you can do this. Basically ( I hate using that word but at this time it seems appropriate) you will register a callback function which is associated to a token. The token eg a unique string pattern will exist in the persistence file i.e snmpd.conf

SNMP leak bug update?

2004-11-16 Thread Rob Kudyba
Any update on this? This makes our app. almost useless as the memory usage gets unruly...for example: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 23622 root 15 0 372M 280M 82788 S 0.3 56.0 4:17 snmpd http://sourceforge.net/tracker/index.php?func=detail&aid=

RE: error compiling net-snmp 5.1.2

2004-11-16 Thread Bruce Shaw
> Hi all, When I compile the net-snmp5.1.2 (make sentence), the next error messages appear: make[2]: Leaving directory `/home/sergio/My Documents/SNMP/net-snmp-5.0.9/apps/s nmpnetstat' /bin/sh ../libtool --mode=link gcc -o snmpget snmpget.lo -L../snmplib -L../agen t -L../agent/helpers ./snmplib/lib

my OS X notes when testing using README.snmpv3

2004-11-16 Thread Rob Kudyba
Someone may or may not want to update the docs...tested on OS X.3.6 -this error: nlist err: neither icmpstat nor _icmpstat found. is partially documented in README.osX -need full path to net-snmp-config, e.g., ' /usr/local/net-snmp-5.1.2/net-snmp-config --create-snmpv3-user' otherwise you will

error compiling net-snmp 5.1.2

2004-11-16 Thread [EMAIL PROTECTED]
Hi all, When I compile the net-snmp5.1.2 (make sentence), the next error messages appear: make[2]: Leaving directory `/home/sergio/My Documents/SNMP/net-snmp-5.0.9/apps/s nmpnetstat' /bin/sh ../libtool --mode=link gcc -o snmpget snmpget.lo -L../snmplib -L../agen t -L../agent/helpers

Re: APM MIB

2004-11-16 Thread Alexander Kolosov
Hi, Robert! AK>> Does Net-SNMP support Application Performance Measurement MIB? > No. As I see, nobody implements it. Don't you know, it's because of that this MIB is very young, or it's useless, or it's very difficult to implement? How do you think, it is a difficult work for novice in SNMP

Re: Next Instance Index processing

2004-11-16 Thread Carlos Cantu
> On Thu, 4 Nov 2004 13:28:50 -0700 Carlos wrote: > CC> Where can I find what the agent thinks the lexicographically next > CC> OID should be? I'm getting a situation where walking the MIB gives: > CC> OIDa.1.1 > CC> OIDa.1.2 > CC> OIDa.1.3 > CC> OIDa.2.1 > CC> << skipping rows 2 & 3 here for the

SUMMARY: Re: Snmptrapd & Perl TrapReceiver failure

2004-11-16 Thread Andy Ford
I have sorted this issue now. For the history... To fix the problem I upgraded the gcc version to 3.3.2 from 3.2.2. I also added --with-perl-modules --with-cc=gcc to the end of the ./configure line. Thanks Thomas for your help Andy On Mon, 2004-11-15 at 15:30 +, Andy Ford wrote: > Here you

How to avoid to write .conf file on shutdown ?

2004-11-16 Thread Frédéric BOITEUX
Hello, I'm using Net-Snmp on Debian (version 5.1.1-2) and I've built a simple application which send a trap to a SNMP server, using the API in snmp_api.[hc]. My application is run by a simple user (without root's rights) and when it has done its job, it calls snmp_shutdown("") which pr

Re: Using persistent file as config file

2004-11-16 Thread Sridhar S
Thanks for the help. I go ahead and do it. Sridhar On Mon, 15 Nov 2004 22:47:03 -0500, "Robert Story" <[EMAIL PROTECTED]> said: > On Mon, 15 Nov 2004 19:20:57 +0530 Sridhar wrote: > SS> I am using net-snmp 5.1. My question is can I use persistent file as > SS> configuration file ? As I observed,

Re: (no subject)

2004-11-16 Thread Sridhar S
Thanks for the reply. I fixed the problem. I required to remove the last OID from the ifXTable_variables_oid in the UCD style generated code. Sridhar On Mon, 15 Nov 2004 22:44:27 -0500, "Robert Story" <[EMAIL PROTECTED]> said: > On Wed, 10 Nov 2004 14:48:59 +0530 Sridhar wrote: > SS> I am using

How to avoid to write .conf file on shutdown ?

2004-11-16 Thread Frédéric BOITEUX
Hello, I'm using Net-Snmp on Debian (version 5.1.1-2) and I've built a simple application which send a trap to a SNMP server, using the API in snmp_api.[hc]. My application is run by a simple user (without root's rights) and when it has done its job, it calls snmp_shutdown("") which pr

ip address and engine-id

2004-11-16 Thread John, Jaiber J
Hello Will there be any problem with SNMP user-accounts in a DHCP environment? I think the engine-id is derived from the IP address. So, if the IP address changes, have to re-create the account?   Thanks  Jaiber John --- This SF.Net email i