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: Issue with H3C/HP 5130 Switches (Oliver Gorwits)
   2. Re: Netdisco v2 discovery help (Oliver Gorwits)
   3. Re: Netdisco v2 discovery help (Screaming Trees)
   4. Re: Netdisco v2 discovery help (Screaming Trees)
   5. Re: Netdisco v2 discovery help (Pavel Skovajsa)
--- Begin Message ---

On 2016-06-17 04:10, Muris wrote:
Thanks for that Oliver that has helped really well :)

I'm glad :) Thanks for letting us know.

What about the ME3600 getting a invalid IID when it recognises a
HP5130 on a port? as per previously what i wrote.

Also I noticed PoE outputs of ports are not showing on the 5130, im
guessing something has to be tweaked on the backend for this to show
on the HP/H3c ?

These both might require tweaks to the SNMP::Info classes for the device to pull the info from elsewhere in the MIB or adapt to broken MIB implementation on the device. Best thing is to submit an SNMP walk we can have a look at, but first I would ask in the IRC channel (or wait here) until a dev is willing to take a look (unfortunately not me, for this topic).

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi Aris,

Well, if you are new to Linux, well done for getting this far! It's not always easy and I wonder whether our instructions make too many assumptions sometimes. Good to have feedback.

On 2016-06-16 15:08, Screaming Trees wrote:
when i run the discover all command i get about 250
results. It seems like the cdp discover doesn't work very well. Even
if i use discover on a core router the cdp doesn't move very deep into
the network. Any ideas hiw to fix this? An idea to fix this would be
to run a discovery command using a seed file with a list of the
routers

Yes this is possible, I can help a little with the script. First put the IP addresses or host names of the routers into a text file with one entry per line. These should be the IP/name of the interface that Netdisco will contact the device on (might be a management interface, of course).

Then run the following shell command, passing the file name as the final parameter as shown (after the "<"):

while read routername; do bin/netdisco-do discover -d $routername; done < name-of-file-with-routers

Note that this should all be on one line, but your email client may wrap it.

Also make sure that Netdisco has the SNMP config for the devices in its configuration file (ask if you need help with this as the formatting can sometimes be tricky).

If all the device management interfaces are in the same IP prefix (subnet) then you can go for the simpler version:

bin/netdisco-do discover -d 192.0.2.0/24

Hope this helps,

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi Oliver:) 
Thanks for the quick reply. I will try all the things you mentioned at work on 
Tuesday. Your help is greatly appreciated :) 
Kind regsrds, 
Aris

From: ask...@hotmail.com
To: netdisco-users@lists.sourceforge.net
Subject: Netdisco v2 discovery help
Date: Thu, 16 Jun 2016 17:08:41 +0300




Hi all:)  I installed the latest version of netdisco a couple of days ago, 
everything went fine during the installation (at least i believe so). My work 
network consists of about 1500 cisco routers and switches. But when i run the 
discover all command i get about 250 results. It seems like the cdp discover 
doesn't work very well. Even if i use discover on a core router the cdp doesn't 
move very deep into the network. Any ideas hiw to fix this?  An idea to fix 
this would be to run a discovery command using a seed file with a list of the 
routers but since i am new to Linux i have nit idea how to write such script. :(
Thanks in advance :) 
Aris
                                          
                                          

--- End Message ---
--- Begin Message ---
Hi:)  
I tried the script line you mentioned in your answer but no luck. Maybe i am 
doing something wrong?  I made a txt file that includes a list of all the 
router names (one name per line as you suggested:))  but i get the following 
error message: bad host,  ip or prefix: (name of router).  Same thing happens 
if i use ip addresses. So it's definitely not a dns resolve problem. 
Here is the complete command i am using : while read routername; do 
~/bin/netdisco-do discover - d $routername; done < db.txt
A tiny little help would be appreciated :)  
Kind regarss, 
Aris

From: ask...@hotmail.com
To: netdisco-users@lists.sourceforge.net
Subject: RE: Netdisco v2 discovery help
Date: Sat, 18 Jun 2016 18:01:17 +0300




Hi Oliver:) 
Thanks for the quick reply. I will try all the things you mentioned at work on 
Tuesday. Your help is greatly appreciated :) 
Kind regsrds, 
Aris

From: ask...@hotmail.com
To: netdisco-users@lists.sourceforge.net
Subject: Netdisco v2 discovery help
Date: Thu, 16 Jun 2016 17:08:41 +0300




Hi all:)  I installed the latest version of netdisco a couple of days ago, 
everything went fine during the installation (at least i believe so). My work 
network consists of about 1500 cisco routers and switches. But when i run the 
discover all command i get about 250 results. It seems like the cdp discover 
doesn't work very well. Even if i use discover on a core router the cdp doesn't 
move very deep into the network. Any ideas hiw to fix this?  An idea to fix 
this would be to run a discovery command using a seed file with a list of the 
routers but since i am new to Linux i have nit idea how to write such script. :(
Thanks in advance :) 
Aris
                                          
                                          
                                          

--- End Message ---
--- Begin Message ---
Screaming tree(s),

Check if that db.txt really exists there and has the right formatting (one
ip/hostname) per line. Do "cat db.txt" it should print out the content of
the file.

Regards,
Pavel
Dňa 22.6.2016 12:29 používateľ "Screaming Trees" <ask...@hotmail.com>
napísal:

> Hi:)
> I tried the script line you mentioned in your answer but no luck. Maybe i
> am doing something wrong?  I made a txt file that includes a list of all
> the router names (one name per line as you suggested:))  but i get the
> following error message: bad host,  ip or prefix: (name of router).  Same
> thing happens if i use ip addresses. So it's definitely not a dns resolve
> problem.
> Here is the complete command i am using : while read routername; do
> ~/bin/netdisco-do discover - d $routername; done < db.txt
> A tiny little help would be appreciated :)
> Kind regarss,
> Aris
>
> ------------------------------
> From: ask...@hotmail.com
> To: netdisco-users@lists.sourceforge.net
> Subject: RE: Netdisco v2 discovery help
> Date: Sat, 18 Jun 2016 18:01:17 +0300
>
> Hi Oliver:)
> Thanks for the quick reply. I will try all the things you mentioned at
> work on Tuesday. Your help is greatly appreciated :)
> Kind regsrds,
> Aris
>
> ------------------------------
> From: ask...@hotmail.com
> To: netdisco-users@lists.sourceforge.net
> Subject: Netdisco v2 discovery help
> Date: Thu, 16 Jun 2016 17:08:41 +0300
>
> Hi all:)  I installed the latest version of netdisco a couple of days ago,
> everything went fine during the installation (at least i believe so). My
> work network consists of about 1500 cisco routers and switches. But when i
> run the discover all command i get about 250 results. It seems like the cdp
> discover doesn't work very well. Even if i use discover on a core router
> the cdp doesn't move very deep into the network. Any ideas hiw to fix
> this?  An idea to fix this would be to run a discovery command using a seed
> file with a list of the routers but since i am new to Linux i have nit idea
> how to write such script. :(
> Thanks in advance :)
> Aris
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
>

--- End Message ---
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to