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: 1st device discovery fails (Dominik M?ller)
--- Begin Message ---
No Problem,

Glad i could help :)

> Am 31.08.2021 um 20:29 schrieb Shravan Hulyalkar <shravanhulyal...@gmail.com>:
> 
> 
> Thank you Dominik. That did work and I was able to discover my first device. 
> 
> Thank you Eric for the snmpwalk command as well. Super helpful :D 
> 
> 
>> On Tue, Aug 31, 2021 at 11:21 AM Dominik Müller <mue...@t-online.de> wrote:
>> Okay, 
>> 
>> so when i see it right there are no snmp credentials within the yml file.
>> 
>> You have to insert the arista community here:
>> 
>>> device_auth:
>>>   - tag: 'default_v2_readonly'
>>>     community: 'arista'
>>>     read: true
>>>     write: false
>> 
>> BR
>> 
>> Dominik
>> 
>>>> Am 31.08.2021 um 20:03 schrieb Shravan Hulyalkar 
>>>> <shravanhulyal...@gmail.com>:
>>>> 
>>> 
>>> I also thought the same thing. But i wasnt sure where to put the 
>>> credentials for snmp. 
>>> I have the following on the switch right now. 
>>> snmp-server community arista ro
>>> 
>>> 
>>> Here is the deployment.yml
>>> #
>>> # NETDISCO 2 CONFIGURATION FILE
>>> #
>>> # Settings in this file override share/config.yml
>>> #
>>> # https://github.com/netdisco/netdisco/wiki/Configuration has
>>> # in depth explanations about each setting.
>>> 
>>> # ------------------
>>> # ESSENTIAL SETTINGS
>>> # ------------------
>>> 
>>> database:
>>>   name: 'postgres'
>>>   user: 'netdisco'
>>>   pass: '*****'
>>>   #host: '10.125.0.155'
>>> 
>>> # --------------------
>>> # RECOMMENDED SETTINGS
>>> # --------------------
>>> 
>>> # Device authentication settings
>>> # define snmp communities and ssh credentials here
>>> # ````````````````````````````````````````````````
>>> device_auth:
>>>   - tag: 'default_v2_readonly'
>>>     community: 'public'
>>>     read: true
>>>     write: false
>>> #  - tag: 'default_v2_for_write'
>>> #    community: 'private'
>>> #    read: false
>>> #    write: true
>>> 
>>> # will be stripped from fqdn when displayed in the web UI
>>> # also, do not forget the leading dot.
>>> # ```````````````````````````````````````````````````````
>>> domain_suffix: ['example.corp']
>>> 
>>> 
>>> # ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
>>> #
>>> # SOME MORE INTERESTING SETTINGS WHERE THE DEFAULTS ARE PROBABLY OKAY
>>> #
>>> # ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
>>> 
>>> 
>>> # discover Wireless Access Points, but not IP Phones
>>> # usually these are visible as device neighbors but don't support
>>> # SNMP, which just clogs up the job queue.
>>> # ```````````````````````````````````````````````````````````````
>>> #discover_waps: true
>>> #discover_phones: false
>>> 
>>> # this is the schedule for automatically keeping netdisco up-to-date;
>>> # these are good defaults, so only uncomment if needing to change.
>>> # (or set "schedule: null" if you wish to disable the scheduler)
>>> # ````````````````````````````````````````````````````````````````````
>>> #schedule:
>>> #  discoverall:
>>> #    when: '5 7 * * *'
>>> #  macwalk:
>>> #    when:
>>> #      min: 20
>>> #  arpwalk:
>>> #    when:
>>> #      min: 50
>>> #  nbtwalk:
>>> #    when: '0 8,13,21 * * *'
>>> #  expire:
>>> #    when: '30 23 * * *'
>>> #  makerancidconf: null
>>> 
>>> # number of SNMP workers to run in parallel (in netdisco-backend).
>>> # the default is twice the number of CPU cores. increase this if
>>> # your system has few cores and the schedule is taking too long.
>>> # ```````````````````````````````````````````````````````````````
>>> #workers:
>>> #  tasks: 'AUTO * 2'
>>> 
>>> # number of parallel DNS queries for node names
>>> # `````````````````````````````````````````````
>>> #dns:
>>> #  max_outstanding: 50
>>> 
>>> # set to true to globally disable authentication/login.
>>> # create a user called "guest" if you want to assign port/admin rights.
>>> # `````````````````````````````````````````````````````````````````````
>>> #no_auth: false
>>> 
>>> # set to false if you MUST maintain backwards compatibility
>>> # with Netdisco 1.x web frontend.
>>> # `````````````````````````````````````````````````````````
>>> #safe_password_store: true
>>> 
>>>> On Tue, Aug 31, 2021 at 10:46 AM Dominik Müller <mue...@t-online.de> wrote:
>>>> Seems there is a Problem with the snmp credentials or snmp is disabled on 
>>>> the switch.
>>>> 
>>>> Could you Post the content of your deployment.yml file? 
>>>> 
>>>> BR 
>>>> 
>>>> Dominik
>>>> 
>>>>>> Am 31.08.2021 um 19:32 schrieb Shravan Hulyalkar 
>>>>>> <shravanhulyal...@gmail.com>:
>>>>>> 
>>>>> 
>>>>> Hello All, 
>>>>> 
>>>>> This is my first installation and I am fairly new to this. So please bear 
>>>>> with me. 
>>>>> 
>>>>> I have added tried adding v2 and v3 SNMP versions on the switch but it 
>>>>> still didn't work. 
>>>>> 
>>>>> I also did a discovery through the bowser but luck there as well. 
>>>>> I ran the following command via the terminal :
>>>>> 
>>>>> ~/bin/netdisco-do discover -D -d 10.125.0.155
>>>>> 
>>>>> Can anyone help please tell me what I am doing wrong?
>>>>> 
>>>>> [1401566] 2021-08-31 17:14:57  info App::Netdisco version 2.049001 loaded.
>>>>> [1401566] 2021-08-31 17:14:58  info discover: [10.125.0.155] started at 
>>>>> Tue Aug 31 10:14:58 2021
>>>>> [1401566] 2021-08-31 17:14:58 debug discover: running with timeout 600s
>>>>> [1401566] 2021-08-31 17:14:58 debug => running workers for phase: check
>>>>> [1401566] 2021-08-31 17:14:58 debug -> run worker check/_base_/0
>>>>> [1401566] 2021-08-31 17:14:58 debug Discover is able to run.
>>>>> [1401566] 2021-08-31 17:14:58 debug => running workers for phase: early
>>>>> [1401566] 2021-08-31 17:14:58 debug -> run worker early/properties/100
>>>>> [1401566] 2021-08-31 17:14:58 debug snmp reader cache warm: [10.125.0.155]
>>>>> [1401566] 2021-08-31 17:14:58 debug [10.125.0.155:161] try_connect with 
>>>>> ver: 2, class: SNMP::Info, comm: <hidden>
>>>>> [1401566] 2021-08-31 17:15:02 debug [10.125.0.155:161] try_connect with 
>>>>> ver: 1, class: SNMP::Info, comm: <hidden>
>>>>> [1401566] 2021-08-31 17:15:05 debug discover failed: could not SNMP 
>>>>> connect to 10.125.0.155
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker early/properties/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker early/properties/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker early/properties/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker early/properties/100
>>>>> [1401566] 2021-08-31 17:15:05 debug => running workers for phase: main
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/canonicalip/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/entities/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/neighbors/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/neighbors/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/neighbors/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/portpower/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/portproperties/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/vlans/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/wireless/100
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker main/withnodes/0
>>>>> [1401566] 2021-08-31 17:15:05 debug => running workers for phase: late
>>>>> [1401566] 2021-08-31 17:15:05 debug -> run worker late/hooks/0
>>>>> [1401566] 2021-08-31 17:15:05 debug  [10.125.0.155] hooks - 0 queued
>>>>> [1401566] 2021-08-31 17:15:05  info discover: finished at Tue Aug 31 
>>>>> 10:15:05 2021
>>>>> [1401566] 2021-08-31 17:15:05  info discover: status defer: discover 
>>>>> failed: could not SNMP connect to 10.125.0.155
>>>>> -- 
>>>>> Thanks in advance 
>>>>> 
>>>>> Regards, 
>>>>> Shravan Hulyalkar
>>>>> (669)247-9901
>>>>> _______________________________________________
>>>>> Netdisco mailing list
>>>>> netdisco-users@lists.sourceforge.net
>>>>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>>> 
>>> 
>>> -- 
>>> 
>>> Regards, 
>>> Shravan Hulyalkar
>>> (669)247-9901
>> _______________________________________________
>> Netdisco mailing list
>> netdisco-users@lists.sourceforge.net
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
> 
> 
> -- 
> 
> Regards, 
> Shravan Hulyalkar
> (669)247-9901

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

Reply via email to