Skip Menu |

This queue is for tickets about the Net-SNMP-Interfaces CPAN distribution.

Report information
The Basics
Id: 59142
Status: resolved
Priority: 0/
Queue: Net-SNMP-Interfaces

People
Owner: Nobody in particular
Requestors: BWIGFIELD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: No support for SNMP Version
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.
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},
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.
Belatedly added with https://github.com/jonathanstowe/Net-SNMP-Interfaces/commit/624f6ef0406efa232d3d526a1b08f33ba3c0b63d which will be in the next release.