in reply to Re^6: Net::SNMP ASN1 Type error
in thread Net::SNMP ASN1 Type error

I have a Windows box but I'm running Strawberry Perl. Worked fine here too:

C:\_\tmp>net_snmp_problem.pl No response from remote host "127.0.0.1" C:\_\tmp>

The earlier output was from Cygwin.

I've got Perl 5.12.0 on both and Net::SNMP 6.0.1 on both. I didn't have Net::SNMP running on either so they're both fresh installs and the latest version.

And, unfortunately, that's me completely out of ideas.

-- Ken

Replies are listed 'Best First'.
Re^8: Net::SNMP ASN1 Type error
by jbumsted (Initiate) on Oct 13, 2010 at 13:24 UTC

    I am using Net::SNMP 6.0.1 on Activestate 5.12.1. I'm not sure what is going on, perhaps I will reinstall everything. I added the qw's to the use line to no avail. Thanks again for all of your help.

      I also had this problem and found that I was able to fix it like this:
      my $result = $modemSession->set_request(-varbindlist => ['1.3.6.1.2.1. +69.1.1.3.0', Net::SNMP::INTEGER, 1]);