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:
interactives: 2
pollers: 2
pollers: 5
sleep_time: 2
Control the activity of the backend daemon with this configuration setting.
@@ -540,6 +540,12 @@ Value: String. Default: C<Netdisco>.
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)
These settings are from Netdisco 1.x but are yet to be supported in Netdisco

View File

@@ -10,7 +10,6 @@
# ----------------
log: 'warning'
logger: 'console'
logger_format: '[%P] %L @%D> %m'
# ------------
@@ -19,8 +18,19 @@ logger_format: '[%P] %L @%D> %m'
domain_suffix: ''
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: '/'
behind_proxy: false
web_plugins:
- Inventory
- Report::PortUtilization
@@ -40,15 +50,6 @@ web_plugins:
- Device::Addresses
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
# -------------
@@ -97,7 +98,7 @@ no_port_control: false
workers:
interactives: 2
pollers: 2
pollers: 5
sleep_time: 2
#housekeeping:
@@ -108,7 +109,9 @@ workers:
# min: 30
# macwalk:
# when:
# min: 15
# hour: '*/2'
# wday: 'mon-fri'
# ---------------
# DANCER INTERNAL
@@ -117,6 +120,7 @@ workers:
charset: 'UTF-8'
warnings: false
show_errors: false
logger: 'console'
engines:
template_toolkit:
encoding: 'utf8'
@@ -124,8 +128,15 @@ engines:
end_tag: '%]'
PRE_CHOMP: 1
layout: 'main'
plugins:
Auth::Extensible:
no_default_pages: true
realms:
users:
provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
schema_name: 'netdisco'
session: 'YAML'
template: 'template_toolkit'
route_cache: true
appname: 'Netdisco'
behind_proxy: false

View File

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