Re: enable or disable persistence ?

2006-09-06 Thread Rex Huang
all right version: NET-SNMP v5.3.0.1 and v5.3.1 both. and mib2c * Note: this file originally auto-generated by mib2c using * version : 1.67.2.1 $ of : mfd-interface.m2c,v $ attached generated code and *.m2d files (v5.3.1) in clictr.tgz. Seems persistent is 1 in table-*.m2d. the Makefile

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread Thomas Anders
Robert Story wrote: > On Wed, 06 Sep 2006 16:57:35 -0400 [EMAIL PROTECTED] wrote: > AC> 2) My above attempt to create a statically-linked agent is > AC> because I am trying to run the agent on an embedded device > AC> with limited memory (~8MB -- not enough to have the shared > AC> libraries). T

Re: 1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread Robert Story
On Wed, 06 Sep 2006 16:57:35 -0400 [EMAIL PROTECTED] wrote: AC> 1) I am trying to compile Net-SNMP and create the agent AC> using static linking. I read the relevant FAQ and used AC> configure with: AC> --with-ldflags=-Bstatic Try specifying --enable-static --disable-shared. AC> 2) My above att

1. Compiling Net-SNMP to use static linking 2. Cross-compile options for PowerPC using Montavista Linux

2006-09-06 Thread ayan
Hi All, There are two (linked) parts to my query. Would appreciate any help. 1) I am trying to compile Net-SNMP and create the agent using static linking. I read the relevant FAQ and used configure with: --with-ldflags=-Bstatic However, while trying to run the agent, it is still looking for

How to make my MIB 2 complete working

2006-09-06 Thread rajasekhar kavuri
haii am using netsnmp-5.2.1 version for fedora core 4. i am able to run the agent succesfully. I am able to get/set values from the mib2 system group oids. But the other Group oid from tcp,udp,interface are not working i am getting error . Can anyone give me a detailed explanation how to make them

Re: Dave's authorization changes (Was: CVS: net-snmp/testing/tests Sv3usmconfigagent, 1.4)

2006-09-06 Thread Dave Shield
On 05/09/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > I actually think it should authorize all by default. That's what it's > done before and it's a behavior change. OK - I'll look at tweaking things this evening. I don't think it should be that hard. Dave -

Re: snmpget: Too long

2006-09-06 Thread 尧昱
   The OID is system.sysUpTime.0, and now I have solved the problem, the library functions(libnetsnmptrapd, libnetsnmphelpers, libnetsnmpagent, libnetsnmpmibs) had some place wrong, there are not have the symbolic link for them. And I added the link to them, it is OK. Still Thank you all the same.

RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread rahul_k_sharma
Hi, I have some breakthrough. Contents of snmpd.conf == rocommunity SNMP_COMMUNITY-1 rocommunity6 SNMP-COMMUNITY-61 rwcommunity SNMP_COMMUNITY-2 rwcommunity6 SNMP_COMMUNITY-62 Agent Startup = ./snmpd -d -f -Le -Dnetsnmp_udp6 udp:161,udp6:1161 Commands IP

Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > netsnmp_udp6_getSecName: resolve <"SNMP_COMMUNITY-61", > fe80::203:baff:fe2a:a645> > netsnmp_udp6_getSecName: compare <"SNMP-COMMUNITY-61", > 0x/0xffbfed00>... nope > netsnmp_udp6_getSecName: compare <"SNMP_COMMUNITY-62", > 0x/0x

Re: [PATCH] Make snmpd answer from the correct IP address

2006-09-06 Thread Thomas Anders
Vladislav Bogdanov wrote: > Thomas Anders wrote: >> Vladislav Bogdanov wrote: >>> I attach the patch which corrects this behaviour for linux >> What's the relationship/difference between your patch and the one in the >> patches >> tracker: >> >> [ 1509943 ] send udp replies from the ip alias they

Re: [PATCH] Make snmpd answer from the correct IP address

2006-09-06 Thread Thomas Anders
Vladislav Bogdanov wrote: > Thomas Anders wrote: >> >> [ 1509943 ] send udp replies from the ip alias they have been received >> http://sourceforge.net/tracker/index.php?func=detail&aid=1509943&group_id=12694&atid=312694 > > And, about the comments to above link, I think it should be default and

Re: enable or disable persistence ?

2006-09-06 Thread Robert Story
On Wed, 6 Sep 2006 10:56:40 +0800 Rex wrote: RH> In function `_CCliCtrTable_container_row_restore': RH> : undefined reference to `_mfd_CCliCtrTable_rowreq_from_index' Which release are you using? Can you send me your default-table-*.m2d? ---

Re: [PATCH] Make snmpd answer from the correct IP address

2006-09-06 Thread Vladislav Bogdanov
Thomas Anders wrote: > Vladislav Bogdanov wrote: >> I attach the patch which corrects this behaviour for linux > > What's the relationship/difference between your patch and the one in the > patches > tracker: > > [ 1509943 ] send udp replies from the ip alias they have been received > http://sou

AgentX development on Windows

2006-09-06 Thread Jaya Joseph -X (jajosep - Infosys at Cisco)
Hi All,  I am trying to create the subagent using the AgentX architecture of Net-SNMP. I am able to create the stub files using the mib2c command, however while going through the code and later compiling I see a whole lot of errors.   I see that most of the .h files included in the stubs

RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread rahul_k_sharma
Hi, Contents of snmpd.conf file === rocommunity SNMP_COMMUNITY-1 rwcommunity SNMP_COMMUNITY-2 rocommunity6SNMP_COMMUNITY-61 rwcommunity6SNMP_COMMUNITY-62 Starting of snmpd - ./snmpd -d -f -Le -Dnetsnmp_udp6 udp:161,udp6:1161 Output of netst

Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > ./snmpd -d -p udp:161,udp6:1161 Why "-p"? This option is meant to be used for -p FILE store process id in FILE which means that "udp:161,udp6:1161" would be treated as a filename rather than a transport identifier. Please try again with ./snmpd -d -f -

RE: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread rahul_k_sharma
Hi, The results of using quotes as follows % snmpget -v1 -c SNMP_COMMUNITY-61 'udp6:[fe80::203:baff:fe2a:a645]:1161' sysName.0 Timeout: No Response from udp6:[fe80::203:baff:fe2a:a645]:1161. Now we do not get "No match". Perhaps it was due to shell. Starting of snmp agent --

Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1

2006-09-06 Thread Dave Shield
On 06/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The output is "No match". > For example > > COMMAND -> snmpget -v1 -c SNMP_COMMUNITY-61 udp6:[fe80::203:baff:fe2a:a645] > sysName.0 > OUTPUT -> No match That feels like a shell error, rather than an SNMP one. I suspect that snmpget is ne