Hi Dave, Thanks for the response, and sorry about the delay getting back to you. Due to schedule we were unable to continue with the Perl script effort and we ended up using C++ to call the snmp commands via the Linux 'system' command. This seems to be working just fine. Thanks again for the response.
-----Original Message----- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, November 08, 2011 2:06 PM To: Winans, Don C (IS) Cc: net-snmp-users@lists.sourceforge.net Subject: EXT :Re: Perl Net-SNMP Problem On 2 November 2011 21:10, Winans, Don C (IS) <don.win...@ngc.com> wrote: > 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..... > The MIB object is defined as below. When I attempt to set > iciProtocolIpAdmin = reinitialize the value is set to 0 versus 2. What happens if you set the value to '2' rather than 'reinitialize' ? Does that work as expected? That should indicate whether the problem is with the SET request itself, or with mapping the enumeration values within the perl script. Also, what happens if you use GET within a similar Perl script to report the value of this object? Does it report the numeric value or the enumeration token? Dave ------------------------------------------------------------------------------ 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