Sha256: d7bc95bf86002901ed1ae71883b39dd82e911d707b9f406808f053b98f8eda6e

Contents?: true

Size: 1.65 KB

Versions: 36

Compression:

Stored size: 1.65 KB

Contents

module Perus
    module Pinger
        Dir.chdir(__dir__) do
            # commands
            require './pinger/command'
            require './pinger/chrome_command'
            require './pinger/commands/chrome_execute'
            require './pinger/commands/chrome_navigate'
            require './pinger/commands/chrome_reload'
            require './pinger/commands/kill_process'
            require './pinger/commands/remove_path'
            require './pinger/commands/replace'
            require './pinger/commands/restart'
            require './pinger/commands/upload'
            require './pinger/commands/upgrade'
            require './pinger/commands/script'
            require './pinger/commands/sleep'
            require './pinger/commands/upstart_start'
            require './pinger/commands/upstart_stop'
            require './pinger/commands/service_start'
            require './pinger/commands/service_stop'
            require './pinger/commands/run_installed_command'

            # metrics
            require './pinger/metrics/chrome'
            require './pinger/metrics/cpu'
            require './pinger/metrics/hd'
            require './pinger/metrics/mem'
            require './pinger/metrics/process'
            require './pinger/metrics/screenshot'
            require './pinger/metrics/temp'
            require './pinger/metrics/value'
            require './pinger/metrics/uptime'
            require './pinger/metrics/running'

            # pinger
            require './pinger/pinger'
        end

        # options file
        DEFAULT_PINGER_OPTIONS_PATH = '/etc/perus-pinger'
    end

    Pinger::Pinger.new.run if __FILE__ == $0
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
perus-1.0.7 lib/perus/pinger.rb
perus-1.0.6 lib/perus/pinger.rb
perus-1.0.5 lib/perus/pinger.rb
perus-1.0.4 lib/perus/pinger.rb
perus-1.0.3 lib/perus/pinger.rb
perus-1.0.2 lib/perus/pinger.rb
perus-1.0.1 lib/perus/pinger.rb
perus-1.0.0 lib/perus/pinger.rb
perus-0.1.35 lib/perus/pinger.rb
perus-0.1.34 lib/perus/pinger.rb
perus-0.1.33 lib/perus/pinger.rb
perus-0.1.32 lib/perus/pinger.rb
perus-0.1.31 lib/perus/pinger.rb
perus-0.1.30 lib/perus/pinger.rb
perus-0.1.29 lib/perus/pinger.rb
perus-0.1.28 lib/perus/pinger.rb
perus-0.1.27 lib/perus/pinger.rb
perus-0.1.26 lib/perus/pinger.rb
perus-0.1.25 lib/perus/pinger.rb
perus-0.1.24 lib/perus/pinger.rb