Setting the sender address in outgoing SNMP trap packets

2005-04-08 Thread Shobana Sampath
Hi, In the netsnmp_pdu data structure, what is the field that I can use in snmp v2c to set the sender's address in outgoing SNMP packets. Thanks. /Shobana __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.m

dynamically loading a utility library

2005-04-08 Thread Michael P. Soulier
Hello, Currently I have a mib module, mitelAppCommon.so, which is composed of three object files. Two of these object files are shared code that I'd like to make use of in another mib module. Now, I could just compile against the headers for the other two object files in the second mib module, b

Fwd: Re: Still having timeout problems with snmpget

2005-04-08 Thread Shobana Sampath
Hi, Thanks for your help, now I am able to run the agent, but I get a different error when I run snmpget: [d:\net-snmp-5.2.1\bin]snmpget -v 2c -c public 10.86.160.102 1.3.6.1.4.1.9.10.102.1.1.1 SNMPv2-SMI::enterprises.9.10.102.1.1.1 = No Such Object available on this agent at this OID Can

Re: Snmp vs HTTP

2005-04-08 Thread Patrick Welche
On Thu, Apr 07, 2005 at 05:52:42AM -0700, Sriram venkat wrote: > Hi, >I have some basic questions regarding network management. > >There and 2 protocols that are used in network management products. They > are SNMP and HTTP. > > > What is the difference between them as far as networ

rfc: changing default callback priority

2005-04-08 Thread Robert Story
Summary --- Back before 5.1, I added a priority field to the callback structure, to allow some callbacks to be called before others without depending on the order in which they were registered. A new registration function was created, and the previous one was changed to be a simple wrapper. Un

IF-MIB, how to register additional rows but exclude /proc/net/dev interfaces

2005-04-08 Thread Emi . Yanagi
Hello Robert, Thanks for you advice. I understand table container is the way to add rows to ifTable in the code IF-MIB/data_access/interface_linux.c and interface_common.c. The function to create more rows is netsnmp_access_interface_entry_create(), so I modified it to create row #5 to #8 for exa

Re: Agent Extension

2005-04-08 Thread John Pfaff
Dave Shield actually answered this another thread (agent example puzzle) and it turned out to be access control.On Apr 8, 2005 12:08 PM, Robert Story <[EMAIL PROTECTED]> wrote:On Mon, 4 Apr 2005 12:52:30 -0400 John wrote:JP> snmpget -c public -v 1 localhost nstAgentModuleObject.0JP> Error in packet

Re: Agent Extension

2005-04-08 Thread Robert Story
On Mon, 4 Apr 2005 12:52:30 -0400 John wrote: JP> snmpget -c public -v 1 localhost nstAgentModuleObject.0 JP> Error in packet JP> Reason: (noSuchName) There is no such variable name in this MIB. JP> Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Did you configure the nstAgentModuleOb

Re: ifTable iterate_access

2005-04-08 Thread Robert Story
On Tue, 29 Mar 2005 14:19:15 -0600 [EMAIL PROTECTED] wrote: EYC> I have been working on mib2c.iterate_access.conf to generate ifTable EYC> iterate_access, because that looks most close to what I want. EYC> EYC> The obstacle I met here is in ifTable_access.c line 40, EYC> *my_loop_context = /** XXX

Re: MIB-II Support

2005-04-08 Thread Robert Story
On Fri, 8 Apr 2005 09:28:39 +0100 (BST) Mayuresh wrote: MD> I want to know whether net-snmp-5.1.1 supports full MIB-!! (RFC1213)? No. MD> does it support each and every variables mentioned in MIB-II or are MD> there any variables which are mentioned in MIB-II but not supported by MD> net-snmp-5.1

Re: Cannot see "ipRouteTable" with IPv6

2005-04-08 Thread Robert Story
On Fri, 8 Apr 2005 12:07:35 +0200 Frithiof wrote: FJ> > Try the inetCidrRouteTable instead. FJ> FJ> As in --with-mib-modules=" ... ip-forwarding-mib/inetCidrRouteTable ... "? As I said, it should be included if you --enable-mfd-rewrites. So what I meant was, try a snmpwalk of inetCidrRouteTable i

Re: Compiling with MinGW & Cygwin

2005-04-08 Thread Alex Burger
Hi Andy. Andy Smith wrote: Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. It's in. I checked for mingw32 as it is not needed for Cygwin, and MSVC doesn't use the file. Alex Andy Alex Burger wrote: Hi Andy. When c

Re: Compiling with MinGW & Cygwin

2005-04-08 Thread Andy Smith
Could you please make the change below to net-snmp-config.h.in? It might be best to wrap it in an #ifdef WIN32 or #ifdef mingw32. Andy Alex Burger wrote: Hi Andy. When compiling main under MinGW, it stops with: table_dataset.c: In function `netsnmp_config_parse_table_set': table_dataset.c:832: ca

RE: Cannot see "ipRouteTable" with IPv6

2005-04-08 Thread Frithiof Jensen (AH/LMD)
> Try the inetCidrRouteTable instead. As in --with-mib-modules=" ... ip-forwarding-mib/inetCidrRouteTable ... "? Hmm - There is one thing, though: Does the creation of the *Route* tables in any way depend on the status of the "ipForwarding" flag? PS: This may be caused by my application of

MIB-II Support

2005-04-08 Thread Mayuresh Dhagamwar
Hi !!   I want to know whether net-snmp-5.1.1 supports full MIB-!! (RFC1213)? I mean does it support each and every variables mentioned in MIB-II or are there any variables which are mentioned in MIB-II but not supported by net-snmp-5.1.1 package?     Your help is higly appreciated.   Thanks and re