net snmp on hpux build

2004-11-30 Thread Bharat Shetty
Hi, I am trying to build net-snmp-5.2.rc4 on HP-UX B.11.11 U 9000/800 with gcc version 3.3.2 using ./configure --enable-static --enable-shared=no --with-libs=-lnm --disable-mib-loading And i get the following WARNINGs: checking netinet/ip.h usability... no checking netinet/ip.h presence... y

Win32 SDK

2004-11-30 Thread Alex Burger
Hi Andy. There are now two known issues with compiling 5.2 without the SDK installed. The first is that win32\net-snmp\net-snmp-config.h contains: #define HAVE_SOCKLEN_T 1 which should only be defined if the Platform SDK is installed. The second is in agent\mibgroup\mibII\system_mib.c. wProductTyp

Re: 5.2 Build error

2004-11-30 Thread Alex Burger
Hi Estefanía. A recent patch was added to 5.2 that appears to require the SDK as you have noticed. I did a test compile without the SDK about a month ago, so I'm not sure how it didn't get noticed.. This diff shows the changes: http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/agent/mibgr

Adding interfaces to the IFMIB via AgentX

2004-11-30 Thread John W
SNMP Coders, I have searched online for a couple of days now, and have read rstory's faq quite throughly, but I can't seem to find a good way to register additional rows to an existing (standard) table such as the ifmib through AgentX. The only way I have found to do this is to register each OID

RE: general SNMP question

2004-11-30 Thread Rajeswari Natarajan
Title: RE: general SNMP question Hi,   Thanks for responding.We have a trap PDU.But we would like to add new OID in all The MIBs,so taht in the manager side,it can receive it.Adding new OID in our agents is fine.But my question is ,is it OK to add in 3rd prty MIBs. Thanks, Rajeswari -

Re: general SNMP question

2004-11-30 Thread Dipesh Gorashia
Rajeswari, --- Rajeswari Natarajan <[EMAIL PROTECTED]> wrote: > > > Hi, > >Here is a general SNMP quesstion. > >Our system has many cpus and different SNMP > agents (some of them are 3rd > party agents) are > running on each host.We send trap from all the hosts > to a specific host.T

general SNMP question

2004-11-30 Thread Rajeswari Natarajan
Title: general SNMP question Hi,    Here is a general SNMP quesstion.    Our system has many cpus and different SNMP agents (some of them are 3rd party agents)  are running on each host.We send trap from all the hosts to a specific host.That host receives all  the  traps  and then it for

windows exception on multiple varbind set

2004-11-30 Thread Gillis, Philip W (Philip)
Sorry, in the message below, I should have said "1 varbind per PDU" instead of "1 PDU", and "multiple varbinds per PDU" instead of "multiple PDU's". Phil Gillis In 5.2.1, on Win2K Pro, I have an agent with code generated from mib2c with create-dataset. I can run snmpset with 1 PDU fine, as

Re: mfd and memleak

2004-11-30 Thread P K
On Mon, 29 Nov 2004 12:19:50 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 29 Nov 2004 13:08:17 +0100 P wrote: > PK> I've implemented some tables using mfd and there is memory leak. Leak > PK> occurs when I do snmpwalk on that table. I'm allmost sure, that bug is > PK> somewhere i

net-snmp compile warnings

2004-11-30 Thread Danilo Chilene
configure: WARNING: net/route.h: present but cannot be compiled configure: WARNING: net/route.h: check for missing prerequisite headers? configure: WARNING: net/route.h: see the Autoconf documentation configure: WARNING: net/route.h: section "Present But Cannot Be Compiled" configure: WARN

RE: hi, fail to add new mib lib in netsnmp

2004-11-30 Thread Yi Hu
Hello, If you add the line: dlmod xxx /path/to/xxx.so to snmpd.conf for snmpd to load, you needn't do so much. 1. make xxx.so 2. edit the .conf in /usr/local/etc/snmp or $(HOME)/.snmp/ -- if you have everything unchanged -- add the line described ealier. 3. restart snmpd. 4. try use snmpv1

5.2 Build error

2004-11-30 Thread Estefanía Guerrero
Hello,     I'm using VC++ 6, Windows 2000, and I doesn't have SDK istalled.       I had net-snmp-5.1.2 working with no problem but I would like to use mib2c so I need 5.2       Building the net-snmp-5.2 agent using win32.dws the following errors are reported   C:\net-snmp-5.2\agent\mibgroup

Re: hi, fail to add new mib lib in netsnmp

2004-11-30 Thread celeste
BTW,i use fedora core 2 with full installation . celeste wrote: hi,all. i want to add the new mib lib in net-snmp. i got some file from http://net-snmp.sourceforge.net/tutorial-5/toolkit/dlmod/ as example. the following is my commands: 1.make nstAgentPluginObject.so 2.cp nstAgentPluginObject.so /us

hi, fail to add new mib lib in netsnmp

2004-11-30 Thread celeste
hi,all. i want to add the new mib lib in net-snmp. i got some file from http://net-snmp.sourceforge.net/tutorial-5/toolkit/dlmod/ as example. the following is my commands: 1.make nstAgentPluginObject.so 2.cp nstAgentPluginObject.so /usr/lib/ 3.cp NET-SNMP-TUTORIAL-MIB.txt /usr/local/share/snmp/mibs

Re: mtb and snmpwalk problems (bugs?)

2004-11-30 Thread P K
On Mon, 29 Nov 2004 12:50:53 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Thu, 25 Nov 2004 08:20:03 +0100 P wrote: > PK> > PK> 2) I got some sigsev's after deleting table row. I've changed > PK> > > PK> > How are you deleting the table row? > PK> > PK> I had turned > PK> OFF ,,dont u