Sha256: e17cf28e02aecf0bb6bcd74641922238b88c35744c13c2080de3e2f19671a97a
Contents?: true
Size: 848 Bytes
Versions: 1
Compression:
Stored size: 848 Bytes
Contents
#!/usr/bin/env ruby #encoding: utf-8 require 'trollop' require 'yaml' require 'configatron' require 'logger' require 'resolv' require 'sequel' 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) riemann = get_riemann(configatron) start_plugins( Riemann::Babbler.registered_plugins, riemann, logger, configatron )
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
riemann-babbler-0.6.4 | bin/riemann-babbler |