summaryrefslogtreecommitdiff
path: root/lib/oxidized/config.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-08-08 21:25:18 +0300
committerSaku Ytti <saku@ytti.fi>2014-08-08 21:25:18 +0300
commit96d6c0213178241ab3170141906c152c6984e446 (patch)
treedc5168d8dd2beebba56e4c9b9131da173727ce40 /lib/oxidized/config.rb
parenta2df4cabc72383936f215b766311b159e6800a17 (diff)
Support creating session log of telnet/ssh
If you have input: debug: session_log Then session_log-telnet and session_log-ssh will be created showing what the telnet/ssh saw. Helpful in model development.
Diffstat (limited to 'lib/oxidized/config.rb')
-rw-r--r--lib/oxidized/config.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index b7fd008..ddfde81 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -29,7 +29,8 @@ module Oxidized
CFGS.default.vars = {} # could be 'enable'=>'enablePW'
CFGS.default.groups = {} # group level configuration
- CFGS.default.input.default = 'ssh, telnet'
+ CFGS.default.input.default = 'ssh, telnet'
+ CFGS.default.input.debug = false # or String for session log file
CFGS.default.input.ssh.secure = false # complain about changed certs
CFGS.default.output.default = 'file' # file, git