summaryrefslogtreecommitdiff
path: root/lib/oxidized/config/bootstrap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/config/bootstrap.rb')
-rw-r--r--lib/oxidized/config/bootstrap.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/oxidized/config/bootstrap.rb b/lib/oxidized/config/bootstrap.rb
index 6d865b5..bae2b70 100644
--- a/lib/oxidized/config/bootstrap.rb
+++ b/lib/oxidized/config/bootstrap.rb
@@ -4,13 +4,16 @@ module Oxidized
CFG.username = 'username'
CFG.password = 'password'
CFG.model = 'junos'
- CFG.interval = 60
+ CFG.interval = 3600
CFG.log = File.join Config::Root, 'log'
CFG.debug = false
CFG.threads = 30
CFG.timeout = 5
- CFG.prompt = /^([\w\.\-@]{3,30}[#>]\s?)$/
+ CFG.prompt = /^([\w.@-]+[#>]\s?)$/
CFG.rest = 8888
+ CFG.vars = {
+ :enable => 'enablePW',
+ }
CFG.input = {
:default => 'ssh, telnet',
}