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 - Support #1866] (New) Discovery of cisco devices
      failed ([email protected])
   2. [Netdot - Support #1866] Discovery of cisco devices       failed
      ([email protected])


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

Message: 1
Date: Fri, 5 Jun 2015 20:57:57 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Support #1866] (New) Discovery of
        cisco   devices failed
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1866 has been reported by Drew Lagervall.

----------------------------------------
Support #1866: Discovery of cisco devices failed
https://osl.uoregon.edu/redmine/issues/1866

Author: Drew Lagervall
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


New install on CentOS7 - discovery of cisco devices fail but I can discover 
PDU's and APC UPS so SNMP is working?


updatedevice.html produced the following error:


The LLDP-EXT-DOT3-MIB did not load. See README for SNMP::Info::Layer3::Nexus
 at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3937.

Stack:
  [/usr/share/perl5/vendor_perl/Carp.pm:100]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:3013]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1060]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1719]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1095]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:3937]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:4115]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:745]
  [/usr/local/netdot/htdocs/management/updatedevice.html:129]
  [/usr/local/netdot/htdocs/management/autohandler:81]
  [/usr/local/share/perl5/HTML/Mason/Request.pm:948]
  
[/usr/local/netdot/htdocs/masondata/obj/1874909815/management/autohandler.obj:21]
  [/usr/local/netdot/htdocs/autohandler:76]


Please go back and try again.

an snmpwalk also seems to come back OK

SNMPv2-MIB::sysDescr.0 = STRING: "Cisco NX-OS(tm) n1000v, Software 
(n1000v-dk9), Version 5.2(1)SV3(1.4), RELEASE SOFTWARE Copyright (c) 2002-2011 
by Cisco Systems, Inc. Device Manager Version nms.sro not found,  Compiled 
4/16/2015 0:00:00"
SNMPv2-MIB::sysObjectID.0 = OID: CISCO-ENTITY-VENDORTYPE-OID-MIB::cevChassisN1KV
EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (700869) 1:56:48.69
SNMPv2-MIB::sysContact.0 = ""
SNMPv2-MIB::sysName.0 = STRING: "nexus1k-1"
SNMPv2-MIB::sysLocation.0 = ""
SNMPv2-MIB::sysServices.0 = INTEGER: 70
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (8) 0:00:00.08
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.5 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB for Message Processing and 
Dispatching.
SNMPv2-MIB::sysORDescr.5 = STRING: The management information definitions for 
the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (8) 0:00:00.08 
....



-- 
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


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

Message: 2
Date: Fri, 5 Jun 2015 22:04:35 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Support #1866] Discovery of cisco
        devices failed
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1866 has been updated by Drew Lagervall.



I took a look at Device.pm since the error pointed to " 
/usr/local/netdot/lib/Netdot/Model/Device.pm line 3937."

and changed:

#############################################################################
sub _make_sinfo_object
{
    my ($self, $sclass, %sinfoargs) = @_;
    if ( $sinfoargs{sqe} ) {
        $sinfoargs{Session} = Netdot::FakeSNMPSession->new(%sinfoargs);
        $logger->debug(sub{"Device::_make_sinfo_object: with SQE" });
    }
    return $sclass->new( %sinfoargs );
}

#############################################################################

To 

#############################################################################
sub _make_sinfo_object
{
    my ($self, $sclass, %sinfoargs) = @_;
    if ( $sinfoargs{sqe} ) {
        $sinfoargs{Session} = Netdot::FakeSNMPSession->new(%sinfoargs);
        $logger->debug(sub{"Device::_make_sinfo_object: with SQE" });
  
    return $sclass->new( %sinfoargs );
}

#############################################################################

and cisco device now dicover OK??
----------------------------------------
Support #1866: Discovery of cisco devices failed
https://osl.uoregon.edu/redmine/issues/1866#change-3304

Author: Drew Lagervall
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


New install on CentOS7 - discovery of cisco devices fail but I can discover 
PDU's and APC UPS so SNMP is working?


updatedevice.html produced the following error:


The LLDP-EXT-DOT3-MIB did not load. See README for SNMP::Info::Layer3::Nexus
 at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3937.

Stack:
  [/usr/share/perl5/vendor_perl/Carp.pm:100]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:3013]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1060]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1719]
  [/usr/share/perl5/vendor_perl/SNMP/Info.pm:1095]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:3937]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:4115]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:745]
  [/usr/local/netdot/htdocs/management/updatedevice.html:129]
  [/usr/local/netdot/htdocs/management/autohandler:81]
  [/usr/local/share/perl5/HTML/Mason/Request.pm:948]
  
[/usr/local/netdot/htdocs/masondata/obj/1874909815/management/autohandler.obj:21]
  [/usr/local/netdot/htdocs/autohandler:76]


Please go back and try again.

an snmpwalk also seems to come back OK

SNMPv2-MIB::sysDescr.0 = STRING: "Cisco NX-OS(tm) n1000v, Software 
(n1000v-dk9), Version 5.2(1)SV3(1.4), RELEASE SOFTWARE Copyright (c) 2002-2011 
by Cisco Systems, Inc. Device Manager Version nms.sro not found,  Compiled 
4/16/2015 0:00:00"
SNMPv2-MIB::sysObjectID.0 = OID: CISCO-ENTITY-VENDORTYPE-OID-MIB::cevChassisN1KV
EXPRESSION-MIB::sysUpTimeInstance = Timeticks: (700869) 1:56:48.69
SNMPv2-MIB::sysContact.0 = ""
SNMPv2-MIB::sysName.0 = STRING: "nexus1k-1"
SNMPv2-MIB::sysLocation.0 = ""
SNMPv2-MIB::sysServices.0 = INTEGER: 70
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (8) 0:00:00.08
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.5 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB for Message Processing and 
Dispatching.
SNMPv2-MIB::sysORDescr.5 = STRING: The management information definitions for 
the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (8) 0:00:00.08 
....



-- 
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 99, Issue 2
*******************************************

Reply via email to