Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
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 netdisco-users digest..."
Today's Topics: 1. Netdisco RPM (Christopher Meng) 2. Re: Wrong Cisco device uptime (Francesco Schiavarelli) 3. Re: Wrong Cisco device uptime (Oliver Gorwits) 4. Re: Newbie Discovery question (Stefan Klatt) 5. Re: ND2 LLDP discovery on Juniper EX series switches (Cody Wood)
--- Begin Message ---Hi all, I plan to revive the netdisco package in Fedora + EPEL. Suggestions are welcome. Thanks. Yours sincerely, Christopher Meng Noob here. http://cicku.me
--- End Message ---
--- Begin Message ---On 06/18/2014 01:48 PM, Oliver Gorwits wrote:Hi Francesco,Do you think it would be possible to use snmpEngineTime to detect the number of wraps and use this as offset to sysUpTime?This seems a good suggestion to me, but I'll wait for other devs to consider it as well. Are you able to produce a patch, or do you want us to work on that?Please bear with me, this is my first attempt to hacking into Netdisco.Attached you will find two patches, one for SNMP::Info and the other for App::Netdisco.For SNMP::Info I followed a minimalistic approach, I just added snmpEngineTime into %GLOBALS without even adding SNMP-FRAMEWORK-MIB into %MIBS, during my tests it was not needed.For App::Netdisco I changed device uptime and port lastchange values only if snmpEngineTime is available, otherwise it should behave like before.The patches were tested successfully on our Cisco network made of a mixture of 2960/3560/6500/7600/ASR9k with no noticeable side effects.Please review and consider it for upstream inclusion. regards Francescodiff -ruN SNMP-Info-3.16.ori/Info.pm SNMP-Info-3.16/Info.pm --- SNMP-Info-3.16.ori/Info.pm 2014-06-24 17:11:24.731901379 +0200 +++ SNMP-Info-3.16/Info.pm 2014-06-27 11:28:01.719676405 +0200 @@ -2902,6 +2902,9 @@ 'layers' => 'sysServices', 'ports' => 'ifNumber', 'ipforwarding' => 'ipForwarding', + + # from SNMP-FRAMEWORK-MIB + 'enginetime' => 'snmpEngineTime', ); =item %FUNCSdiff -ruN App-Netdisco-2.027007.ori/lib/App/Netdisco/Core/Discover.pm App-Netdisco-2.027007/lib/App/Netdisco/Core/Discover.pm --- App-Netdisco-2.027007.ori/lib/App/Netdisco/Core/Discover.pm 2014-06-24 16:46:01.094844138 +0200 +++ App-Netdisco-2.027007/lib/App/Netdisco/Core/Discover.pm 2014-06-27 14:40:11.042175293 +0200 @@ -215,9 +215,20 @@ # clear the cached uptime and get a new one my $dev_uptime = $snmp->load_uptime; - # used to track whether we've wrapped the device uptime + # used to track how many times the device uptime wrapped my $dev_uptime_wrapped = 0; + # use SNMP-FRAMEWORK-MIB::snmpEngineTime if available to + # fix device uptime if wrapped + if (defined $snmp->enginetime) { + $dev_uptime_wrapped = int( $snmp->enginetime * 100 / 2**32 ); + if ($dev_uptime_wrapped > 0) { + info sprintf ' [%s] interface - device uptime wrapped %d times - correcting', + $device->ip, $dev_uptime_wrapped; + $device->uptime( $dev_uptime + $dev_uptime_wrapped * 2**32 ); + } + } + # build device interfaces suitable for DBIC my %interfaces; foreach my $entry (keys %$interfaces) { @@ -263,7 +274,7 @@ debug sprintf ' [%s] interfaces - correcting LastChange for %s, assuming sysUptime wrap', $device->ip, $port; - $lc += 2**32; + $lc += $dev_uptime_wrapped * 2**32; } } }
--- End Message ---
--- Begin Message ---Hi Francesco, Many thanks for the patches! Your code will be in the next release of Netdisco (2.028000).minor note: the SNMP::Info patch is not required, because SNMP::Info allows any known MIB name to be called directly on the object. It creates a method on the fly, as long as the MIB is loaded (which SNMP-FRAMEWORK-MIB is). So this works directly in Netdisco:$info->snmpEngineTime() regards, oliver. On 2014-06-27 15:19, Francesco Schiavarelli wrote:On 06/18/2014 01:48 PM, Oliver Gorwits wrote:Hi Francesco,Do you think it would be possible to use snmpEngineTime to detect thenumber of wraps and use this as offset to sysUpTime?This seems a good suggestion to me, but I'll wait for other devs to consider it as well. Are you able to produce a patch, or do you want us to work on that?Please bear with me, this is my first attempt to hacking into Netdisco.Attached you will find two patches, one for SNMP::Info and the other for App::Netdisco. For SNMP::Info I followed a minimalistic approach, I just added snmpEngineTime into %GLOBALS without even adding SNMP-FRAMEWORK-MIB into %MIBS, during my tests it was not needed. For App::Netdisco I changed device uptime and port lastchange values only if snmpEngineTime is available, otherwise it should behave like before. The patches were tested successfully on our Cisco network made of a mixture of 2960/3560/6500/7600/ASR9k with no noticeable side effects. Please review and consider it for upstream inclusion. regards Francesco
--- End Message ---
--- Begin Message ---Hi Oliver, I read now a lot of source code and found mac suck do more then the minimalistic script you showed? For only pushing mac addresses into the netdisco the script is probably enough. My switch (DGS-1210) doesn't give not enough snmp informations like vlans. With a script and "debug info" I get the mac address table with vlans. Do you have a hint for me if it's better to extend the netdisco discover and mac suck scripts or should I write complete new scripts? Stefan Am 27.06.2014 01:40, schrieb Oliver Gorwits: > Hi Stefan, > > On 2014-06-26 23:06, Stefan Klatt wrote: >> I'm new at netdisco and have a question..... >> Is it possible to implement a script to get the needed information >> from >> a switch, router or firewall? >> Background is, I found a lot of systems I couldn't get the MAC >> address >> table with snmp, but with scripts over ssh or telnet. >> It could use the same technique rancid use (expect). > There's a script which came with Netdisco 1, but it hasn't (yet) been > ported to Netdisco 2. > > http://sourceforge.net/p/netdisco/code/ci/master/tree/bin/firewall_arp > > If you're handy with Perl, you could start with this and perhaps the > RANCID config generator script we have with Netdisco 2, and create a > mashup (inserting entries into the node and node_ip DB tables). > > https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-rancid-export > > regards, > oliver. > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Netdisco mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/netdisco-users -- *CaC, Computer and Communication* Inhaber Stefan Klatt End-2-End Senior Network Consultant Triftstrasse 9 60528 Frankfurt Germany USt-IdNr.: DE260461592 Tel.: +49-(0)172-6807809 Tel.: +49-(0)69-67808-900 Fax: +49-(0)69-67808-837 Email: [email protected] Profil: http://www.cac-netzwerk.de/profil<<attachment: stefan_klatt.vcf>>
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Has anyone gotten Netdisco to work with Juniper EX series switches? I haven't gotten any closer to automatically discovering new switches. Any help is appreciated! Thanks. Cody Wood -----Original Message----- From: Cody Wood [mailto:[email protected]] Sent: Tuesday, June 3, 2014 8:40 AM To: [email protected] Subject: Re: [Netdisco] ND2 LLDP discovery on Juniper EX series switches Thanks for the response, Jeroen! Here is the output of the discover: netdisco@snow:~/bin$ INFO_TRACE=1 netdisco-do discover -D -d 192.168.10.170 [6384] info @0.000016> discover: started at Tue Jun 3 08:33:43 2014 [6384] debug @1.149168> [192.168.10.170] try_connect with ver: 2, class: SNMP::Info::Layer3::Juniper, comm: ------ SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/3com SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/alcatel SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/allied SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/apc SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/arista SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/aruba SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/asante SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/avaya SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/bluecoat SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/bluesocket SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/cabletron SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/checkpoint SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/cisco SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/citrix SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/colubris SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/cyclades SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/d-link SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/dell SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/enterasys SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/extreme SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/extricom SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/f5 SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/force10 SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/fortinet SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/foundry SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/h3c SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/hp SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/huawei SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/ibm SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/juniper SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/lantronix SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/mikrotik SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/net-snmp SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/netapp SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/netgear SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/netscreen SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/nortel SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/packetfront SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/pica8 SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/rad SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/rfc SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/riverbed SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/ruckus SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/sonicwall SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/trapeze SNMP::Info::init() - Adding new mibdir:/home/netdisco/netdisco-mibs/xirrus SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0 SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0 SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0 SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0 SNMP::Info 3.13 SNMP::Info::device_type() layers:00000110 id:2636 sysDescr:"Juniper Networks, Inc. ex4550-32f internet router, kernel JUNOS 12.2R1.8 #0: 2012-08-25 01:27:13 UTC [email protected]:/volume/build/junos/12.2/release/12.2R1.8/obj-powerpc/junos/bsd/kernels/JUNIPER-EX/kernel Build date: 2012-08-25 10:15:55" SNMP::Info::_global router_ip : OSPF-MIB::ospfRouterId.0 : .1.3.6.1.2.1.14.1.1.0 SNMP::Info::_load_attr ospf_ip : OSPF-MIB::ospfHostIpAddress : .1.3.6.1.2.1.14.6.1.1 SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0 SNMP::Info::_load_attr ip_index : IP-MIB::ipAdEntIfIndex : .1.3.6.1.2.1.4.20.1.2 SNMP::Info::_load_attr i_index : IF-MIB::ifIndex : .1.3.6.1.2.1.2.2.1.1 SNMP::Info::_load_attr i_description : IF-MIB::ifDescr : .1.3.6.1.2.1.2.2.1.2 SNMP::Info::_load_attr ip_netmask : IP-MIB::ipAdEntNetMask : .1.3.6.1.2.1.4.20.1.3 [6384] debug @11.131513> [192.168.10.170] device - aliased as 128.0.0.32 [6384] debug @11.131872> [192.168.10.170] device - aliased as 128.0.0.16 [6384] debug @11.132243> [192.168.10.170] device - aliased as 192.168.10.170 [6384] debug @11.132561> [192.168.10.170] device - aliased as 128.0.0.1 [6384] debug @11.132866> resolving 4 aliases with max 50 outstanding requests SNMP::Info::_validate_autoload_method(vtp_d_name) Unable to resolve method. SNMP::Info::_global contact : SNMPv2-MIB::sysContact.0 : .1.3.6.1.2.1.1.4.0 SNMP::Info::_global location : SNMPv2-MIB::sysLocation.0 : .1.3.6.1.2.1.1.6.0 SNMP::Info::_global ports : IF-MIB::ifNumber.0 : .1.3.6.1.2.1.2.1.0 SNMP::Info::_global mac : BRIDGE-MIB::dot1dBaseBridgeAddress.0 : .1.3.6.1.2.1.17.1.1.0 SNMP::Info::_validate_autoload_method(ps1_type) Unable to resolve method. SNMP::Info::_validate_autoload_method(ps2_type) Unable to resolve method. SNMP::Info::_validate_autoload_method(ps1_status) Unable to resolve method. SNMP::Info::_validate_autoload_method(ps2_status) Unable to resolve method. SNMP::Info::_validate_autoload_method(fan) Unable to resolve method. SNMP::Info::_validate_autoload_method(slots) Unable to resolve method. SNMP::Info::_global lldp_sysdesc : LLDP-MIB::lldpLocSysDesc.0 : .1.0.8802.1.1.2.1.3.4.0 SNMP::Info::_global orig_serial : JUNIPER-MIB::jnxBoxSerialNo.0 : .1.3.6.1.4.1.2636.3.1.3.0 SNMP::Info 3.13 SNMP::Info::device_type() layers:00000110 id:2636 sysDescr:"Juniper Networks, Inc. ex4550-32f internet router, kernel JUNOS 12.2R1.8 #0: 2012-08-25 01:27:13 UTC [email protected]:/volume/build/junos/12.2/release/12.2R1.8/obj-powerpc/junos/bsd/kernels/JUNIPER-EX/kernel Build date: 2012-08-25 10:15:55" [6384] debug @11.323367> [192.168.10.170] device - removed 4 aliases [6384] debug @11.357054> [192.168.10.170] device - added 4 new aliases SNMP::Info::_load_attr i_type : IF-MIB::ifType : .1.3.6.1.2.1.2.2.1.3 SNMP::Info::_load_attr i_mtu : IF-MIB::ifMtu : .1.3.6.1.2.1.2.2.1.4 SNMP::Info::_load_attr orig_i_speed : IF-MIB::ifSpeed : .1.3.6.1.2.1.2.2.1.5 SNMP::Info::_load_attr i_speed_high : IF-MIB::ifHighSpeed : .1.3.6.1.2.1.31.1.1.1.15 SNMP::Info::_load_attr i_mac : IF-MIB::ifPhysAddress : .1.3.6.1.2.1.2.2.1.6 SNMP::Info::_load_attr i_up : IF-MIB::ifOperStatus : .1.3.6.1.2.1.2.2.1.8 SNMP::Info::_load_attr i_up_admin : IF-MIB::ifAdminStatus : .1.3.6.1.2.1.2.2.1.7 SNMP::Info::_load_attr i_alias : IF-MIB::ifAlias : .1.3.6.1.2.1.31.1.1.1.18 SNMP::Info::_load_attr orig_i_name : IF-MIB::ifName : .1.3.6.1.2.1.31.1.1.1.1 SNMP::Info::_load_attr el_index : EtherLike-MIB::dot3StatsIndex : .1.3.6.1.2.1.10.7.2.1.1 SNMP::Info::_load_attr el_duplex : EtherLike-MIB::dot3StatsDuplexStatus : .1.3.6.1.2.1.10.7.2.1.19 SNMP::Info::_validate_autoload_method(i_duplex_admin) Unable to resolve method. SNMP::Info::_load_attr bp_index : BRIDGE-MIB::dot1dBasePortIfIndex : .1.3.6.1.2.1.17.1.4.1.2 SNMP::Info::_load_attr stp_p_state : BRIDGE-MIB::dot1dStpPortState : .1.3.6.1.2.1.17.2.15.1.3 SNMP::Info::_load_attr jnxExVlanTag : JUNIPER-VLAN-MIB::jnxExVlanTag : .1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5 SNMP::Info::_load_attr qb_i_vlan : Q-BRIDGE-MIB::dot1qPvid : .1.3.6.1.2.1.17.7.1.4.5.1.1 SNMP::Info::_load_attr i_lastchange : IF-MIB::ifLastChange : .1.3.6.1.2.1.2.2.1.9 SNMP::Info::_validate_autoload_method(agg_ports) Unable to resolve method. SNMP::Info::_global load_uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0 [6384] debug @14.316571> [192.168.10.170] interfaces - removed 127 interfaces [6384] debug @14.472308> [192.168.10.170] interfaces - added 127 new interfaces SNMP::Info::_validate_autoload_method(i_ssidlist) Unable to resolve method. SNMP::Info::_load_attr v_name : JUNIPER-VLAN-MIB::jnxExVlanName : .1.3.6.1.4.1.2636.3.40.1.5.1.5.1.2 SNMP::Info::_load_attr qb_v_egress : Q-BRIDGE-MIB::dot1qVlanStaticEgressPorts : .1.3.6.1.2.1.17.7.1.4.3.1.2 SNMP::Info::_validate_autoload_method(i_vlan_type) Unable to resolve method. [6384] debug @14.649684> [192.168.10.170] vlans - removed 25 device VLANs [6384] debug @14.663389> [192.168.10.170] vlans - added 25 new device VLANs [6384] debug @14.666406> [192.168.10.170] vlans - removed 0 port VLANs [6384] debug @14.724314> [192.168.10.170] vlans - added 247 new port VLANs SNMP::Info::_load_attr peth_power_watts : POWER-ETHERNET-MIB::pethMainPsePower : .1.3.6.1.2.1.105.1.3.1.1.2 SNMP::Info::_load_attr peth_power_status : POWER-ETHERNET-MIB::pethMainPseOperStatus : .1.3.6.1.2.1.105.1.3.1.1.3 SNMP::Info::_load_attr peth_port_status : POWER-ETHERNET-MIB::pethPsePortDetectionStatus : .1.3.6.1.2.1.105.1.1.1.6 SNMP::Info::_load_attr peth_port_admin : POWER-ETHERNET-MIB::pethPsePortAdminEnable : .1.3.6.1.2.1.105.1.1.1.3 SNMP::Info::_load_attr peth_port_class : POWER-ETHERNET-MIB::pethPsePortPowerClassifications : .1.3.6.1.2.1.105.1.1.1.10 SNMP::Info::_validate_autoload_method(peth_port_power) Unable to resolve method. [6384] debug @14.881840> [192.168.10.170] power - removed 1 power modules [6384] debug @14.883445> [192.168.10.170] power - added 1 new power modules [6384] debug @14.886761> [192.168.10.170] power - removed 0 PoE capable ports [6384] debug @14.887018> [192.168.10.170] power - added 0 new PoE capable ports SNMP::Info::_load_attr jnxContentsDescr : JUNIPER-MIB::jnxContentsDescr : .1.3.6.1.4.1.2636.3.1.8.1.6 SNMP::Info::_load_attr jnxContainersDescr : JUNIPER-MIB::jnxContainersDescr : .1.3.6.1.4.1.2636.3.1.6.1.6 SNMP::Info::_load_attr jnxContainersWithin : JUNIPER-MIB::jnxContainersWithin : .1.3.6.1.4.1.2636.3.1.6.1.4 SNMP::Info::_load_attr jnxVirtualChassisMemberRole : JUNIPER-VIRTUALCHASSIS-MIB::jnxVirtualChassisMemberRole : .1.3.6.1.4.1.2636.3.40.1.4.1.1.1.3 SNMP::Info::_global box_descr : JUNIPER-MIB::jnxBoxDescr.0 : .1.3.6.1.4.1.2636.3.1.2.0 SNMP::Info::_load_attr e_contents_type : JUNIPER-MIB::jnxContentsType : .1.3.6.1.4.1.2636.3.1.8.1.5 SNMP::Info::_load_attr e_containers_type : JUNIPER-MIB::jnxContainersType : .1.3.6.1.4.1.2636.3.1.6.1.5 SNMP::Info::_load_attr e_name : ENTITY-MIB::entPhysicalName : .1.3.6.1.2.1.47.1.1.1.1.7 SNMP::Info::_load_attr jnxFruType : JUNIPER-MIB::jnxFruType : .1.3.6.1.4.1.2636.3.1.15.1.6 SNMP::Info::_load_attr e_hwver : JUNIPER-MIB::jnxContentsRevision : .1.3.6.1.4.1.2636.3.1.8.1.8 SNMP::Info::_load_attr e_fwver : ENTITY-MIB::entPhysicalFirmwareRev : .1.3.6.1.2.1.47.1.1.1.1.9 SNMP::Info::_load_attr e_swver : ENTITY-MIB::entPhysicalSoftwareRev : .1.3.6.1.2.1.47.1.1.1.1.10 SNMP::Info::_load_attr e_model : ENTITY-MIB::entPhysicalModelName : .1.3.6.1.2.1.47.1.1.1.1.13 SNMP::Info::_load_attr jnxContentsSerialNo : JUNIPER-MIB::jnxContentsSerialNo : .1.3.6.1.4.1.2636.3.1.8.1.7 SNMP::Info::_load_attr jnxContentsPartNo : JUNIPER-MIB::jnxContentsPartNo : .1.3.6.1.4.1.2636.3.1.8.1.10 [6384] debug @15.623576> [192.168.10.170] modules - removed 27 chassis modules [6384] debug @15.637769> [192.168.10.170] modules - added 27 new chassis modules [6384] debug @15.711524> [192.168.10.170] neigh - setting manual topology links SNMP::Info::_global lldp_sys_cap : LLDP-MIB::lldpLocSysCapEnabled.0 : .1.0.8802.1.1.2.1.3.6.0 SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method. SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve method. SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method. SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method. SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method. SNMP::Info::_load_attr lldp_rman_addr : LLDP-MIB::lldpRemManAddrIfSubtype : .1.0.8802.1.1.2.1.4.2.1.3 SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method. [6384] debug @15.767411> [192.168.10.170] neigh - CDP/LLDP not enabled! [6384] info @15.768725> discover: finished at Tue Jun 3 08:33:59 2014 [6384] info @15.768899> discover: status done: Ended discover for 192.168.10.170 -----Original Message----- From: Jeroen van Ingen [mailto:[email protected]] Sent: Monday, June 2, 2014 8:42 AM To: [email protected] Subject: Re: [Netdisco] ND2 LLDP discovery on Juniper EX series switches That's odd... can you re-run the discover with debugging enabled and provide the output? Perhaps that gives some clue as to what goes wrong. The Layer3::Juniper class includes LLDP support, so SNMP::Info should be able to provide Netdisco with neighbor information... Shamelessly copied from an earlier list post by Oliver: netdisco@server:~> INFO_TRACE=1 netdisco-do discover -D -d <switch> Regards, Jeroen van Ingen ICT Service Centre University of Twente, P.O.Box 217, 7500 AE Enschede, The Netherlands On 05/30/2014 05:44 PM, Cody Wood wrote: > I have just installed ND2 and it is up and running and discovering my > cisco switches fine. It can see the neighbors of each cisco switch > via CDP. However, when I discover a Juniper switch it outputs "neigh > - CDP/LLDP not enabled!" and lists no neighbors in the web interface. > I've gone to the switches and confirmed that LLDP is enabled and > working correctly. From my netdisco box, I can snmpwalk to an ex > series switch and OID 1.0.8802.1.1.2.1 does show its neighbors. What am I > missing? > > Thanks, > > *Cody Wood* > > /Systems Administrator, Network Operations/// > > Southeastern Oklahoma State University > > > > ---------------------------------------------------------------------- > -------- Time is money. Stop wasting it! Get your web API in 5 > minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Netdisco mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/netdisco-users > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Netdisco mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/netdisco-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Netdisco mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/netdisco-users
--- End Message ---
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
_______________________________________________ Netdisco mailing list - Digest Mode [email protected] https://lists.sourceforge.net/lists/listinfo/netdisco-users
