RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-24 Thread anup.shankar
Hi Dave, I changed the code as below, but now Get fails and Get next works. The below is the response. Dev6-MgmtServer:/usr/sbin # snmpget -v 2c -c public 127.0.0.1 1.3.6.1.4.1.1139.21.2.2.5.1.1.128.221.252.35 SNMPv2-SMI::enterprises.1139.21.2.2.5.1.1.128.221.252.35 = No Such Instance currentl

Re: A question of net-snmp

2010-08-24 Thread AC.
Dear Dave, Thanks for your help, I resolve my problems. There is only one question about table having to be resolve and illustrate as following. net-snmp-5.5 2 tables, table A and table B, made by mib2c When I used "snmptable" to get the information of the table A, it will contact the handler of

RE: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Ali Mirza, Rashid
Hello well i downloaded net-snmp 5.5 and am facing the following issue, when i do a 'make' (obviously after i do a ./configure): lbtool: link: ranlib .libs/libnetsnmp.a libtool: link: (cd ".libs" && rm -f "libnetsnmp.la" && -s"../libnetsnmp.la" "libnetsnmp.la") : libnetsnmp.la make[1]: Leaving d

Re: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Thomas Anders
Ali Mirza, Rashid wrote: > i have been trying to work with net-snmp-5.2.6, on a QNX momentics 6.3.0 > platform. I can only second Dave's suggestion to start with net-snmp 5.6.rc1 instead which explicitely claims to support QNX6. Earlier versions don't. +Thomas

RE: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Ali Mirza, Rashid
i have been trying to work with net-snmp-5.2.6, on a QNX momentics 6.3.0 platform. Been trying to follow the : a)./configure b)make c) make install Problems started when i was doing a make. Always i was getting libtools error: od: illegal option -x and termination in the compile process. I then

net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Ali Mirza, Rashid
guys, i have been trying to work with net-snmp-5.2.6, on a QNX momentics 6.3.0 platform. Been trying to follow the : a)./configure b)make c) make install Problems started when i was doing a make. Always i was getting libtools error: od: illegal option -x and termination in the compile process.

Re: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Dave Shield
On 24 August 2010 15:39, Ali Mirza, Rashid wrote: > Thanks for that, but what about compatibility issues if any with qnx 6.3.0? What compatibility issues did you have in mind? Please note that it's very difficult to offer advice or assistance given the vagueness of your questions so far. ("f

Re: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Ali Mirza, Rashid
Thanks for that, but what about compatibility issues if any with qnx 6.3.0? Regards - Original Message - From: dave.shi...@googlemail.com To: Ali Mirza, Rashid Cc: net-snmp-users@lists.sourceforge.net Sent: Tue Aug 24 18:37:20 2010 Subject: Re: net-snmp 5.2.X compilation errors in QNX

Re: net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Dave Shield
On 24 August 2010 11:10, Ali Mirza, Rashid wrote: > I want to compile a net-snmp agent, ver 5.2.X and use it on QNX. The 5.2.x line is several years old now, and is no longer being maintained. If you are having problems, it would definitely be worth trying with one of the newer releases (e.g. 5.5

Re: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-24 Thread Dave Shield
On 24 August 2010 13:48, wrote: >        snmp_set_var_typed_integer( idx, ASN_IPADDRESS, > ntohl(entry->vplexDirectorPrimaryIpAddr) ); The SMI type IpAddress is not an integer-based type. It is a (four-octet) binary string, which holds the address in network-byte order. See RFC 2758, secti

Re: Net-SNMP installation under XP Cygwin

2010-08-24 Thread Leo Lin
Thanks Bart,   I will give it a try.   Leo; --- On Tue, 8/24/10, Bart Van Assche wrote: From: Bart Van Assche Subject: Re: Net-SNMP installation under XP Cygwin To: "Leo Lin" Cc: net-snmp-users@lists.sourceforge.net Date: Tuesday, August 24, 2010, 3:14 AM On Tue, Aug 24, 2010 at 12:11 AM,

Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-24 Thread anup.shankar
Hi All, We are using NET-SNMP code for building an SNMP agent for servicing our MIB file. The MIB file reports performance metrics for the hardware. The Table entries in the MIB use IP Address as index. The setup is as below: - NET-SNMP : net-snmp-5.3.0.1-25.25 OS:

Re: trapsess problems

2010-08-24 Thread Markus Hofer
> I thought about if creating a user in the same config file would help, but > cleary that does not make sense since the other trapsess definition works > fine without any problems. Ok. Here I am totally wrong. I need to create a user in snmpd.conf like createUser snmpv3_SHA_authNoPriv_trap_dst2

net-snmp 5.2.X compilation errors in QNX Momentics 6.3.0

2010-08-24 Thread Ali Mirza, Rashid
Hello all I want to compile a net-snmp agent, ver 5.2.X and use it on QNX. Been facing several issues, with regards to errors in the code, etc. Would be great if I could have some help, and I will post the error messages later. regards Rashid Ali Mirza [cid:image001.jpg@01CB4396.210D8280] RTA M

trapsess problems

2010-08-24 Thread Markus Hofer
Hi I am currently working on implementing trap destinations using trapsess and I am running in some problems Setup: I have 5 hosts 3 are one is using net-snmp-5.4.2.1(linux system) 1 is using net-snmp-5.4.1(linux system) the other net-snmp-5.5(windows system) What I want to do is to monitor tr

Re: Net-SNMP installation under XP Cygwin

2010-08-24 Thread Bart Van Assche
On Tue, Aug 24, 2010 at 12:11 AM, Leo Lin wrote: > I downloaded the net-snmp-5.6.rc1 version and try to install it on my PC > under Cygwin. > > after decompressing it, I used ./configure > > it went through a check-list and an extensive setup. > > Then, I tried to issue the command $ make, and t

Net-SNMP installation under XP Cygwin

2010-08-24 Thread Leo Lin
Hi,   I downloaded the net-snmp-5.6.rc1 version and try to install it on my PC under Cygwin.   after decompressing it, I used ./configure   it went through a check-list and an extensive setup.   Then, I tried to issue the command $ make, and the system cannot recognized the command.  I believe, C