Sha256: c96b7c51b07a2e83eee0dfd43c3cea87567a1ce22673852b2beba39ff6e2690c

Contents?: true

Size: 941 Bytes

Versions: 9

Compression:

Stored size: 941 Bytes

Contents

#!/usr/bin/env ruby
#encoding: utf-8

require 'trollop'
require 'yaml'
require 'configatron'
require 'logger'
require 'resolv'
require 'sequel'
require 'socket'

require File.expand_path('../../lib/riemann/version', __FILE__)
require File.expand_path('../../lib/start_helpers', __FILE__)

opts = Trollop::options do
  version "Riemann babbler #{Riemann::Babbler::VERSION}"
  banner <<-EOS
Riemann-babbler is plugin manager for riemann-tools.

Usage:
       riemann-babbler [options] 
where [options] are:
EOS

  opt :config, 'Config file', :default => '/etc/riemann-babbler/config.yml'
end

# logger
logger = Logger.new(STDOUT)

# start_helpers
merge_config( logger, opts, configatron )
set_logger_lvl( logger, configatron )
load_plugins( configatron )
load_gems_plugins( configatron )
riemann = get_riemann( configatron, logger )
load_parent( configatron )
start_plugins( Riemann::Babbler.registered_plugins, riemann, logger, configatron )

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
riemann-babbler-0.9.7 bin/riemann-babbler
riemann-babbler-0.9.6 bin/riemann-babbler
riemann-babbler-0.9.5 bin/riemann-babbler
riemann-babbler-0.9.4 bin/riemann-babbler
riemann-babbler-0.9.3 bin/riemann-babbler
riemann-babbler-0.9.2 bin/riemann-babbler
riemann-babbler-0.9.1 bin/riemann-babbler
riemann-babbler-0.9.0 bin/riemann-babbler
riemann-babbler-0.8.9 bin/riemann-babbler