Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

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
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Trying to test MIBS, but install seems stuck (Oliver Gorwits)
   2. Re:  Can netdisco auto-discover to plot whole network?
      (Oliver Gorwits)
   3. Re: Can netdisco auto-discover to plot whole network?
      (Hans Erasmus)
--- Begin Message ---
On 2017-08-14 10:24, Hans Erasmus wrote:
The latest installation worked!  I started with a VM from scratch,
and created a netdisco user, same as in the installation instructions,
and added some additional D-link mibs. All the tests went through,
with no errors reported at the end. (I had to change one or two
files). Submitted a pull request, so at last I am able to contribute,
and not just leech, which is important to me.

Good to hear! :-)

Many thanks for your patience. I'll take a look at the pull request asap.

regards,
Oliver.


Thanks for ALL your trouble!  I really appreciate it!
Regards
Hans 

On Sat, 12 Aug 2017 at 19:42 Hans Erasmus <erasmushan...@gmail.com>
wrote:

Hi Oliver

I will create a new user to do this.

Thanks for the trouble you have had so far! I can't wait to get to
the office on Monday to try all this stuff out. Thanks again man!

Regards

Hans

On Sat, 12 Aug 2017, 17:04 Oliver Gorwits, <oli...@cpan.org> wrote:

Hi Hans

You could try again with the latest netdisco-mibs which is on
GitHub
(release 3.7). I've removed the use of git clone within the
scripts, and
uploaded the necessary CPAN distributions instead. It should
remove the
RSA key nonsense, at least.

Also, please do not do any of this as root! Create a new user or
do it
in ~netdisco/git ?

Good luck :)

regards,
oliver.

On 2017-08-11 11:19, Hans Erasmus wrote:
Hi all

So I have managed to get a bit further, seems there was an
issue with
ssh-keys to git. The error I was getting was 

The authenticity of host 'github.com [1] [5] (192.30.253.112)'
can't be
established.
RSA key fingerprint is
16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?

This however did not allow any input. I came across the fix
here
(first comment) [6] and after running ssh-keyscan github.com
[1] [7] >>
~/.ssh/known_hosts I was able to get the script to do
something, but
then, again, issues. And the error code does not seem to be of
much
help.

[root@etcdtest02 netdisco-mibs]# perl EXTRAS/scripts/setmaxtc 
✘ Errors from net-snmp dependencies(1) build:
Successfully installed App-cpanminus-1.7043

---
Successfully installed App-local-lib-helper-0.07

---

Any ideas?
Regards
Hans

On Fri, 11 Aug 2017 at 07:32 Hans Erasmus
<erasmushan...@gmail.com>
wrote:

Hi Oliver

I am very glad to help!  Thanks for testing on your part,
however,
I would still like to get this going on my side. We are in the
process of commissioning Ruijie MIBS as well, which wiil also
need
to go through all of this, and I would rather log a pull
request
than a bug :-)

So is it possible for you to take some time and explain where
I am
going wrong? Because in the future maybe I can contribute when
other
people also upload MIBS, which could make the solving time of
bugs a
lot shorter?

Kindest Regards

Hans

On Thu, 10 Aug 2017 at 23:19 Oliver Gorwits <oli...@cpan.org>
wrote:

Hi Hans

Just to let you know that I've also been looking at the D-Link
MIBs,
so don't worry too much. However thanks for helping! There
will will
be testing to do :-). 

Oliver. 

Sent from the moon.

On 10 Aug 2017, at 12:26, Hans Erasmus
<erasmushan...@gmail.com>
wrote:

Hi All

I am trying to do my bit and test some D-link MIBS which I
hope to
be able to add to netdisco-mibs for the community to use. I am
using
the instructions from this link [1].

However, the step where it says "7. Bootstrap net-snmp with
custom
configuration: EXTRAS/scripts/setmaxtc" I ran the following
command:

/usr/bin/perl EXTRAS/scripts/setmaxtc

and now it seems the thing is stuck. It just states:

Building net-snmp dependancies(1)...  and has been on this
step now
for roughly about 4 hours. Is this normal? How long should
this
take? (First time running it).

Attached is a print screen of what happened up to now.

Regards

Hans





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


Links:
------
[1]
https://github.com/netdisco/netdisco-mibs/wiki/Updating-MIBs [4]
[2] http://Slashdot.org [5]
[3] http://sdm.link/slashdot [2]
[4] https://lists.sourceforge.net/lists/listinfo/netdisco-users
[3]
[5] http://github.com/ [6]
[6] https://github.com/openmicroscopy/devspace/issues/38 [7]
[7] http://github.com [1]




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

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



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


Links:
------
[1] http://github.com
[2] http://sdm.link/slashdot
[3] https://lists.sourceforge.net/lists/listinfo/netdisco-users
[4] https://github.com/netdisco/netdisco-mibs/wiki/Updating-MIBs
[5] http://Slashdot.org
[6] http://github.com/
[7] https://github.com/openmicroscopy/devspace/issues/38



--- End Message ---
--- Begin Message ---
Hi Hans,

On 2017-08-14 07:40, Hans Erasmus wrote:
I am now quering these Dlinks, some are routers and some only
switches. But it seems like I have to manually input every single
device to be discovered manually? Let me try and make it clearer:

The first thing to read and understand is this FAQ here:

https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Troubleshooting.pod#Understanding-Nodes-and-Devices

To automatically discover a network, Netdisco relies on "layer 2 discovery protocols" running between devices (LLDP, CDP, etc). It looks like Layer3::DLink already supports LLDP, so once the protocol is enabled on your devices things should work.

However that is layer 2 only. For WAN links there is currently no auto discovery (although it is being discussed). In the meantime, if your devices all have management IPs in a known IP prefix or subnet, then you can enter that on your Netdisco Web homepage and Netdisco will scan all IPs for devices.

I hope these points help,

regards,
oliver.

Topology:
                                             
                                             
   USR-Backbone1 <----------------------->USR-Backbone2
                                             
                                             
Uplink1  |                                      
            | Uplink 2
                                             
                                             
             ------------------> Router A <---------------
                                             
                                             
             |                 |              
  |               |
                                             
                                             
           Switch 1    Switch 2       Switch X    Switch
Y

So atm I am able to enter the IP of Router A, and it will discover
that it is connected to at least one of the USR-Backbones. Then, when
I drill down in the device details and click on the "ports" tab, I am
able to then again click on port 1 and see what the IP of the device
is connected to it. And this is great, but I was wondering if it is
possible for netdisco to do this automatically? So basically, if you
take the topology above, I want to be able to get all details of all
devices from the USR-backbones right down to the switch feeding the
end user, and all this dynamically/automatically. These devices should
all be added to the inventory list automatically as well. Is this
possible, and am I doing something wrong that this is not happening
when I invoke "discover all" from the web interface?

Sorry for the confusing post!

Regards
Hans
------------------------------------------------------------------------------
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
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Hi Oliver

Again, thanks for the very quick response. It seems that the auto-discovery
only works on some of the devices, and I need to investigate further, but
preliminary findings show it may  be down to only specific routers on
specific FW version. Is this possible? For instance, I know for a fact that
I have enable LLDP on the uplink port of the switches which connect to the
router, so in my mind netdisco should discover the router, find the switch
IP, and because LLDP is enabled, query the switch as well. Is this
assumption correct? It is only after querying the switch that it should
stop, as there are only nodes connected to it.

I will report back if this is Firmware related or not. Thanks again for the
trouble!

Hans

On Mon, 14 Aug 2017 at 11:59 Oliver Gorwits <oli...@cpan.org> wrote:

> Hi Hans,
>
> On 2017-08-14 07:40, Hans Erasmus wrote:
> > I am now quering these Dlinks, some are routers and some only
> > switches. But it seems like I have to manually input every single
> > device to be discovered manually? Let me try and make it clearer:
>
> The first thing to read and understand is this FAQ here:
>
>
> https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Troubleshooting.pod#Understanding-Nodes-and-Devices
>
> To automatically discover a network, Netdisco relies on "layer 2
> discovery protocols" running between devices (LLDP, CDP, etc). It looks
> like Layer3::DLink already supports LLDP, so once the protocol is
> enabled on your devices things should work.
>
> However that is layer 2 only. For WAN links there is currently no auto
> discovery (although it is being discussed). In the meantime, if your
> devices all have management IPs in a known IP prefix or subnet, then you
> can enter that on your Netdisco Web homepage and Netdisco will scan all
> IPs for devices.
>
> I hope these points help,
>
> regards,
> oliver.
>
> > Topology:
> >
> >
> >    USR-Backbone1 <----------------------->USR-Backbone2
> >
> >
> > Uplink1  |
> >             | Uplink 2
> >
> >
> >              ------------------> Router A <---------------
> >
> >
> >              |                 |
> >   |               |
> >
> >
> >            Switch 1    Switch 2       Switch X    Switch
> > Y
> >
> > So atm I am able to enter the IP of Router A, and it will discover
> > that it is connected to at least one of the USR-Backbones. Then, when
> > I drill down in the device details and click on the "ports" tab, I am
> > able to then again click on port 1 and see what the IP of the device
> > is connected to it. And this is great, but I was wondering if it is
> > possible for netdisco to do this automatically? So basically, if you
> > take the topology above, I want to be able to get all details of all
> > devices from the USR-backbones right down to the switch feeding the
> > end user, and all this dynamically/automatically. These devices should
> > all be added to the inventory list automatically as well. Is this
> > possible, and am I doing something wrong that this is not happening
> > when I invoke "discover all" from the web interface?
> >
> > Sorry for the confusing post!
> >
> > Regards
> > Hans
> >
> ------------------------------------------------------------------------------
> > 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
> > netdisco-users@lists.sourceforge.net
> > 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
> netdisco-users@lists.sourceforge.net
> 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
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to