>>>>> On Tue, 25 May 2010 09:51:41 -0400, Chris Fowler 
>>>>> <[email protected]> said:

CF> I've simplified the trap and am trying to send it using snmptrap
...
CF> iso.3.6.1.4.1.6889.2.8.1.4.6.1.1: Value out of range (Bad string length)

CF> I thought an octet string could be from 0-65536 octets in length?  Do I
CF> need to specify a an option on the CLI?

Testing your script locally showed no problems (using a recent version of
Net-SNMP).

The other possibility (though based on your output I don't think this
applies) is that the MIB itself has a size limit for the variable and
you're exceeding it.  However, the above makes it look like you're not
loading that part of the MIB tree so this shouldn't be possible given
you current script and output

CF> It seems the Avaya PBX "forwards" a trap from a device as a string
CF> argument to its trap.  Ugly...

Uhh...  yeah...  I won't comment on that!
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to