Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1893] (New) Topology Discovery not working
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 May 2016 03:57:55 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1893] (New) Topology Discovery
        not     working
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1893 has been reported by Phil Summers.

----------------------------------------
Bug #1893: Topology Discovery not working
https://osl.uoregon.edu/redmine/issues/1893

Author: Phil Summers
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 1.0.7
Resolution: 


In v1.0.7 (not tested previous) topology discovery of unknown devices with 
SNMPv3 (again, not tested others) doesn't seem to be working.

Debugging this I found that the discovery was not pulling the default SNMPv3 
credentials from the Site.conf.

To fix:

I added the following code to the %sinfoargs definition in Model/Device.pm, in 
get_snmp_session, at ~ line 4037

SecName       => $argv{sec_name} || $self->config->get('DEFAULT_SNMP_SECNAME'),
SecLevel      => $argv{sec_level} || 
$self->config->get('DEFAULT_SNMP_SECLEVEL'),
AuthProto     => $argv{auth_proto} || 
$self->config->get('DEFAULT_SNMP_AUTHPROTO'),
AuthPass      => $argv{auth_pass} || 
$self->config->get('DEFAULT_SNMP_AUTHPASS'),
PrivProto     => $argv{priv_proto} || 
$self->config->get('DEFAULT_SNMP_PRIVPROTO'),
PrivPass      => $argv{priv_pass} || 
$self->config->get('DEFAULT_SNMP_PRIVPASS'),

Having done that, topology discovery of unknown devices is now working.


Phil



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 110, Issue 5
********************************************

Reply via email to