On Tue Jul 06 16:07:22 2010, BWIGFIELD wrote:
Show quoted text> This module lack a wawyto pass in a the snmp version a host is using.
> Currently it falls back to the defaults in Net::SNMP.
The following two lines allow passing the -version arg to
Net::SNMP::Interface and have it pass it two Net::SNMP fixing the problem.
$self->{_port} = $args{Port} || 161;
+ $self->{_version} = $args{-version} || 'snmpv1';
-port => $self->{_port},
+ -version => $self->{_version},