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" error may from? Please help. I need to fix this
week.

Thanks,

Fong
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Thursday, November 11, 2004 2:59 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Problem to display OID (Index out of range)

 
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 there any patch fixing this? If not, Where should I look into to fix
that?

Thanks,

Fong



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fong
Tsui
Sent: Thursday, November 11, 2004 12:07 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Problem to display OID (Index out of range)

 

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 am using 5.0.9 with patch 841625 (Display InetAddress OID for
snmpget/snmpwalk).

Does anybody know what cause that? Any help are appreciated. I am short
of the time. Please help.

Thanks,

Fong



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to