A problem with $session->set (fwd)

Raul Miguel Nery Ferreira Sa <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

---------- Forwarded message ----------
Date: Wed, 7 Nov 2007 15:40:21 +0000 (WET)
From: Raul Miguel Nery Ferreira Sa <[email protected]>
To: Dave Shield <[email protected]>
Cc: [email protected]
Subject: A problem with $session->set

Hello, David et all

The last doubt i had was solved. I was declaring the 'SNMP::VarList' function 
wrong. I have another doubt here which i will explain even better than the last 
time:

I'm using the module net-snmp-perl and i am trying to do a 'set' in a router 
using the '$session->set($variable)' function. The parameter that i pass to 
this function is a scalar $variable that contains something like this:

$variable = "sysName.0, Raul de Sá";

The "sysName.0" is the descript of the OID and the word next is the value that 
i am going to put(set that is) in the OID. The thing is everytime i do this it 
gives a wrongLength error. I red the net-snmp-perl page in the net-snmp webpage 
but i still don't know what is wrong.

Thank you,
Raul de Sá

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.