From f1287a7925901bf3518eb69079304bfb97f7434d Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sat, 20 Apr 2013 00:41:23 +0300 Subject: Example of Syslog triggered fetch 'syslog.rb' listed to UDP port (or reads file). When IOS or JunOS style config change/commit message is seen, it triggers immediate update ot config It transports commit message (junos) remote host from which change was mde (ios) and who made the change (junos+ios). This is carried over to the 'output' methods, that is, 'git blame' will show IOS/JunOS user-name who made the change. --- lib/oxidized/config/defaults.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/config/defaults.rb') 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) -- cgit v1.2.1