On 07/11/2007, Raul Miguel Nery Ferreira Sa wrote:
> I'm using the module net-snmp-perl and i am trying to do a 'set' in a rou=

ter
> using the '$session->set($variable)' function. The parameter that i pass =

to
> this function is a scalar $variable that contains something like this:
>
> $variable =3D "sysName.0, Raul de S=E1";
>
> The thing is everytime i do this it gives a wrongLength error.


The first question is to determine whether this is an issue
with the remote agent, or the perl processing.

Try running the equivalent "snmpset" command - i.e.

snmpset .... sysName.0 s "Raul de S=E1"

Does that succeed or not?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users