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=

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

> 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?


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: