summaryrefslogtreecommitdiff
path: root/lib/oxidized/config.rb
diff options
context:
space:
mode:
authormsil <michael.silas@sohonet.com>2018-09-07 11:13:46 +0100
committerytti <saku@ytti.fi>2018-09-07 13:13:46 +0300
commit921a4a201b6ec12864a24310d669e07ce0a57c4e (patch)
tree79fab26b0eee52afa45a88230bd9cee2782daf84 /lib/oxidized/config.rb
parent40cd2ec8986d6c2040c725df8f6f84901cef6f2c (diff)
Add configurable crashfile location and option to use hostnames
PR #1506
Diffstat (limited to 'lib/oxidized/config.rb')
-rw-r--r--lib/oxidized/config.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index 115e035..25c689a 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -35,6 +35,9 @@ module Oxidized
asetus.default.models = {} # model level configuration
asetus.default.pid = File.join(Oxidized::Config::Root, 'pid')
+ asetus.default.crash.directory = File.join(Oxidized::Config::Root, 'crashes')
+ asetus.default.crash.hostnames = false
+
asetus.default.stats.history_size = 10
asetus.default.input.default = 'ssh, telnet'
asetus.default.input.debug = false # or String for session log file