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. Netdisco v2 discovery help (Screaming Trees) 3. Re: Netdisco v2 discovery help (Oliver Gorwits) 4. Re: Netdisco v2 discovery help (Screaming Trees) 5. Re: Netdisco v2 discovery help (Oliver Gorwits) 6. Errors after upgrading to 2.033006 (Soppe, Peter)
--- Begin Message ---Hi,Does that mean you did try to put dsager1.example.com into db.txt and make a test, and the outcome was the same?regards, oliver. On 2016-06-22 12:33, Screaming Trees wrote: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 [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:ask...@hotmail.com[2] http://webmail.gorwits.me.uk/mailto:netdisco-users@lists.sourceforge.net[3] http://webmail.gorwits.me.uk/http://sdm.link/attshape [4] http://webmail.gorwits.me.uk/https://lists.sourceforge.net/lists/listinfo/netdisco-users ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in SanFrancisco, CA to explore cutting-edge tech and listen to tech luminariespresent 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 ---Yes, i did try dsager1.example.com and i did try using the router ip address. I get the same error:(
--- End Message ---
--- Begin Message ---On 2016-06-22 12:48, Screaming Trees wrote:Yes, i did try dsager1.example.com and i did try using the router ip address. I get the same error:(Okay, thanks for confirming.Ah, are you editing the file on Windows? It could be line endings (different between the two platforms) that add nonvisible characters to the end of the name?regards, Oliver,------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in SanFrancisco, CA to explore cutting-edge tech and listen to tech luminariespresent 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 ---Wow... That was the problem... I created a new list file in linux and everything works fine:) i will know better next time :) Thanks for your time and effort :) From: ask...@hotmail.com To: netdisco-users@lists.sourceforge.net Subject: Netdisco v2 discovery help Date: Wed, 22 Jun 2016 14:48:17 +0300 Yes, i did try dsager1.example.com and i did try using the router ip address. I get the same error:(
--- End Message ---
--- Begin Message ---On 2016-06-22 13:41, Screaming Trees wrote:Wow... That was the problem... I created a new list file in linux and everything works fine:) i will know better next time :) Thanks for your time and effort :)No problem, glad we got to the bottom of it in the end :) regards, oliver.------------------------- From: ask...@hotmail.com To: netdisco-users@lists.sourceforge.net Subject: Netdisco v2 discovery help Date: Wed, 22 Jun 2016 14:48:17 +0300 Yes, i did try dsager1.example.com and i did try using the router ip address. I get the same error:( ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in SanFrancisco, CA to explore cutting-edge tech and listen to tech luminariespresent 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 All, I upgraded a 2.0x netdisco installation to 2.033006 I also configured the ssh-collector - and had to install some debian-packets via apt-get Now I cannot access the netdisco Website (http://IP:5000) and am getting several errors in the log files (see below): Any Ideas which thing went wrong/ how to get the installation back up and running? Best regards, Peter Soppe netdisco@debian:~/logs$ cat netdisco-web.log 2016/06/24-16:49:23 Starman::Server (type Net::Server::PreFork) starting! pid(38756) Resolved [*]:5000 to [::]:5000, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 5000 on host :: with IPv6 Setting gid to "1001 1001" [38767] 2016-06-24 14:49:24 warn App::Netdisco 2.033006 web [...] [38766] 2016-06-24 14:49:24 warn App::Netdisco 2.033006 web [38767] 2016-06-24 14:49:41 error request to GET / crashed: core - template - undef error - The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29, <DATA> line 751. at /home/netdisco/perl5/lib/perl5/Dancer/Template/Abstract.pm line 93. [38765] 2016-06-24 14:50:19 error request to GET /ajax/userlog crashed: The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29, <DATA> line 751. [38769] 2016-06-24 14:51:19 error request to GET /ajax/userlog crashed: The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29, <DATA> line 751. [38768] 2016-06-24 14:52:20 error request to GET /ajax/userlog crashed: The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29, <DATA> line 751. [38766] 2016-06-24 14:53:20 error request to GET /ajax/userlog crashed: The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29, <DATA> line 751. [...] netdisco@debian:~/logs$ cat netdisco-daemon.log | head [37368] 2016-06-24 14:48:55 warn App::Netdisco 2.033006 backend The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29. The schema netdisco is not configured at /home/netdisco/perl5/lib/perl5/Dancer/Plugin/DBIC.pm line 29. [...] Here is the apt-log file from today: Start-Date: 2016-06-24 16:30:23 Commandline: apt-get install libnet-openssh-perl Install: libnet-openssh-perl:amd64 (0.57-1) End-Date: 2016-06-24 16:30:28 Start-Date: 2016-06-24 16:31:29 Commandline: apt-get install libexpect-perl libnet-scp-expect-perl Install: libio-stty-perl:amd64 (0.03-1, automatic), libnet-scp-expect-perl:amd64 (0.16-1), libterm-readpassword-perl:amd64 (0.11-2, automatic), libio-pty-perl:amd64 (1.08-1+b2, automatic), libexpect-perl:amd64 (1.21-1), libnetwork-ipv4addr-perl:amd64 (0.10.ds-2, automatic), libnet-ipv6addr-perl:amd64 (0.2.dfsg.1-3, automatic) End-Date: 2016-06-24 16:31:32 Start-Date: 2016-06-24 16:32:38 Commandline: apt-get install libexpect-perl libnet-scp-expect-perl libtest-expect-perl Install: libsub-name-perl:amd64 (0.05-1+b2, automatic), libclass-accessor-chained-perl:amd64 (0.01.1~debian-2.1, automatic), libexpect-simple-perl:amd64 (0.04-2, automatic), libtest-expect-perl:amd64 (0.31-2), libclass-accessor-perl:amd64 (0.34-1, automatic) End-Date: 2016-06-24 16:32:41 Peter Soppe Leiter Technik ICSmedia GmbH [cid:logo_ics.jpg] Soester Stra?e 13 D - 48155 M?nster t: +49 251 6060-416 f: +49 251 6060-190 m: +49 151 16786000 p...@icsmedia.de www.icsmedia.de Gesch?ftsf?hrer: Ulrich Moeller, Kai Mallmann Amtsgericht M?nster HRB 4697 USt-IdNr. DE179964809<<attachment: logo_ics.jpg>>
--- 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