82 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
#
 | 
						|
# NETDISCO 2 CONFIGURATION FILE
 | 
						|
#
 | 
						|
# Settings in this file override share/config.yml
 | 
						|
# See App::Netdisco::Manual::Configuration for more info.
 | 
						|
 | 
						|
# ------------------
 | 
						|
# ESSENTIAL SETTINGS
 | 
						|
# ------------------
 | 
						|
 | 
						|
database:
 | 
						|
  name: 'netdisco'
 | 
						|
  user: 'changeme'
 | 
						|
  pass: 'changeme'
 | 
						|
  #host: 'localhost'
 | 
						|
 | 
						|
# --------------------
 | 
						|
# RECOMMENDED SETTINGS
 | 
						|
# --------------------
 | 
						|
 | 
						|
# set to false if you MUST maintain backwards compatibility
 | 
						|
# with Netdisco 1.x web frontend.
 | 
						|
# `````````````````````````````````````````````````````````
 | 
						|
safe_password_store: true
 | 
						|
 | 
						|
# will be stripped from fqdn when displayed in the web UI
 | 
						|
# also, do not forget the leading dot.
 | 
						|
# ```````````````````````````````````````````````````````
 | 
						|
#domain_suffix: '.example.com'
 | 
						|
 | 
						|
# SNMP community string(s)
 | 
						|
# ````````````````````````
 | 
						|
snmp_auth:
 | 
						|
  - tag: 'v2default'
 | 
						|
    community: 'public'
 | 
						|
    read: true
 | 
						|
    write: false
 | 
						|
#  - tag: 'v2default_w'
 | 
						|
#    community: 'private'
 | 
						|
#    read: false
 | 
						|
#    write: true
 | 
						|
 | 
						|
# daemon will keep netdisco up to date on this schedule
 | 
						|
# `````````````````````````````````````````````````````
 | 
						|
#schedule:
 | 
						|
#  discoverall:
 | 
						|
#    when: '5 7 * * *'
 | 
						|
#  macwalk:
 | 
						|
#    when:
 | 
						|
#      min: 20
 | 
						|
#  arpwalk:
 | 
						|
#    when:
 | 
						|
#      min: 50
 | 
						|
#  nbtwalk:
 | 
						|
#    when: '0 8,13,21 * * *'
 | 
						|
#  expire:
 | 
						|
#    when: '20 23 * * *'
 | 
						|
 | 
						|
# number of SNMP pollers to run in parallel (in netdisco-daemon)
 | 
						|
# ``````````````````````````````````````````````````````````````
 | 
						|
workers:
 | 
						|
  pollers: 10
 | 
						|
 | 
						|
# amount parallel DNS resolution for node names
 | 
						|
# `````````````````````````````````````````````
 | 
						|
dns:
 | 
						|
  max_outstanding: 50
 | 
						|
 | 
						|
# do not discover IP Phones or Wireless Access Points.
 | 
						|
# usually these are visible as device neighbors but don't support
 | 
						|
# SNMP, which just clogs up the job queue.
 | 
						|
# ```````````````````````````````````````````````````````````````
 | 
						|
discover_no_type:
 | 
						|
  - '(?i)phone'
 | 
						|
  - '(?i)(?:wap|wireless)'
 | 
						|
 | 
						|
# set to true to globally disable authentication/login.
 | 
						|
# create a user called "guest" if you want to assign port/admin rights.
 | 
						|
# `````````````````````````````````````````````````````````````````````
 | 
						|
#no_auth: false
 | 
						|
 |