suggest default housekeeping

This commit is contained in:
Oliver Gorwits
2013-08-24 15:44:20 +01:00
parent 91b985bf0a
commit c968f2ec96
3 changed files with 42 additions and 15 deletions

View File

@@ -425,7 +425,7 @@ Value: Settings Tree. Default:
workers: workers:
interactives: 2 interactives: 2
pollers: 2 pollers: 5
sleep_time: 2 sleep_time: 2
Control the activity of the backend daemon with this configuration setting. Control the activity of the backend daemon with this configuration setting.
@@ -540,6 +540,12 @@ Value: String. Default: C<Netdisco>.
Don't touch this. Don't touch this.
=head3 C<behind_proxy>
Value: Boolean. Default: C<false>.
There's no need to touch this. See deployment documentation for how to proxy.
=head1 UNSUPPORTED (SO FAR) =head1 UNSUPPORTED (SO FAR)
These settings are from Netdisco 1.x but are yet to be supported in Netdisco These settings are from Netdisco 1.x but are yet to be supported in Netdisco

View File

@@ -10,7 +10,6 @@
# ---------------- # ----------------
log: 'warning' log: 'warning'
logger: 'console'
logger_format: '[%P] %L @%D> %m' logger_format: '[%P] %L @%D> %m'
# ------------ # ------------
@@ -19,8 +18,19 @@ logger_format: '[%P] %L @%D> %m'
domain_suffix: '' domain_suffix: ''
no_auth: false no_auth: false
suggest_guest: false
trust_remote_user: false
trust_x_remote_user: false
#ldap:
# servers: []
# user_string: 'MYDOMAIN\%USER%'
# base: ''
# proxy_user: ''
# proxy_pass: ''
# opts:
# debug: 3
# tls_opts: {}
path: '/' path: '/'
behind_proxy: false
web_plugins: web_plugins:
- Inventory - Inventory
- Report::PortUtilization - Report::PortUtilization
@@ -40,15 +50,6 @@ web_plugins:
- Device::Addresses - Device::Addresses
web_plugins_extra: [] web_plugins_extra: []
# authN and authZ controls from the database
plugins:
Auth::Extensible:
no_default_pages: true
realms:
users:
provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
schema_name: 'netdisco'
# ------------- # -------------
# NETDISCO CORE # NETDISCO CORE
# ------------- # -------------
@@ -97,7 +98,7 @@ no_port_control: false
workers: workers:
interactives: 2 interactives: 2
pollers: 2 pollers: 5
sleep_time: 2 sleep_time: 2
#housekeeping: #housekeeping:
@@ -108,7 +109,9 @@ workers:
# min: 30 # min: 30
# macwalk: # macwalk:
# when: # when:
# min: 15
# hour: '*/2' # hour: '*/2'
# wday: 'mon-fri'
# --------------- # ---------------
# DANCER INTERNAL # DANCER INTERNAL
@@ -117,6 +120,7 @@ workers:
charset: 'UTF-8' charset: 'UTF-8'
warnings: false warnings: false
show_errors: false show_errors: false
logger: 'console'
engines: engines:
template_toolkit: template_toolkit:
encoding: 'utf8' encoding: 'utf8'
@@ -124,8 +128,15 @@ engines:
end_tag: '%]' end_tag: '%]'
PRE_CHOMP: 1 PRE_CHOMP: 1
layout: 'main' layout: 'main'
plugins:
Auth::Extensible:
no_default_pages: true
realms:
users:
provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
schema_name: 'netdisco'
session: 'YAML' session: 'YAML'
template: 'template_toolkit' template: 'template_toolkit'
route_cache: true route_cache: true
appname: 'Netdisco' appname: 'Netdisco'
behind_proxy: false

View File

@@ -28,9 +28,19 @@ database:
# community: ['public'] # community: ['public']
# community_rw: ['private'] # community_rw: ['private']
# if unset, Netdisco loads all MIBs in mibhome directory. # when not set, Netdisco loads all MIBs in mibhome directory.
# mibdirs: # mibdirs:
# - cisco # - cisco
# - rfc # - rfc
# - net-snmp # - net-snmp
# housekeeping:
# discoverall:
# when: '5 7 * * *'
# macwalk:
# when:
# min: 20
# arpwalk:
# when:
# min: 50