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: HELP! Job skipped: have not yet primed skiplist (Ye Xiong)
--- Begin Message ---
Hi Oliver,

Thanks for the hints.

All the jobs are running well except some macsuck jobs with the error msg 
:Can't call method "new" on an undefined value at 
/home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 219, 
<__ANONIO__> line 1.
I don't think that is a big problem since I manually add the macsuck jobs for 
the same devices, the error was gone.
Thanks for your help!
Have a good one!

Thanks,
Ye
________________________________
From: Oliver Gorwits <oli...@cpan.org>
Sent: Saturday, November 11, 2023 3:45 AM
To: Ye Xiong <ye.xi...@concordia.ca>
Cc: netdisco-users@lists.sourceforge.net <netdisco-users@lists.sourceforge.net>
Subject: Re: [Netdisco] HELP! Job skipped: have not yet primed skiplist


Attention This email originates from outside the concordia.ca domain. // Ce 
courriel provient de l'extérieur du domaine de concordia.ca



I’m sorry, I don’t know much about LDAP! Perhaps someone else on the list can 
help or you can search the archives.

You can also look in the logs folder for errors.

Oliver.

On Fri, 10 Nov 2023 at 20:17, Ye Xiong 
<ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>> wrote:
Hi Oliver,

I added the ldap server settings as follows:
ldap:
   servers:
     - 'mydomain.ldapserver.ca:636<http://mydomain.ldapserver.ca:636/>'
   user_string: 'concordia\%USER%'
   proxy_user: "domain\testuser"
   proxy_pass: "password"
   opts:
     debug: 3

But once I apply those lines, the web restarted which is normal and the 
netdisco login page didn't load. Is there something wrong with the settings?

Thanks,
Ye

________________________________
From: Oliver Gorwits <oli...@cpan.org<mailto:oli...@cpan.org>>
Sent: Friday, November 10, 2023 2:38 AM
To: Michael Butash <mich...@butash.net<mailto:mich...@butash.net>>; Ye Xiong 
<ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>>; 
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
 
<netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>>
Subject: Re: [Netdisco] HELP! Job skipped: have not yet primed skiplist


Attention This email originates from outside the 
concordia.ca<http://concordia.ca/> domain. // Ce courriel provient de 
l'extérieur du domaine de concordia.ca<http://concordia.ca/>



yes feel free to add request(s) to 
https://github.com/netdisco/netdisco/issues/955

many thanks!

On Fri, 10 Nov 2023 at 05:56, Michael Butash 
<mich...@butash.net<mailto:mich...@butash.net>> wrote:
Hi Ye, make your user manually first in User Admin, and set it to be tacacs for 
the auth type in user there, should work for you having done so myself at a 
prior customer.  Unfortunately there's a chicken and egg problem for 
tacacs/radius the user has to exist first, so it does not work for unknown 
dynamic users.

It's a long-term wishlist of mine to have some VSA/AV-Pair Authorization match 
to a role to allow for dynamic radius/tacacs users...

-mb


On Thu, Nov 9, 2023 at 10:29 AM Ye Xiong 
<ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>> wrote:
Hi Oliver,

Yes, the command works as well as restarting the backend. Thanks so much for 
that.

And I have another question I dont know if I could ask in the same email 
conversation.

We have a tacacs server running in the environment, and I added some line like 
this in the deployment.yml:

tacacs:
  server: '10.xx.xxx.xxx'
  key: 'sharedkeyoftacacsauthentication'

But I can not make user login with tacacs password.

And I realized that I might need to add the users tagged as tacacs 
authentication in the user management in the webgui, which I cant find that 
option. Could you please let me know how to add user using tacacs login?

Many thanks,

Ye

________________________________
From: Oliver Gorwits <oli...@cpan.org<mailto:oli...@cpan.org>>
Sent: Thursday, November 9, 2023 11:14 AM
To: Ye Xiong <ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>>; 
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
 
<netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>>
Subject: Re: [Netdisco] HELP! Job skipped: have not yet primed skiplist


Attention This email originates from outside the 
concordia.ca<http://concordia.ca/> domain. // Ce courriel provient de 
l'extérieur du domaine de concordia.ca<http://concordia.ca/>



Thanks for the update Ye

What you can also do is run the following command which might unstick things:

~/bin/netdisco-do primeskiplist -D

The primeskiplist job is run when the backend server restarts and needs to be 
done to allow the *walk jobs to run. I guess you could also just restart the 
backend, but running the command like this with Debug will show any problem it 
has.

regards
Oliver

On Thu, 9 Nov 2023 at 15:30, Ye Xiong 
<ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>> wrote:
Hi Oliver,

Thanks for your quick response.

We currently have 476 devices on record and the backend server is running. I 
can run individual job like macsuck on devices like you said but dicoverall 
macwalk, arpwalk all have the same msg shown on the job queue. I will wait for 
couple of days and see any differeces.


Many thanks,

Ye


________________________________
From: Oliver Gorwits <oli...@cpan.org<mailto:oli...@cpan.org>>
Sent: Thursday, November 9, 2023 9:46 AM
To: Ye Xiong <ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>>; 
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
 
<netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>>
Subject: Re: [Netdisco] HELP! Job skipped: have not yet primed skiplist


Attention This email originates from outside the 
concordia.ca<http://concordia.ca/> domain. // Ce courriel provient de 
l'extérieur du domaine de concordia.ca<http://concordia.ca/>



Hi Ye,

How many devices have you in the database? This message should only appear 
briefly, especially if the number is small.

Is the backend server running? You should be able to run individual jobs but 
the *walk jobs like discoverall, macwalk, arpwalk will need to wait a bit.

If you think this behaviour is not working, please open a ticket here for us to 
look in depth: https://github.com/netdisco/netdisco/issues/new

regards
Oliver.

On Thu, 9 Nov 2023 at 14:40, Ye Xiong 
<ye.xi...@concordia.ca<mailto:ye.xi...@concordia.ca>> wrote:
Hi there,

I am a new user of netdisco and deployed an instance on a Ubuntu VM:
Software
Version


App::Netdisco<http://netdisco.org/>
2.68.0


SNMP::Info<https://github.com/netdisco/snmp-info>
3.95


DB Schema<https://metacpan.org/module/netdisco-db-deploy>
83


PostgreSQL<http://www.postgresql.org/>
14.00.9


Perl<http://www.perl.org/>
5.34.0



And I found the discover, macwalk and some other jobs have the same message: 
have not yet primed skiplist. Please give some advice how to resolve it.

Many thanks,

Ye
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net<mailto:netdisco-users@lists.sourceforge.net>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
_______________________________________________
Netdisco mailing list
netdisco-users@lists.sourceforge.net<mailto: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