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. Re: Mikrotik Neighbor Discovery (Andy Ruhl)
   2. Re: Mikrotik Neighbor Discovery (Jeroen van Ingen)
   3. Re: Mikrotik Neighbor Discovery (Sanjeev Gupta)
   4. Re: Discover multiple device - subnet (Oliver Gorwits)
   5. Re: NetDisco - ssh-collector issues with Palo Alto (solved)
      (Oliver Gorwits)
--- Begin Message ---
On Fri, Jan 5, 2018 at 2:08 AM, Jeroen van Ingen
<[email protected]> wrote:
> Looks like the SNMP::Info module for Mikrotik (which is used by Netdisco)
> doesn't support LLDP. Could be that Mikrotik devices didn't support SNMP
> back when this module was written.

Yeah, this is not surprising. MikroTik LLDP support is pretty recent
and it's a bit buggy from my experience.

Andy



--- End Message ---
--- Begin Message ---
Looks like the SNMP::Info module for Mikrotik (which is used by Netdisco)
doesn't support LLDP. Could be that Mikrotik devices didn't support SNMP
back when this module was written.

Yeah, this is not surprising. MikroTik LLDP support is pretty recent
and it's a bit buggy from my experience.

I actually bought a small Mikrotik two weeks ago (RBM11G), so maybe I can do some basic testing when I add LLDP support to the Layer3::Mikrotik device class. Won't have time in the next one or two weeks though.


Regards,

Jeroen van Ingen
ICT Service Centre
University of Twente, P.O.Box 217, 7500 AE Enschede, The Netherlands



--- End Message ---
--- Begin Message ---
I waited 6 years for LLDP support, which finally arrived in 6.38, I think.

There is little LLDP-SNMP, according to the Forum.


-- 
Sanjeev Gupta
+65 98551208   http://sg.linkedin.com/in/ghane

On Fri, Jan 5, 2018 at 9:03 PM, Andy Ruhl <[email protected]> wrote:

> On Fri, Jan 5, 2018 at 2:08 AM, Jeroen van Ingen
> <[email protected]> wrote:
> > Looks like the SNMP::Info module for Mikrotik (which is used by Netdisco)
> > doesn't support LLDP. Could be that Mikrotik devices didn't support SNMP
> > back when this module was written.
>
> Yeah, this is not surprising. MikroTik LLDP support is pretty recent
> and it's a bit buggy from my experience.
>
> Andy
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>

--- End Message ---
--- Begin Message ---
Hi Ken

On 2018-01-04 21:43, Deshong, Ken wrote:
Yes, the switches can see their neighbors.  I've provided an
attachment with my discovery inside.  Possibly you can tell what's
happening by that.

Many thanks for that and for the log, it's a great help in looking into this.

While I agree with Jeroen that the log does suggest the neighbors are being rejected incorrectly, I cannot at first glance of the code see why this would be (and Jeroen's own issue is something else).

So I have updated Netdisco today to version 2.038004 (on CPAN soon) which has improved logging when queueing neighbors. If you could upgrade and run the same command again and send the log output, it would be appreciated.

Many thanks indeed,

Oliver.

Thanks for the tip regarding the subnet scan.  I'll try that next time

/Ken


-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]]
Sent: Thursday, January 4, 2018 3:57 PM
To: [email protected]
Subject: Re: [Netdisco] Discover multiple device - subnet

Hi Ken

On 2018-01-03 16:43, Deshong, Ken wrote:
In the older versions, I could discover one device and automatically
it would discover all neighbor devices as well within a site. The
newest version doesn't seem to do this. Am I doing something wrong?

Are you running neighbor protocols on the switches such as LLDP? This
is needed by Netdisco. Are the switches able to show their neighbors
at the command line? (show lldp neigh)

Alternatively you could run a discover for 10.119.1.0/24 by entering
that at the Netdisco web homepage.

regards,
oliver.

Let's say I have a small site with 30 switches wanted to discover all
30 devices (all within 10.119.1.0/24). Per the directions to discover
one device: netdisco-do -D discover -d 10.119.1.1. After this single
device is complete, it stops.

Ken DeShong

Network Engineer
 University of South Florida

Desk: 813-396-9472

Fax: 813-974-5198


----------------------------------------------------------------------
-------- Check out the vibrant tech community on one of the world's
most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Hi Peter

Many thanks for this! I have just released 2.038005 to CPAN with the fix.

Apologies that this took a while to get into upstream. Github commit bits are freely available if you send me a github username :-).

regards
oliver.

On 2017-11-01 12:18, Peter Soppe wrote:
Hello,

I just encountered the same problem as seen here on the mailing list
before, e.g.:

https://sourceforge.net/p/netdisco/mailman/message/35825494/ [1]

netdisco@netdisco:~$ ./bin/netdisco-sshcollector

[19512] 2017-11-01 12:17:19 warn WARNING: no entries received from
<paloalto-fw2.mydomain.com>

[19513] 2017-11-01 12:17:19 warn WARNING: no entries received from
<paloalto-fw1.mydomain.com>

Can't use string ("1") as an ARRAY ref while "strict refs" in use at
./bin/netdisco-sshcollector line 115, <$__ANONIO__> line 3.

netdisco@netdisco:~$

The solution to this case is:

In the file

/home/netdisco/perl5/lib/perl5/App/Netdisco/SSHCollector/Platform/PaloAlto.pm


Add a r to both of the the $expect->send statements.

b4: $expect->send("set cli pager offn");

after: $expect->send("set cli pager offrn");

b4: $expect->send("show arp alln");

after: $expect->send("show arp allrn");

Then I was successful:

[19529] 2017-11-01 12:18:00 info [paloalto-fw1.mydomain.com] arpnip -
retrieved 1175 entries

[19529] 2017-11-01 12:18:08 info [paloalto-fw2.mydomain.com] arpnip -
retrieved 1175 entries

[19529] 2017-11-01 12:18:17 info arpnip - processed 2350 ARP Cache
entries from 2 devices

netdisco@netdisco:~$

could someone please add this to the project?

best regards,

 Peter



Links:
------
[1] https://sourceforge.net/p/netdisco/mailman/message/35825494/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to