error while loading shared libraries:libcrypto.so.0.9.7

2005-06-14 Thread shufen zhang
Hi all, I was trying to port net-snmp agent to the embedded montavista linux. I did ./configure --diable-shared --enable-static --with-ldflags='-Bstatic' --with-openssl=path ... Libraries including lnetsnmpagent, lnetsnmpmibs, lnetsnmphelpers and lnetsnmp have linked to the project binary execu

how to delete row from non-simple MIB table

2005-06-14 Thread Steve S. Law
Hi I am developing an agentX sub-agent which monitors rfc2788-based variables from other application processes. The sub-agent sends requests to and receives results from those processs. My MIB is a table generated by mib2c tool using iterate.conf. One row in the table corresponds to one applica

Setting up snmpd so that the interfaces are viewable

2005-06-14 Thread Jeff Silverman
Hi, I am new to SNMP so please bear with me. I am trying to view the interface OIDs (1.3.6.1.2.1.2) on my linux server, but all I can see are the system OIDs (1.3.6.1.2.1.1). Since I can see the system OIDs, I know that I have snmpd and snmpget working. I think I have to extend snmpd using t

loading MIB files

2005-06-14 Thread Nourdeh, Allen (US SSA)
I am trying to load my new MIB file into net-snmp 5.2.1 on linux. I put the file into the /usr/local/share/snmp/mibs directory, and created the snmp.conf file with the following entry in the /usr/local/share/snmp directory:     mibs +   where is the name of my MIB module (not the file

net-snmp compilation problem

2005-06-14 Thread TFC
Hello I'm trying to compile net-snmp 5.2.1 I'm always getting an error during the make process: making all in /usr/server/abs/local/net-snmp/src/net-snmp-5.2.1/snmplib make[1]: Entering directory `/usr/server/abs/local/net-snmp/src/net-snmp-5.2.1/snmplib' make[1]: Leaving directory `/usr/server

snmptrapd memory leak & ...

2005-06-14 Thread Wu, Lan, ALABS
All,   I have set up the snmptrapd.conf as man page suggested with dontRetainLos true, however, the memory has grown from 5304 K, this morning 11 to now 15M. I am observing it, may cause core dump.(was dump for 5.1.1 version)   I am not using very complex feature in the net-snmp, basically j

Re: agentx connection problem

2005-06-14 Thread Thomas Anders
Dave Shield wrote: On Tue, 2005-06-14 at 17:26, Paras Sharma wrote: Problem solved. Subagent was looking for /var/run/agentx. Now starting snmpd with -x unix:/var/run/agentx Hmmm... /var/run is normally used for PID files (or possibly lock files), rather than named sockets. If this fix

Re: AIX netsnmp

2005-06-14 Thread Thomas Anders
Dave Shield wrote: On Tue, 2005-06-14 at 17:04, C Wells wrote: Where do I find (I looked on net-snmp.org already) an agentx tutorial. Is it hopeless if I don't know 'C' ? If you don't know C, then it's probably going to be difficult to code a new MIB module, regardless of how the master<->suba

Re: agentx connection problem

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 17:26, Paras Sharma wrote: > Problem solved. Subagent was looking for /var/run/agentx. > > Now starting snmpd with -x unix:/var/run/agentx Hmmm... /var/run is normally used for PID files (or possibly lock files), rather than named sockets. If this fixes your proble

Re: AIX netsnmp

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 17:04, C Wells wrote: > Where do I find (I looked on net-snmp.org already) an > agentx tutorial. Is it hopeless if I don't know 'C' ? If you don't know C, then it's probably going to be difficult to code a new MIB module, regardless of how the master<->subagent communication

Re: agentx connection problem

2005-06-14 Thread Paras Sharma
Hi Problem solved. Subagent was looking for /var/run/agentx. Now starting snmpd with -x unix:/var/run/agentx Thanks Paras --- Paras Sharma <[EMAIL PROTECTED]> wrote: > Hi > > > I am having some problem in Subagent/Agentx running on same host. > > I tried building subagen

Re: AIX netsnmp

2005-06-14 Thread C Wells
Where do I find (I looked on net-snmp.org already) an agentx tutorial. Is it hopeless if I don't know 'C' ? Thanks --- Dave Shield <[EMAIL PROTECTED]> wrote: > On Mon, 2005-06-13 at 22:22, C Wells wrote: > > Does > anyone > > know if it is possible to run n

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
Thanks Dave... On Tue, 2005-06-14 at 19:07, Dave Shield wrote: > On Tue, 2005-06-14 at 13:59, Sasikumar Bodathula wrote: > > Hi Dave, > > I have attached the code which i little bit modified to learn abt > > set function scalar_int.c is the example file that i took from the > > net-snmp code

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 13:59, Sasikumar Bodathula wrote: > Hi Dave, > I have attached the code which i little bit modified to learn abt > set function scalar_int.c is the example file that i took from the > net-snmp code and modified. Thanks. I've configured that file into my agent, and it wo

RE: snmpd hangs on AIX 5.2

2005-06-14 Thread Sawant, Paresh (Paresh)
Robert, any breakthroughs ??? thanks - paresh -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 9:27 PM To: Sawant, Paresh (Paresh) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd hangs on AIX 5.2 On Fri, 10 Jun 2005 23:06:37

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
Hi Dave, I have attached the code which i little bit modified to learn abt set function scalar_int.c is the example file that i took from the net-snmp code and modified. On Tue, 2005-06-14 at 18:22, Dave Shield wrote: > On Tue, 2005-06-14 at 13:23, Sasikumar Bodathula wrote: > > I am h

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Dave Shield
On Tue, 2005-06-14 at 13:23, Sasikumar Bodathula wrote: > I am having doubt do i need to set requests->delegated to zero. You shouldn't normally need to touch the 'delegated' flag. This is a very specialised requirement, and isn't relevant for a simple watched instance, as you've been describing.

Re: AIX netsnmp

2005-06-14 Thread skantner
>Does anyone have a netsnmp binary for AIX, I have had >GREAT difficulty compiling it on 5.2 ? I would be *extremely* grateful for this as well.   My attempts to compile it with IBM CC V6 went down in flames during the configure script. I then attempted gcc, which compiled, but not w/o numerous w

Re: Doubt in scalar_int.c (more clarification)

2005-06-14 Thread Sasikumar Bodathula
Hi All, I am having doubt do i need to set requests->delegated to zero. for me the function netsnmp_check_for_delegated() is returning 1. On Mon, 2005-06-13 at 16:13, Sasikumar Bodathula wrote: > Can any one tell me why netsnmp_assert(requests->agent_req_info == > asp->reqinfo); is failing a

A query!

2005-06-14 Thread Rustagi, Sandeep (Sandeep)
Hi, I am trying to write an applictaion, lying in between Master Agent and Network management Application, which receives the set/get from Network Management Application and forwards it to Master Agent. And on receiving the response from master agent the application should forward it to Network Ma

Re: Host restricting

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 21:27, Kevin Golder wrote: > I've been using the following snmpd.conf file to try and restrict > which hosts can query my snmp agent. It work fine for snmpv1 and v2c > but not for v3. Correct. SNMPv3 access control cannot apply restrictions based on source addresses. If a r

Re: Question on "disk usage" entry in snmpd.conf

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 20:21, [EMAIL PROTECTED] wrote: > I am working on installing net-snmp 5.2.1 on solaris, > hpux and windows. > > My questions is specific to the "disk" option used in > the snmpd.conf file. > However, when I use [this] in windows I get the following > error message ( C:\usr

Re: AIX netsnmp

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 22:22, C Wells wrote: > Does anyone > know if it is possible to run netsnmp snmpd as a SMUX > peer to the native snmp agent ? No. The Net-SNMP agent can run as a SMUX master agent (though this code is rather old, and not really being ma

Re: about Disk IO

2005-06-14 Thread Dave Shield
On Mon, 2005-06-13 at 08:03, Ulaş Yüksel wrote: > from net-snmp web page I have found an OID ucdDiskIOMIB. > But I couldn't get any response from that OID using snmpwalk. Have you configured the agent to monitor any disks? > Am I missing something? Probably the FAQ entry: Why can't I see

netsnmp_register_watched_scalar and ASN_GAUGE

2005-06-14 Thread Paul Davies
If I use the netsnmp_register_watched_scalar call and create a watcher for a readonly ASN_GAUGE variable, does the watcher prevent my gauge variable from exceeding its maximum value should that SET be attempted? Incidentally, since discovering the watcher helpers I have trouble understanding w

RE: problems running the tutorial examples

2005-06-14 Thread chinmay bhat
From: Ami Tabak <[EMAIL PROTECTED]> To: net-snmp-users@lists.sourceforge.net Subject: problems running the tutorial examples Date: Sat, 11 Jun 2005 22:57:39 +0300 hi Am trying to run the examples from the Dynamic Module Creation for the net-snmp agent tutorial. The tutorial was tried on both

Re: Problem with some IF and IP mib objects.

2005-06-14 Thread krushna bagde
Hi Robert, I tried this, and still do not see the values :-( I need some more suggestions. Please let me know. Thanks in advance, Krushna From: Robert Story <[EMAIL PROTECTED]> Reply-To: net-snmp-users@lists.sourceforge.net To: "krushna bagde" <[EMAIL PROTECTED]> CC: net-snmp-users@lists.sou