Sha256: fb00d351362e6a1676da5e770481e783e38e1741e20c47b5a6249b17cfdd1ac9

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 Bytes

Contents

module Nagios

  DEFAULT = { 
    :nagios_cfg_glob => ENV['NAGIOS_CFG_FILE'] || 
    [
     "/etc/nagios*/nagios.cfg", 
     "/usr/local/nagios/etc/nagios.cfg"
    ]
  }

end

require 'nagios/config'
require 'nagios/external_commands'
require 'nagios/objects'
require 'nagios/status'

class String
  unless method_defined?("each")
    alias_method :each, :each_line
  end
end
$: << File.dirname(__FILE__)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-nagios-0.5.0 lib/nagios.rb
ruby-nagios-0.4.0 lib/nagios.rb
ruby-nagios-0.3.0 lib/nagios.rb
ruby-nagios-0.2.2 lib/nagios.rb
ruby-nagios-0.2.0 lib/nagios.rb
ruby-nagios-0.1.0 lib/nagios.rb