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