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: Netdisco v2 discovery help (Oliver Gorwits)
   2. Re: Netdisco v2 discovery help (Screaming Trees)
   3. Re: Netdisco v2 discovery help (Oliver Gorwits)
   4. Re: Netdisco v2 discovery help (Screaming Trees)
--- Begin Message ---

Maybe a formatting glitch in your email but it looks like there's a space between "-d" in the command?

On 2016-06-22 11:28, Screaming Trees wrote:
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 ---
--- Begin Message ---
Hi Pavel, 
Thanks for your reply:) yes the file is definitely there and there is only one 
hostname per line. I did run "cat db.txt" and everything seems in order. The 
first name on the txt file is dsager1 and the full error message is: info 
discover error - bad host,  ip or prefix: dsager1.  And then it goes on for the 
rest of the names. So the command does run for each name in the list but for 
some reason the name is not recognized 

Date: Wed, 22 Jun 2016 12:43:38 +0200
Subject: Re: [Netdisco] Netdisco v2 discovery help
From: pavel.skova...@gmail.com
To: ask...@hotmail.com
CC: netdisco-users@lists.sourceforge.net

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


On 2016-06-22 12:00, Screaming Trees wrote:
Hi Pavel,
Thanks for your reply:) yes the file is definitely there and there is
only one hostname per line. I did run "cat db.txt" and everything
seems in order. The first name on the txt file is dsager1 and the full
error message is: info discover error - bad host, ip or prefix:
dsager1. And then it goes on for the rest of the names. So the command
does run for each name in the list but for some reason the name is not
recognized

Ah, okay this may be a local host DNS configuration issue (that is, not within Netdisco).

Is there a DNS server in /etc/resolv.conf ?

I would first try adding your domain name to the end of the host name, such as dsager1.example.com. If you come from a Windows world you may be used to expressing host names in an unqualified form, but in Linux it's more common to express them fully qualified (that is, with the domain name added).

regards,
oliver.


-------------------------
Date: Wed, 22 Jun 2016 12:43:38 +0200
Subject: Re: [Netdisco] Netdisco v2 discovery help
From: pavel.skova...@gmail.com
To: ask...@hotmail.com
CC: netdisco-users@lists.sourceforge.net

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 [1]> 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 [1]
To: netdisco-users@lists.sourceforge.net [2]
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 [1]
To: netdisco-users@lists.sourceforge.net [2]
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 [3]
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net [2]
https://lists.sourceforge.net/lists/listinfo/netdisco-users [4]


Links:
------
[1] http://webmail.gorwits.me.uk/mailto&#58;ask...@hotmail.com
[2] http://webmail.gorwits.me.uk/mailto&#58;netdisco-users@lists.sourceforge.net
[3] http://webmail.gorwits.me.uk/http&#58;//sdm.link/attshape
[4]
http://webmail.gorwits.me.uk/https&#58;//lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
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 ---
--- Begin Message ---
I don't think it's a dns problem. If i try ping dsager1 the name gets resolved 
and  issuing the command ~/bin/netdisco-do discover - d dsager1 works fine. 
The resolv.conf file does include both dns servers

With regards, 
Aris

From: ask...@hotmail.com
To: pavel.skova...@gmail.com
CC: netdisco-users@lists.sourceforge.net
Subject: RE: [Netdisco] Netdisco v2 discovery help
Date: Wed, 22 Jun 2016 14:00:54 +0300




Hi Pavel, 
Thanks for your reply:) yes the file is definitely there and there is only one 
hostname per line. I did run "cat db.txt" and everything seems in order. The 
first name on the txt file is dsager1 and the full error message is: info 
discover error - bad host,  ip or prefix: dsager1.  And then it goes on for the 
rest of the names. So the command does run for each name in the list but for 
some reason the name is not recognized 

Date: Wed, 22 Jun 2016 12:43:38 +0200
Subject: Re: [Netdisco] Netdisco v2 discovery help
From: pavel.skova...@gmail.com
To: ask...@hotmail.com
CC: netdisco-users@lists.sourceforge.net

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