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.  Add vendor name to Netdisco (Weidner,Andre)
   2. Re: Add vendor name to Netdisco (Oliver Gorwits)
   3. AUTO tasks fix  (was: Re:  ND2 Worker configuration and
      Server Performance        problems) (Oliver Gorwits)
   4. unable to parse configuration file (matthew jennings)
   5. Re: unable to parse configuration file (Andy Ruhl)
   6. Re: unable to parse configuration file (Oliver Gorwits)
   7. Re: unable to parse configuration file (matthew jennings)
--- Begin Message ---
Hi,

i'm using Netdisco  2.032001. One of our switches is a Zyxel GS1510-16 which 
gets recognized as "unknown/enterprises.890.5.1510" (SNMP::Info::Layer2). I 
added the line "890  => 'SNMP::Info::Layer2::Zyxel'" to 
"/home/netdisco/perl5/lib/perl5/SNMP/Info.pm" in the " my %l3sysoidmap" and " 
my %l2sysoidmap" sections. I restarted the netdisco-daemon, deleted and 
rediscovered the device, but it still shows up as "unknown". What changes have 
to be made to show the Vendor correctly?

Thanks,
Andre



--- End Message ---
--- Begin Message ---
Hi Andre,

On 2015-04-02 12:19, Weidner,Andre wrote:
i'm using Netdisco  2.032001. One of our switches is a Zyxel
GS1510-16 which gets recognized as "unknown/enterprises.890.5.1510"
(SNMP::Info::Layer2). I added the line "890  =>
'SNMP::Info::Layer2::Zyxel'" to
"/home/netdisco/perl5/lib/perl5/SNMP/Info.pm" in the " my
%l3sysoidmap" and " my %l2sysoidmap" sections. I restarted the
netdisco-daemon, deleted and rediscovered the device, but it still
shows up as "unknown". What changes have to be made to show the Vendor
correctly?

I'd take a look at the output of this command:

~netdisco/bin/netdisco-do show -d 1.2.3.4 -e vendor -D

It should show the device class (Layer2::Zyxel, if your change is working), and then the output of calling vendor() method on that class. You may need to edit the output of Layer2/Zyxel.pm to fix the output.

regards,
oliver.



--- End Message ---
--- Begin Message ---

ND2 version 2.032002 is on its way to CPAN with a fix.

Thanks for the bug report.

regards,
oliver.

On 2015-04-01 16:30, Oliver Gorwits wrote:
On 2015-04-01 16:08, Joseph Bernard wrote:
Maybe the AUTO value is broken. I took out “AUTO * “ and just put in
the value I wanted, and it worked.

Thanks for the confirmation Joseph, I've created a ticket for the bug
report:

https://sourceforge.net/p/netdisco/netdisco2/209/

regards,
oliver.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
i have been trying to get this program to work for about three weeks and i'm 
about to pull my hair out! i'm new to this whole concept, don't know squat 
about what i'm doing, and really need y'alls help!! 

where i'm at now:

i've tried to run the netdisco-deploy command and i get all this in response:

[netdisco@localhost ~]$ ~/bin/netdisco-deploy
Unable to parse the configuration file: 
/home/netdisco/environments/deployment.yml: YAML::XS::Load Error: The problem:

    did not find expected key

was found at document: 1, line: 15, column: 2
while parsing a block mapping at line: 11, column: 1
 at /home/netdisco/perl5/lib/perl5/Dancer/Config.pm line 233.
    
Dancer::Config::load_settings_from_yaml('/home/netdisco/environments/deployment.yml')
 called at /home/netdisco/perl5/lib/perl5/Dancer/Config.pm line 211
    Dancer::Config::load('Dancer::Config') called at 
/home/netdisco/perl5/lib/perl5/Dancer.pm line 276
    Dancer::import('Dancer', ':script') called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    App::Netdisco::Configuration::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    eval {...} called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    require App/Netdisco/Configuration.pm called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco.pm line 8
    App::Netdisco::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    eval {...} called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    require App/Netdisco.pm called at /home/netdisco/bin/netdisco-deploy line 39
    main::BEGIN() called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
    eval {...} called at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4
BEGIN failed--compilation aborted at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4.
Compilation failed in require at /home/netdisco/perl5/lib/perl5/App/Netdisco.pm 
line 8.
BEGIN failed--compilation aborted at 
/home/netdisco/perl5/lib/perl5/App/Netdisco.pm line 8.
Compilation failed in require at /home/netdisco/bin/netdisco-deploy line 39.
BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-deploy line 39.

is document 1 my deployment.yml file, and if so, line 15 shows this: 
host: 'localhost; port=5432'

I'd be grateful for any help!!
                                          

--- End Message ---
--- Begin Message ---
On Mon, Apr 6, 2015 at 7:02 AM, matthew jennings <[email protected]>
wrote:

> is document 1 my deployment.yml file, and if so, line 15 shows this:
> host: 'localhost; port=5432'
>
> I'd be grateful for any help!!
>
> What if you comment out that line and try again? I believe that is the
default so you don't need it.

Andy

--- End Message ---
--- Begin Message ---


Sorry, I replied to Matthew off-list and we discovered some inconsistent indenting in the config file.

regards,
oliver.


On 2015-04-07 01:25, Andy Ruhl wrote:
On Mon, Apr 6, 2015 at 7:02 AM, matthew jennings
<[email protected] [1]> wrote:

is document 1 my deployment.yml file, and if so, line 15 shows this:

host: 'localhost; port=5432'

I'd be grateful for any help!!

What if you comment out that line and try again? I believe that is the
default so you don't need it.

Andy


Links:
------
[1] mailto:[email protected]




--- End Message ---
--- Begin Message ---
i uncommented the "host" 'localhost; port=5432'" line and still get the error:

DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently 
unversioned. Please call upgrade on your schema to sync the DB. at 
/home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: 
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI 
connect('dbname=netdisco','netdisco',...) failed: could not connect to server: 
No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at 
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1489. at 
/home/netdisco/perl5/bin/netdisco-db-deploy line 106 at 
/home/netdisco/perl5/bin/netdisco-db-deploy line 106
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently 
unversioned. Please call upgrade on your schema to sync the DB. at 
/home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI 
connect('dbname=netdisco','netdisco',...) failed: could not connect to server: 
No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at 
/home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1489. at 
/home/netdisco/bin/netdisco-deploy line 129

you will notice the new line "Is the server running locally and accepting 
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?" after 
having uncommented the "host" 'localhost; port=5432'". 

I have also tried the advice given in this link (as so many have done it seems):
http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL

but still get the same error. perhaps i'm doing it wrong. attached is my 
pg_hba.conf.sample file

> Date: Tue, 7 Apr 2015 08:01:40 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Netdisco] unable to parse configuration file
> 
> 
> 
> Sorry, I replied to Matthew off-list and we discovered some 
> inconsistent indenting in the config file.
> 
> regards,
> oliver.
> 
> 
> On 2015-04-07 01:25, Andy Ruhl wrote:
> > On Mon, Apr 6, 2015 at 7:02 AM, matthew jennings
> > <[email protected] [1]> wrote:
> >
> >> is document 1 my deployment.yml file, and if so, line 15 shows this:
> >>
> >> host: 'localhost; port=5432'
> >>
> >> I'd be grateful for any help!!
> >
> > What if you comment out that line and try again? I believe that is 
> > the
> > default so you don't need it.
> >
> > Andy
> >
> >
> > Links:
> > ------
> > [1] mailto:[email protected]
> 
> 
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
                                          

Attachment: pg_hba.conf.sample
Description: Binary data


--- End Message ---
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to