Re: Perl Net-SNMP Problem
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGYZgh_ObpcqxcN7aQ+a5RtDhnMww+bd-uytH0QV1wU0Hg@mail.gmail.com> |
On 2 November 2011 21:10, Winans, Don C (IS) <[email protected]> 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users