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: Deployment not working (Basti S.)
   2. SSH Collector Testing? (Jim Araujo)
   3. Re: SSH Collector Testing? (Oliver Gorwits)
--- Begin Message ---
Hello Christian,

I presumed that this would be a problem - ok, good to know!

I got it working in the meantime.
In the deployment.yml I activated the "host" parameter for the database and
put in 127.0.0.1 here.

What do you think about that?

KR
Bastian

Am Mi., 10. Nov. 2021 um 13:04 Uhr schrieb Christian Ramseyer <
ramse...@netnea.com>:

> Hi
>
> Peer authentication matches the OS username to the database username
> (netdisco), but it seems like your Linux user is called "sa-netdisco" so
> there is not match. You need to replace the peer authentication for the
> netdisco database on local connections to something else, e.g.
> scram-sha-256, md5 or trust. Post your pg_hba.conf if you can't get it to
> work.
>
> Cheers
> Christian
>
> On 10.11.21 08:50, Basti S. wrote:
>
> Hello community,
>
> I want to install a second Netdisco instance and stuck in the Deploy step
> with this error:
>
> Would you like to deploy the database schema? [y/N]: y
>
> DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
> unversioned. Please call upgrade on your                          schema to
> sync the DB. at /home/sa-netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
>
> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed:
> DBIx::Class::Storage::DBI::catch {...} ():                          DBI
> Connection failed: DBI connect('dbname=netdisco','netdisco',...) failed:
> FATAL:  Peer authentication fa                         iled for user
> "netdisco" at /home/sa-netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm
> line 1639. at /home/
> sa-netdisco/perl5/bin/netdisco-db-deploy line 110 at
> /home/sa-netdisco/perl5/bin/netdisco-db-deploy line 110
>
> 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/sa-netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
>
> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
> connect('dbname=netdisco','netdisco',.                         ..) failed:
> FATAL:  Peer authentication failed for user "netdisco" at
> /home/sa-netdisco/perl5/lib/perl5/DBIx
> /Class/Storage/DBI.pm line 1639. at
> /home/sa-netdisco/perl5/lib/perl5/App/Netdisco/Util/Statistics.pm line 3
>
>
>
> I tested the connection to the database with psql and the netdisco user
> and password, but it was only working when I also added "-h 127.0.0.1".
>
> Otherwise I get the same error: "failed: FATAL:  Peer authentication
> failed for user..."
>
>
> I have already checked the pg_hba.conf, seems to be correct.
>
>
> What else can I try?
>
>
> Thanks in advance!
>
>
> Regards,
>
> Bastian
>
>
> _______________________________________________
> Netdisco mailing 
> listnetdisco-users@lists.sourceforge.nethttps://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
> --
> Christian Ramseyer, netnea ag
> Network Management. Security. OpenSource.
> Phone: +41 79 644 77 64
> Teams: ramse...@netnea.onmicrosoft.com
>
>

--- End Message ---
--- Begin Message --- Hello netdisco team! First off great work on this app, it is incredible. SNMPv3 seems to work correctly, however when I create a new stanza for SSH collection for devices like BigIP, PaloAlto, and NXOS is there a way to test if they are working? On the web gui these particular devices do not show any information under Addresses, nor anything under Ports...I am hoping to get this working as we have a large F5 environment and would be helpful to be able to search for IPs that the F5 or PaloAlto owns.

Thanks again!

--
-Jim




--- End Message ---
--- Begin Message ---
Hi Jim

Good question. I think at the command line you can do something like this
to run the SSH ARP collection. It's not so much a test of the connection as
doing the full thing, but will show any failure immediately to you.

~netdisco/bin/netdisco-do arpnip::nodes -d 1.2.3.4 -D

regards,
oliver.

On Wed, 10 Nov 2021 at 13:43, Jim Araujo <jimara...@gmail.com> wrote:

> Hello netdisco team! First off great work on this app, it is incredible.
> SNMPv3 seems to work correctly, however when I create a new stanza for
> SSH collection for devices like BigIP, PaloAlto, and NXOS is there a way
> to test if they are working? On the web gui these particular devices do
> not show any information under Addresses, nor anything under Ports...I
> am hoping to get this working as we have a large F5 environment and
> would be helpful to be able to search for IPs that the F5 or PaloAlto owns.
>
> Thanks again!
>
> --
> -Jim
>
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to