Re: Running Agents With Virtual IP Addresses on different ports

2005-11-16 Thread aakansha rajvi
I am having a managed object for holding the IP Address of the agent. I am assigning value for this OID in my C file. This oid is read-only. Since I am running multiple agents each with different virtual IP's on the same PC, but only one oid to hold the IP Address. I decided to use snmpget.c as th

Re: Problem with net-snmp 5.2.1.2

2005-11-16 Thread md salauddin
Hello I have used same configuration file for both versions. I have only one version installed at one time. After displaying two values in the interface mib ,it is saying timeout,no response from agent. If I do cat /proc/net/dev i can see all my interface details including interface names etc..

Internal flow of snmpget

2005-11-16 Thread aakansha rajvi
Could anyone pls tell me where the control goes(ie., to which C file) first in the net-snmp agent  when "snmpget" is executed? Is there any URL where I can get detailed description on this? Thanks

(no subject)

2005-11-16 Thread rudinei
Example of read and write on tables MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 / FreeBSD-4.9 X-Originating-IP: 10.1.1.2 Hi. I have been looking for a complete example to read an write in a mib i

Re: Testing the new snmpnetstat

2005-11-16 Thread Thomas Anders
Robert Story wrote: On Wed, 16 Nov 2005 17:23:47 +0100 Niels wrote: NB> I could fix a bunch of warnings at the same time ... I meant to add that, since it's not in the default build and (short of manually tweaking the makefile) there is no way of enabling it, it should be 100% safe to fix warnin

Re: Testing the new snmpnetstat

2005-11-16 Thread Robert Story
On Wed, 16 Nov 2005 17:23:47 +0100 Niels wrote: NB> I could fix a bunch of warnings at the same time ... I meant to add that, since it's not in the default build and (short of manually tweaking the makefile) there is no way of enabling it, it should be 100% safe to fix warnings. -- NOTE: message

Re: Testing the new snmpnetstat

2005-11-16 Thread Robert Story
On Wed, 16 Nov 2005 17:23:47 +0100 Niels wrote: NB> It seems that the latest 5.2.2 rc will not help with testing the new NB> snmpnetstat. There is a missing SUBDIRS=snmpnetstat in apps/Makefile.in NB> so it never gets compiled or installed NB> NB> :-( NB> NB> I guess we should add that to expose

Re: Problem with net-snmp 5.2.1.2

2005-11-16 Thread Robert Story
I repeat: MS> Robert Story <[EMAIL PROTECTED]> wrote: On Fri, 11 Nov 2005 07:27:21 MS> -0800 (PST) md wrote: MS> MS> I am using montavista linux2.4.18 on ixp425 platform (armv5teb). MS> MS> Did you configure both versions the same way? MS> MS> Do you have both versions installed at the same tim

Re: udpTable on solaris

2005-11-16 Thread Thomas Anders
Thomas Anders wrote: 3) SunOS foo3 5.7 Generic_106541-34 sun4u sparc SUNW,UltraSPARC-IIi-Engine compilation fails (in snmplib/snmpTCPIPv6Domain.c). This is unrelated to your changes, but still needs to be investigated. Works fine now on Solaris 7, too. +Thomas -- Thomas Anders (thomas.ande

Re: Testing the new snmpnetstat

2005-11-16 Thread Thomas Anders
Niels Baggesen wrote: It seems that the latest 5.2.2 rc will not help with testing the new snmpnetstat. There is a missing SUBDIRS=snmpnetstat in apps/Makefile.in so it never gets compiled or installed :-( I guess we should add that to expose snmpnetstat and its wrapper to some testing. I could

Testing the new snmpnetstat

2005-11-16 Thread Niels Baggesen
It seems that the latest 5.2.2 rc will not help with testing the new snmpnetstat. There is a missing SUBDIRS=snmpnetstat in apps/Makefile.in so it never gets compiled or installed :-( I guess we should add that to expose snmpnetstat and its wrapper to some testing. I could fix a bunch of warnings

Remote host IP retrieval from snmpget

2005-11-16 Thread aakansha rajvi
I would like to retrieve the remote host IP provided in the snmpget request and use it in my C file got by compiling private MIB. I am going to assign this remote host IP to the managed object in my MIB. >From where can I retrieve this value? And anyone pls provide me the information on internal

Re: Running Agents With Virtual IP Addresses on different ports

2005-11-16 Thread aakansha rajvi
On 11/14/05, Dave Shield <[EMAIL PROTECTED]> wrote: On Mon, 2005-11-14 at 11:31 +0530, aakansha rajvi wrote:Thomas> If it doesn't work for you (it does for me), then ...Thomas> and post the output (of both agents)> Output of>   snmpd -f -Le -Dread_config,tdomain,netsnmp_udp,snmp_agent 10.0.0.11   

Re: udpTable on solaris

2005-11-16 Thread Thomas Anders
Robert Story wrote: These fixes have been checked in so that the nightly builds work. I strongly suggest those with access to other versions of solaris test these changes. Works for me on: 1) SunOS foo1 5.9 Generic_112233-02 sun4u sparc SUNW,Sun-Fire-480R 2) SunOS foo2 5.8 Generic_108528-13 su

Problem in Set

2005-11-16 Thread madhan raj
  Dear All,           I am using net-snmp-5.2.1.2 in my router. All the snmp commands are working fine except "snmpset". The error message which I got while setting is as follows: # snmpset -v2c -c salauddin localhost interfaces.ifTable.ifEntry.ifAdminStatus.1 i 1 Error in packet. Rea