diff options
Diffstat (limited to 'lib/oxidized/config')
-rw-r--r-- | lib/oxidized/config/bootstrap.rb | 4 | ||||
-rw-r--r-- | lib/oxidized/config/defaults.rb | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/oxidized/config/bootstrap.rb b/lib/oxidized/config/bootstrap.rb index 2991fa3..c3ea09d 100644 --- a/lib/oxidized/config/bootstrap.rb +++ b/lib/oxidized/config/bootstrap.rb @@ -4,10 +4,10 @@ module Oxidized CFG.username = 'username' CFG.password = 'password' CFG.model = 'junos' - CFG.interval = 30 + CFG.interval = 60 CFG.log = File.join Config::Root, 'log' CFG.debug = false - CFG.threads = 10 + CFG.threads = 30 CFG.timeout = 5 CFG.prompt = /^([\w\.\-@]{3,30}[#>]\s?)$/ CFG.rest = 8888 diff --git a/lib/oxidized/config/defaults.rb b/lib/oxidized/config/defaults.rb index 943d90b..d189ca3 100644 --- a/lib/oxidized/config/defaults.rb +++ b/lib/oxidized/config/defaults.rb @@ -1,6 +1,7 @@ module Oxidized class Config Root = File.join ENV['HOME'], '.config', 'oxidized' + Crash = File.join Root, 'crash' InputDir = File.join Directory, %w(lib oxidized input) OutputDir = File.join Directory, %w(lib oxidized output) ModelDir = File.join Directory, %w(lib oxidized model) |