SNMPV3 ECOS problem

2005-09-22 Thread prashanthu baragur
Hi,   We are using ecos RTOS which supports SNMP on IXP425 board. SNMP v1 and 2c are working fine. Am trying to deploy SNMPV3, but couldn't succeed. I am using AdventNet Mib browser on win xp as SNMP Manager.   When i try to add a new v3 user with "MD5" and"authNoPriv" am getting "time sync failed"

RE: add a forever process in agent

2005-09-22 Thread Jim Su
Great! It seems cover all the requirement. I will give it a try. The time sync up, data list initialization, alarm registration + callback function are all taken care in the init_ABCTable Thanks again, -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Da

Re: Net-SNMP and AIX binary

2005-09-22 Thread tango . tang
you can find the binary tar ball here: http://aixpdslib.seas.ucla.edu/packages/net-snmp.html But you had better install the 5.1 tar ball on AIX5.2 because the 5.2 tar ball are not been tested by pdslib. HTH Tango Holger Krämer <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 2005-09-22 21:0

RE: Solaris 8/net-snmp-5.2.2 build problems

2005-09-22 Thread Bruce Shaw
>I found something in an email that suggested defining HAVE_NETDB_H in >net-snmp-config.h. I have done that and now it bombs here: >system.c:650: error: dereferencing pointer to incomplete type The fix to configure.in that Robert put into CVS fixed this as well. This communication is intende

Re: Solaris 8/net-snmp-5.2.2 build problems

2005-09-22 Thread Robert Story
On Thu, 22 Sep 2005 11:44:58 -0400 Tanya wrote: RT> I am having trouble building net-snmp-5.2.2 on Solaris 8. First, thanks for testing it! RT> snmp_api.c:666: warning: assignment makes pointer from integer without a RT> cast RT> snmp_api.c:671: error: dereferencing pointer to incomplete type Th

Re: Solaris 8/net-snmp-5.2.2 build problems

2005-09-22 Thread Robert Story
On Thu, 22 Sep 2005 23:19:26 +0200 Thomas wrote: TA> I can fully reproduce this on Solaris 9 SPARC with gcc 3.3.1. If TA> HAVE_NETDB_H was an appropriate fix, we should fix the corresponding TA> configure test that failed. Found... fixing... -- NOTE: messages sent directly to me, instead of th

Re: Solaris 8/net-snmp-5.2.2 build problems

2005-09-22 Thread Thomas Anders
Ruttenberg, Tanya wrote: I am having trouble building net-snmp-5.2.2 on Solaris 8. [...] gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.7/sun4-solaris-64int/CORE -g -O2 -Dsolaris2 -c snmp_api.c -fPIC -DPIC -

how to enable V3 support in net-snmp binary install?

2005-09-22 Thread shahram amini-didani
> Hi, > > I have installed the binaries > net-snmp-5.1.3-1.win32.exe > and want to send v3 authPriv getnext to my agent. > I am getting USM support not enabled error. > > Is there a way to enable encryption in binary > install, > or I have to compile the source with open SSL? > > C:\>snmpgetne

Solaris 8/net-snmp-5.2.2 build problems

2005-09-22 Thread Ruttenberg, Tanya
Hi there list, I am having trouble building net-snmp-5.2.2 on Solaris 8. 1) I have read the README.solaris and the INSTALL docs. 2) I have combed mailing list archives in search of a solution. 3) My configure command: ./configure --enable-shared --enable-embedded-perl 4) Perl:

Re: Red Hat net-snmp-5.1.2-11.EL4.4 master agent daemon not working

2005-09-22 Thread Michael ODonnell
This turns out to be a known issue resulting from file handles getting stomped while "daemonizing" - a couple of different approaches to fixing this can be found starting here: http://sourceforge.net/tracker/index.php?func=detail&aid=1237692&group_id=12694&atid=456380

Net-SNMP and AIX binary

2005-09-22 Thread Holger Krämer
Hi everyone I'm quite new to AIX, but have net-snmp running under several Linux systems. My problem: I have a very tiny AIX 5.2 (no compilers installed) and want to run net-snmp. I downloaded the binary, hoping it might run. Of corse, it did not! Is there any pre-compiled Version on the net?

net-snmp Sub-Agent Demon tutorial problen

2005-09-22 Thread Earnest Pan
Hi ALL, According to tutorial,I executd the net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c and generated the executable file,mysubagent. I executed ./mysubagent & as root When I used the snmpget command as following, snmpget -v2c -

Netsnmp or Ucd style

2005-09-22 Thread Rohini V
Hi, I would like to know which style is best preferred ? Is it Netsnmp or Ucd ? If its Netsnmp , why ? or it its Ucd, then why its preferred ? Currently , I am using the Netsnmp-style. And I would like to know, if Ucd is better option ? Thanx in advance. Regards, Rohini ---

Perl "Make test" error

2005-09-22 Thread dinkar jha
cd perl -> perl Makefile.PL -> make -> make test --- ERROR MESSAGE - Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.9: cannot open shared object file: No such fi

Re: timeout exponentially backoff ?

2005-09-22 Thread Lee Melvin
then, timeout WILL exponentially backoff in the future release of net-snmp? is it better if exponentially backoff ? why the comments in snmp_api.h ? struct snmp_session { /* * Protocol-version independent fields */ /** snmp version */ longversion; /** Number of re

Re: timeout exponentially backoff ?

2005-09-22 Thread Dave Shield
On Tue, 2005-09-20 at 19:02 +0800, =?gb2312?B?wO4glUY=?= wrote: > [Does] timeout really exponentially backoff ? No. Looking at the code: static int snmp_resend_request(...) { : rp->retries++; result = transport->f_send(...); : gettimeofday(&now, (struct timezone *) 0);

RE: add a forever process in agent

2005-09-22 Thread Dave Shield
On Thu, 2005-09-22 at 18:36 +0800, Jim Su wrote: > I want the process to be executed exactly on the > 0, 5, 10, 15 .. 55 minutes on the hour. Hmmm... OK - try the following: In the 'init_ABCTable' routine, calculate how long until the next 5-minute mark, and register a one-off alarm to fire th

RE: add a forever process in agent

2005-09-22 Thread Jim Su
Dear Dave: Thanks for the quick response again. Okay, I remove the sleep and while from my process and leave the time control to snmp_alarm_register. One little thing to check before calling this routine is I want the process to be executed exactly on the 0, 5, 10, 1

agent configuration

2005-09-22 Thread Torsten Zoehl
hi, i try to run my new agent. i created the snmp.conf and the snmpd.conf with the snmpconf tool. so i set up a rwuser and a rouser with name test. in the snmp.conf i set the default version at v3 and the securiy name at test as well... so when type in: snmpget -u test localhost .1.3.6.1.2.1.1

RE: add a forever process in agent

2005-09-22 Thread Dave Shield
On Thu, 2005-09-22 at 17:53 +0800, Jim Su wrote: > Yes, this list is constantly generated/updated said every 5 minutes > regardless agent receives the request or not. OK - then use 'snmp_alarm_register' > I have the feeling that this routine may be able to run the > forever process I want.

RE: add a forever process in agent

2005-09-22 Thread Jim Su
Dear Dave: Thanks for the quick response. Yes, this list is constantly generated/updated said every 5 minutes regardless agent receives the request or not. When the agent receives the request it will check if the list existed first then use the data from the list t

Re: add a forever process in agent

2005-09-22 Thread Dave Shield
On Thu, 2005-09-22 at 16:56 +0800, Jim Su wrote: >I need to add a forever process in my agent. This process periodically > reads one particular directory and generates a list of data. That list is > to be used by a var_ABCTable() function in my agent when a snmpwalk or > snmpget request to thi

agent can¿t read the MIBs

2005-09-22 Thread Torsten Zoehl
hi,i installed the agent and tried to run it with the snmp.conf and the snmpd.conf. i created both with snmpconf tool.but when i try to get an easy oid like sysLocation i got an funny error message:[EMAIL PROTECTED] etc]# snmpget localhost .1.3.6.1.2.1.1.6.0MODULE-IDENTITY MACRO (lines 55..79 pars

add a forever process in agent

2005-09-22 Thread Jim Su
Hi Greeting: I need to add a forever process in my agent. This process periodically reads one particular directory and generates a list of data. That list is to be used by a var_ABCTable() function in my agent when a snmpwalk or snmpget request to this table is received. My agent module