I'm having a problem in a Perl script with the $sess->set($vb) command when the
$vb value is defined in the MIB as an enumeration. Integer and string values
seem to be working fine. The Net-SNMP snmpset command also works fine.
The MIB object is defined as below. When I attempt to set iciProtocolIpAdmin =
reinitialize the value is set to 0 versus 2. This happens on all MIB objects
defined as enumerated.
I set the snmpparms{UseSprintValue} = 0 but this seems to have no effect. Can
anyone offer any suggestions? Thanks!
iciProtocolIpAdmin OBJECT-TYPE
SYNTAX INTEGER { load-mib-defaults(1), reinitialize(2) }
ACCESS read-only
STATUS mandatory
DESCRIPTION "
DEFVAL { reinitialize }
::= { iciProtocolIp 2}
Version info:
Red Hat Enterprise Linux version 5.4
net-snmp-5.3.2.2-7.el5.i386.rpm
net-snmp-libs-5.3.2.2-7.el5.i386.rpm
net-snmp-perl-5.3.2.2-7.el5.i386.rpm
net-snmp-utils-5.3.2.2-7.el5.i386.rpm
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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/listinfo/net-snmp-users