1# 2# NETDISCO 2 CONFIGURATION FILE 3# 4# Settings in this file override share/config.yml 5# 6# https://github.com/netdisco/netdisco/wiki/Configuration has 7# in depth explanations about each setting. 8 9# ------------------ 10# ESSENTIAL SETTINGS 11# ------------------ 12 13database: 14 name: 'netdisco' 15 user: 'changeme' 16 pass: 'changeme' 17 #host: 'localhost' 18 19# -------------------- 20# RECOMMENDED SETTINGS 21# -------------------- 22 23# Device authentication settings 24# define snmp communities and ssh credentials here 25# ```````````````````````````````````````````````` 26device_auth: 27 - tag: 'default_v2_readonly' 28 community: 'public' 29 read: true 30 write: false 31# - tag: 'default_v2_for_write' 32# community: 'private' 33# read: false 34# write: true 35 36# will be stripped from fqdn when displayed in the web UI 37# also, do not forget the leading dot. 38# ``````````````````````````````````````````````````````` 39#domain_suffix: ['.example.com'] 40 41 42# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸ 43# 44# SOME MORE INTERESTING SETTINGS WHERE THE DEFAULTS ARE PROBABLY OKAY 45# 46# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸ 47 48 49# discover Wireless Access Points, but not IP Phones 50# usually these are visible as device neighbors but don't support 51# SNMP, which just clogs up the job queue. 52# ``````````````````````````````````````````````````````````````` 53#discover_waps: true 54#discover_phones: false 55 56# this is the schedule for automatically keeping netdisco up-to-date; 57# these are good defaults, so only uncomment if needing to change. 58# (or set "schedule: null" if you wish to disable the scheduler) 59# ```````````````````````````````````````````````````````````````````` 60#schedule: 61# discoverall: 62# when: '5 7 * * *' 63# macwalk: 64# when: 65# min: 20 66# arpwalk: 67# when: 68# min: 50 69# nbtwalk: 70# when: '0 8,13,21 * * *' 71# expire: 72# when: '30 23 * * *' 73# makerancidconf: null 74 75# number of SNMP workers to run in parallel (in netdisco-backend). 76# the default is twice the number of CPU cores. increase this if 77# your system has few cores and the schedule is taking too long. 78# ``````````````````````````````````````````````````````````````` 79#workers: 80# tasks: 'AUTO * 2' 81 82# number of parallel DNS queries for node names 83# ````````````````````````````````````````````` 84#dns: 85# max_outstanding: 50 86 87# set to true to globally disable authentication/login. 88# create a user called "guest" if you want to assign port/admin rights. 89# ````````````````````````````````````````````````````````````````````` 90#no_auth: false 91 92# set to false if you MUST maintain backwards compatibility 93# with Netdisco 1.x web frontend. 94# ````````````````````````````````````````````````````````` 95#safe_password_store: true 96 97