make scheduler config default/automatic

This commit is contained in:
Oliver Gorwits
2017-11-28 21:43:32 +00:00
parent 629b046a94
commit 00b92f8f55
2 changed files with 34 additions and 23 deletions

View File

@@ -139,7 +139,9 @@ devices_no: []
devices_only: [] devices_only: []
discover_no: [] discover_no: []
discover_only: [] discover_only: []
discover_no_type: [] discover_no_type:
- '(?i)phone'
- '(?i)(?:wap|wireless)'
discover_min_age: 0 discover_min_age: 0
macsuck_no: [] macsuck_no: []
macsuck_only: [] macsuck_only: []
@@ -225,19 +227,19 @@ dns:
hosts_file: '/etc/hosts' hosts_file: '/etc/hosts'
no: ['group:__LOCAL_ADDRESSES__','169.254.0.0/16'] no: ['group:__LOCAL_ADDRESSES__','169.254.0.0/16']
#schedule: schedule:
# discoverall: discoverall:
# when: '5 7 * * *' when: '5 7 * * *'
# macwalk: macwalk:
# when: when:
# min: 20 min: 20
# arpwalk: arpwalk:
# when: when:
# min: 50 min: 50
# nbtwalk: nbtwalk:
# when: '0 8,13,21 * * *' when: '0 8,13,21 * * *'
# expire: expire:
# when: '20 23 * * *' when: '30 23 * * *'
job_prio: job_prio:
high: high:

View File

@@ -18,11 +18,6 @@ database:
# RECOMMENDED SETTINGS # 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 # will be stripped from fqdn when displayed in the web UI
# also, do not forget the leading dot. # also, do not forget the leading dot.
# ``````````````````````````````````````````````````````` # ```````````````````````````````````````````````````````
@@ -40,6 +35,15 @@ device_auth:
# read: false # read: false
# write: true # write: true
# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
# ---------------------------------------------------------------
# OTHER INTERESTING SETTINGS WHERE THE DEFAULTS ARE PROBABLY OKAY
# ---------------------------------------------------------------
# this is the schedule for automatically keeping netdisco up-to-date # this is the schedule for automatically keeping netdisco up-to-date
# `````````````````````````````````````````````````````````````````` # ``````````````````````````````````````````````````````````````````
#schedule: #schedule:
@@ -54,15 +58,15 @@ device_auth:
# nbtwalk: # nbtwalk:
# when: '0 8,13,21 * * *' # when: '0 8,13,21 * * *'
# expire: # expire:
# when: '20 23 * * *' # when: '30 23 * * *'
# do not discover IP Phones or Wireless Access Points. # do not discover IP Phones or Wireless Access Points.
# usually these are visible as device neighbors but don't support # usually these are visible as device neighbors but don't support
# SNMP, which just clogs up the job queue. # SNMP, which just clogs up the job queue.
# ``````````````````````````````````````````````````````````````` # ```````````````````````````````````````````````````````````````
discover_no_type: #discover_no_type:
- '(?i)phone' # - '(?i)phone'
- '(?i)(?:wap|wireless)' # - '(?i)(?:wap|wireless)'
# number of SNMP workers to run in parallel (in netdisco-backend). # number of SNMP workers to run in parallel (in netdisco-backend).
# the default is twice the number of CPU cores. increase this if # the default is twice the number of CPU cores. increase this if
@@ -81,3 +85,8 @@ discover_no_type:
# ````````````````````````````````````````````````````````````````````` # `````````````````````````````````````````````````````````````````````
#no_auth: false #no_auth: false
# set to false if you MUST maintain backwards compatibility
# with Netdisco 1.x web frontend.
# `````````````````````````````````````````````````````````
#safe_password_store: true