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

View File

@@ -18,11 +18,6 @@ database:
# 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.
# ```````````````````````````````````````````````````````
@@ -40,6 +35,15 @@ device_auth:
# read: false
# write: true
# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
# ¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸
# ---------------------------------------------------------------
# OTHER INTERESTING SETTINGS WHERE THE DEFAULTS ARE PROBABLY OKAY
# ---------------------------------------------------------------
# this is the schedule for automatically keeping netdisco up-to-date
# ``````````````````````````````````````````````````````````````````
#schedule:
@@ -54,15 +58,15 @@ device_auth:
# nbtwalk:
# when: '0 8,13,21 * * *'
# expire:
# when: '20 23 * * *'
# when: '30 23 * * *'
# 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)'
#discover_no_type:
# - '(?i)phone'
# - '(?i)(?:wap|wireless)'
# number of SNMP workers to run in parallel (in netdisco-backend).
# the default is twice the number of CPU cores. increase this if
@@ -81,3 +85,8 @@ discover_no_type:
# `````````````````````````````````````````````````````````````````````
#no_auth: false
# set to false if you MUST maintain backwards compatibility
# with Netdisco 1.x web frontend.
# `````````````````````````````````````````````````````````
#safe_password_store: true