RE: Problem to display OID (Index out of range)

2004-11-11 Thread Fong Tsui
I make it to be able to snmpget/snmpwalk the OID. However, when I do snmpset, it gives me "Error in packet. Reason: notWritable (that object does not support modification) Failed object: F5-BIGIP-LOCAL-MIB::ltmVirtualAddrEnabled.ipv4.172.20.1.101 " It is a read-write OID. Where "notWritable" er

RE: Problem to display OID (Index out of range)

2004-11-11 Thread Fong Tsui
I found the problem but don't know where to fix it. Since NetAddress is defined as OCTET (0, 255), in _add_strings_to_oid(), it is treated as TYPE_OCTETSTR. So, the first OID of NetAddress is used as length of the string. That's why it is error out with "Index out of range" if it is > 128. Is

RE: PATCH: OID encoding display for iNetAddress

2004-11-11 Thread Fong Tsui
Yixiong, I have some OID parse errors for InetAddress. I realize that you have patch 841625 updated. I am not sure whether I am using the old patch or updated one. Could you please pass me the updated one. I have a problem to get this updated patch from Net-SNMP site. In the following link, I tri

Problem to display OID (Index out of range)

2004-11-11 Thread Fong Tsui
I have a problem to run snmpget/snmpset/snmpwalk on OID .1.3.6.1.4.1.3375.2.2.10.10.2.1.3.1.172.20.1.101 The error message is Unknown Object Identifier (Index out of range: 172 (VirtualAddr)) The index for this OID is InetAddressType(ipv4 = 1) and InetAddress(VirtualAddr = 172.20.1.101). I a

5.2.rc3: fix for FreeBSD 5.2

2004-11-11 Thread Robert Story
It seems that I was overly optimistic in hoping that there was a common structure for the ifIndex ioctl call based on testing on the SourceForge compile farm machines. A recent message to the list seems to indicate that FreeBSD 5.2 does not have the particular structure I used. Instead of a band-a

Re: compiling demo app

2004-11-11 Thread Robert Story
On Fri, 05 Nov 2004 12:00:43 -0500 Andres wrote: > I've been trying to compile the snmpdemoapp.c in MVC++ 6.0 in windows, > but I keep getting this error: > > Compiling... > snmpdemoapp.c > C:\Documents and Settings\user\Desktop\source\apps\snmpdemoapp.c(1) : > fatal error C1083: Cannot open inclu

SNMP v5.2 rc3 problem

2004-11-11 Thread Mohammed Saghir
Hello, I have a question/problem/bug about defining the IP source address for traps generated by the snmpd daemon. I am using net-snmp v5.2 rc3 on a solaris box with a number of IP addresses. Using a basic configuration the daemon listen on port 161 on all address as expected. However, when th